aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-20/+32
* rs6000-tdep.c (rs6000_store_struct_return): Delete function. (rs6000_push_dummy_call): Store the struct return address. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-8/+27
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace "ppc_sysv_abi_push_arguments". * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace "ppc_sysv_abi_push_arguments". * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" instead of "push_arguments". (rs6000_push_dummy_call): Replace "rs6000_push_arguments".
2003-09-09This enables the print elements limits to work with multi-dim arraysDavid Lecomber1-8/+15
in FORTRAN
2003-09-09Change array element access to something similar to way C works.David Lecomber1-5/+9
The old method would drag in the entire array, then look for the single element. This method just gets the right element out instead. Saves memory, and saves a crash for array with (*) as one of the dimensions when it would previously have allocated (unsigned int) -1 bytes.
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS instead of CALL_DUMMY_ADDRESS.
2003-09-09Correct small glitch introduced in ChangeLog by last commit.Paul N. Hilfinger1-1/+0
2003-09-092003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>Paul N. Hilfinger11-60/+74
* p-lang.c: Eliminate "register". * c-lang.c: Ditto. * expprint.c: Ditto. * f-lang.c: Ditto. * jv-lang.c: Ditto. * language.c: Ditto. * m2-lang.c: Ditto. * parse.c: Ditto. * scm-lang.c: Ditto. * objc-lang.c: Ditto.
2003-09-09Add support for v850e1 machine number.Nick Clifton2-0/+8
2003-09-092003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney22-47/+101
* avr-tdep.c: Include "dis-asm.h". * cris-tdep.c: Include "dis-asm.h". (cris_delayed_get_disassembler): Use "struct disassemble_info" instead of corresponding typedef. * h8300-tdep.c: Include "dis-asm.h". * ia64-tdep.c: Include "dis-asm.h". * i386-tdep.c: Include "dis-asm.h". (i386_print_insn): Use "struct disassemble_info" instead of corresponding typedef. * m68k-tdep.c: Include "dis-asm.h". * mcore-tdep.c: Include "dis-asm.h". * mips-tdep.c: Include "dis-asm.h". (gdb_print_insn_mips): Make static, use "struct disassemble_info" instead of corresponding typedef. * ns32k-tdep.c: Include "dis-asm.h". * s390-tdep.c: Include "dis-asm.h". * sparc-tdep.c: Include "dis-asm.h". * vax-tdep.c: Include "dis-asm.h". * v850-tdep.c: Include "dis-asm.h". * mn10300-tdep.c: Include "dis-asm.h". * rs6000-tdep.c: Include "dis-asm.h". * xstormy16-tdep.c: Include "dis-asm.h". (_initialize_xstormy16_tdep): Delete "extern" declaration of print_insn_xstormy16. * Makefile.in (v850-tdep.o): Update dependencies. (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. (gdbarch_h): Remove $(dis_asm_h). * disasm.c: Include "dis-asm.h". (dis_asm_read_memory): Use "struct disassemble_info" instead of corresponding typedef. (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. * gdbarch.sh: Do not include "dis-asm.h". (struct disassemble_info): Declare opaque. (TARGET_PRINT_INSN): Update declaration. * gdbarch.h, gdbarch.c: Re-generate.
2003-09-092003-09-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-49/+107
* gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename CALL_DUMMY_ADDRESS, change to a predicate. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. * infcall.c (call_function_by_hand): Ditto. * sparc-tdep.c (sparc_push_return_address): Ditto. (sparc_gdbarch_init): Set deprecated_call_dummy_address. * xstormy16-tdep.c (xstormy16_push_return_address): Replace CALL_DUMMY_ADDRESS with entry_point_address. * v850-tdep.c (v850_push_return_address): Ditto. * s390-tdep.c (s390_push_return_address): Ditto. * rs6000-tdep.c (ppc_push_return_address): Ditto. * mn10300-tdep.c (mn10300_push_return_address): Ditto. * mcore-tdep.c (mcore_push_return_address): Ditto. * cris-tdep.c (cris_push_return_address): Ditto. * arm-tdep.c (arm_push_return_address): Ditto.
2003-09-092003-09-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-35/+153
* dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED and REG_UNMODIFIED to REG_SAME_VALUE. (execute_cfa_program): Update. (dwarf2_frame_cache): Update. Initialize table to REG_UNSPECIFIED, complain if CFI fails to specify a register's location. (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED.
2003-09-092003-09-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-15/+20
* gnu-nat.c: Remove "inline" function attribute. * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
2003-09-09*** empty log message ***gdbadmin1-1/+1
2003-09-08 * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-VKevin Buettner2-2/+7
target.
2003-09-08Make frv-tdep.c use new frame mechanisms.Kevin Buettner3-186/+258
2003-09-08* dwarf2-frame.c (read_encoded_value): Add support forMark Kettenis2-7/+25
DW_EH_PE_aligned encoding.
2003-09-082003-09-08 Michael Chastain <mec@shout.net>Michael Chastain2-2/+10
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2003-09-08 * infrun.c (normal_stop): Don't print a message if the inferiorDaniel Jacobowitz2-3/+16
has exited.
2003-09-08* Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).Jim Blandy3-5/+20
* dbxread.c: #include "gdb_assert.h". (read_dbx_symtab): If the objfile has no .data section, use the section index for the .bss section instead.
2003-09-08 * frame.c (deprecated_safe_get_selected_frame): New function.Daniel Jacobowitz4-1/+35
* frame.h (deprecated_safe_get_selected_frame): Add prototype. * findvar.c (read_var_value): Call it.
2003-09-08 * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.Corinna Vinschen11-2539/+3055
(sh64-tdep.o): Add dependencies. * configure.tgt: Add FIXME to sh-*-linux*. * sh-tdep.c: Move sh64 support to sh64-tdep.c. (sh_gdbarch_init): Always set correct sh_show_regs function pointer. Call sh64_gdbarch_init() if machine type is sh5. * sh-tdep.h: Move sh64 support to sh64-tdep.c. * sh64-tdep.c: New file, containing all sh64 related code from sh-tdep.c. * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. * config/sh/linux.mt (TDEPFILES): Ditto. * config/sh/nbsd.mt (TDEPFILES): Ditto. * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. * config/sh/wince.mt (TDEPFILES): Ditto.
2003-09-082003-09-07 Michael Chastain <mec@shout.net>Michael Chastain2-2/+13
* gdb.cp/classes.exp: Accommodate both 'syntax error' and 'parse error'.
2003-09-08*** empty log message ***gdbadmin1-1/+1
2003-09-07 * lin-lwp.c (detach_callback): Don't call stop_wait_callback.Daniel Jacobowitz4-2/+192
(stop_wait_callback): Handle !lp->signalled also. (lin_lwp_has_pending, flush_callback): New functions. (lin_lwp_wait): Call flush_callback. * linux-proc.c (linux_proc_add_line_to_sigset): New function. (linux_proc_pending_signals): New function. * linux-nat.h (linux_proc_pending_signals): Add prototype.
2003-09-07* gdb.arch/i386-prologue.exp: Add checks for saved registers.Mark Kettenis2-0/+12
2003-09-07 From Nick Kelsey <nickk@ubicom.com>:Daniel Jacobowitz2-3/+9
* infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE when the stop PC is at the beginning of a function also.
2003-09-07 * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.Daniel Jacobowitz2-5/+14
(arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.
2003-09-07*** empty log message ***gdbadmin1-1/+1
2003-09-06* sol-thread.c: Include "gdb_string.h".Mark Kettenis2-0/+6
2003-09-06*** empty log message ***gdbadmin1-1/+1
2003-09-05*** empty log message ***gdbadmin1-1/+1
2003-09-04* gcore.c: Reorder include files in alphabetical order. IncludeMark Kettenis2-135/+148
"gdb_assert.h". Various coding style fixes. (derive_stack_segment, derive_heap_segment): Replace check for non-null BOTTOM and TOP with gdb_assert. (derive_heap_segment): Replace check for successful creation of ZERO with gdb_assert. (make_mem_sec): Use bfd_section_lma to set OSEC->lma.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-11/+53
* thread-db.c (verbose_dlsym): New function. (thread_db_load): Use verbose_dlsym (thread_db_new_objfile): Print that libthread_db was loaded, and that thread debugging was enabled.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-60/+18
* configure.tgt: Add "mips64*-*-*" target. Delete mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, mips*-sony-*, and mips64*-*-elf* targets. * config/mips/embedl.mt: Delete file. * config/mips/embedl64.mt: Delete file. * config/mips/mips.mt: Delete file. * config/mips/mips64.mt: Delete file. * config/mips/tm-embed.h: Delete file. * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". * config/mips/embed64.mt: Delete out-of-date comment.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-24/+26
* hppa-tdep.c (hppa_gdbarch_init): Set "have_nonsteppable_watchpoint". * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * mips-tdep.c (mips_dump_tdep): Do not print HAVE_NONSTEPPABLE_WATCHPOINT. (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
2003-09-04 * breakpoint.c (watchpoint_check): Remove accidentally checked inCorinna Vinschen2-12/+11
unused code. Add comment.
2003-09-04 * breakpoint.c (watchpoint_check): Check for pc being in anCorinna Vinschen2-2/+21
epilogue if watchpoint frame couldn't be found.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-31/+51
* Makefile.in: Re-generate all dependencies.
2003-09-042003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-59/+21
* arch-utils.h (legacy_print_insn): Delete declaration. * arch-utils.c (legacy_print_insn): Delete function. * disasm.c (deprecated_tm_print_insn_info): Delete. (_initialize_disasm): Delete function, contained code initializing deprecated_tm_print_insn_info. * gdbarch.sh (deprecated_tm_print_insn): Delete. (deprecated_tm_print_insn_info): Delete. (TARGET_PRINT_INSN): Do not provide a default. * gdbarch.h, gdbarch.c: Re-generate.
2003-09-04*** empty log message ***gdbadmin1-1/+1
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+23
* disasm.c (fprintf_disasm): New function. (gdb_disassemble_info): Call "init_disassemble_info", instead of INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", reverts 2003-08-14 change. (_initialize_disasm): Call "init_disassemble_info", instead of INIT_DISASSEMBLE_INFO_NO_ARCH.
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+8
* config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-16/+20
* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. * symfile.c (syms_from_objfile): Update. (reread_symbols): `Update * exec.c (exec_file_attach): Update. (exec_file_attach): Update. * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert 2003-08-29 change. * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
2003-09-03 * arm-tdep.c: Include frame-unwind.h, frame-base.h, andDaniel Jacobowitz5-331/+287
trad-frame.h. (arm_get_cache): Delete macro. (struct arm_prologue_cache): Update comments. Make saved_regs into a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp to prev_sp. (thumb_scan_prologue): Update for cache changes. Don't call DEPRECATED_PC_IN_CALL_DUMMY. (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME argument and use it in desperation search for our prologue. Do not search past the specified PC. (arm_make_prologue_cache): Simplify. (arm_prologue_this_id, arm_prologue_prev_register) (arm_prologue_unwind, arm_prologue_unwind_sniffer) (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) (arm_sigtramp_this_id, arm_sigtramp_prev_register) (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. (arm_frame_chain_valid, arm_find_callers_reg) (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) (arm_pop_frame): Delete obsolete methods. (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. (arm_gdbarch_init): Update for new frame methods. Register prologue and sigtramp unwinders. Set the default frame base method. * Makefile.in (arm-tdep.o): Update dependencies. * varobj.c (find_frame_addr_in_frame_chain): Call get_frame_base_address. * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
2003-09-03 * arm-tdep.c (arm_minimal_frame_chain): Renamed fromDaniel Jacobowitz2-61/+120
arm_frame_chain. Take NEXT_FRAME and CACHE arguments. Use the cache instead of DEPRECATED_FRAME_SAVED_PC. (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. Take NEXT_FRAME and CACHE arguments. Call FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. Set unwound_pc in CACHE instead of modifying the frame argument. Don't bother checking the frame type when looking for sigtramp frames. (arm_make_prologue_cache, arm_frame_chain) (arm_init_extra_frame_info): New functions.
2003-09-03 * arm-tdep.c (arm_get_cache): Define.Daniel Jacobowitz2-69/+84
(struct arm_prologue_cache): Renamed from frame_extra_info. Add unwound_sp, unwound_pc, and saved_regs. (thumb_scan_prologue): Take a cache instead of the frame. (arm_scan_prologue): Likewise. (arm_frame_chain): Create a temporary cache for arm_scan_prologue instead of a temporary frame. (arm_init_extra_frame_info): Allocate and use a cache. (arm_frame_saved_pc, arm_pop_frame): Use the cache.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-7/+11
* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. * config/mips/wince.mt (TM_CLIBS): Ditto. * config/sh/wince.mt (TM_CLIBS): Ditto. * config/pa/hppa64.mt (TM_CLIBS): Delete. * config/sparc/sp64.mt (CC): Delete.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney24-145/+56
* defs.h: Do not include "arch-utils.h". (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or GDB_MULTI_ARCH_PURE. * configure.in (GDB_MULTI_ARCH): Do not define. * configure, config.in: Regenerate. * configure.tgt: Do not set variable "gdb_multi_arch". * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. * config/v850/v850.mt (TM_FILE): Delete disabled definition. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
2003-09-03*** empty log message ***gdbadmin1-1/+1
2003-09-02*** empty log message ***gdbadmin1-1/+1