aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-03-272003-03-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-28/+25
* d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of push_arguments. Don't set push_return_address or write_sp. (d10v_push_dummy_call): Replace d10v_push_arguments. (d10v_push_return_address, d10v_write_sp): Delete function, handled by push_dummy_call.
2003-03-27 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.Corinna Vinschen2-1/+10
2003-03-27*** empty log message ***gdbadmin1-1/+1
2003-03-262003-03-26 Andrew Cagney <cagney@redhat.com>Andrew Cagney34-94/+257
* gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. (push_dummy_call): New pure multi-arch replacement with gdbarch, regcache and dummy_addr parameters. * gdbarch.h, gdbarch.c: Re-generate. * valops.c (hand_function_call): Use gdbarch_push_dummy_call when available; assume it will handle stack alignment and return address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and legacy_push_arguments. (legacy_push_arguments): Rename default_push_arguments. * value.h (legacy_push_arguments): Rename default_push_arguments. * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. * config/i386/tm-symmetry.h: Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * d10v-tdep.c (d10v_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * arm-linux-tdep.c (arm_linux_init_abi): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. 2003-03-26 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace PUSH_ARGUMENTS with push_dummy_call, add gdbarch, regcache and dummy_addr parameters.
2003-03-262003-03-26 Michael Chastain <mec@shout.net>Michael Chastain2-0/+7
* gdb.base/ptype.exp: Actually use some typedef'd types.
2003-03-26 * signals/signals.c (do_target_signal_to_host): Correct realtimeDaniel Jacobowitz2-12/+14
signal range test.
2003-03-26 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)Daniel Jacobowitz2-306/+8
(struct sal_chain, map_catch_names): Remove. (catch_exception_command_1): Don't call handle_gnu_4_16_catch_command.
2003-03-26 From Mark Dettinger <dettinge@de.ibm.com>:Daniel Jacobowitz2-1/+6
* dwarf2cfi.c (read_2u): Increment pointer by two.
2003-03-26 * signals/signals.c: Fix typos in last change.Daniel Jacobowitz2-2/+6
2003-03-26 * linux-low.c (linux_create_inferior): Use __SIGRTMIN.Daniel Jacobowitz2-4/+9
(linux_wait_for_event, linux_init_signals): Likewise.
2003-03-26 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define ifDaniel Jacobowitz2-49/+27
not already defined. Use __SIGRTMIN if available. (target_signal_from_host): Remove SIGRTMIN block. (do_target_signal_to_host): Remove SIGRTMIN block; check that the signal is within the realtime range.
2003-03-26* Makefile.in (infrun.o): Add $(language_h)Adam Fedor13-3/+106
* infrun.c (handle_inferior_event): Use skip_language_trampoline for language specific trampolines. * language.h (struct language_defn): Add skip_trampoline. (skip_language_trampoline): Declare. * language.c (unk_lang_trampoline, skip_language_trampoline): New functions. (unknown_language_defn, auto_language_defn, local_language_defn): Add ukn_lang_trampoline. * ada-lang.c (ada_language_defn): Add NULL for language specific skip_trampoline. * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. * objc-lang.c (objc_skip_trampoline): New function. (objc_language_defn): Add objc_skip_trampoline.
2003-03-26*** empty log message ***gdbadmin1-1/+1
2003-03-262003-03-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-32/+49
* frame.c (get_prev_frame): Delay validating a frame's ID - non-NULL, didn't go backwards - until an attempt to unwind it to the previous frame.
2003-03-252003-03-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-42/+58
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. * sparc-tdep.c (sparc_gdbarch_init): Set deprecated_extra_stack_alignment_needed. * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear extra_stack_alignment_needed. * v850-tdep.c (v850_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2003-03-252003-03-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney29-94/+146
* gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace STORE_STRUCT_RETURN. * gdbarch.h, gdbarch.c: Regenerate. * d10v-tdep.c (d10v_store_struct_return): Delete function. (d10v_push_arguments): Set the struct return register. (d10v_gdbarch_init): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-252003-03-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney32-129/+121
* gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace CALL_DUMMY_STACK_ADJUST with a predicate variable. * gdbarch.h, gdbarch.c: Regenerate. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set call_dummy_stack_adjust_p. * vax-tdep.c (vax_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto. * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set call_dummy_stack_adjust_p. * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. (CALL_DUMMY_STACK_ADJUST): Delete macro. * sparc-tdep.c (sparc32_push_arguments): Update. * valops.c (hand_function_call): Update. 2003-03-25 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete reference to CALL_DUMMY_STACK_ADJUST_P. Rename CALL_DUMMY_STACK_ADJUST to DEPRECATED_CALL_DUMMY_STACK_ADJUST. Add reference to PUSH_ARGUMENTS.
2003-03-25 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call toCorinna Vinschen2-0/+6
set_gdbarch_char_signed.
2003-03-25PR cli/548Richard Earnshaw2-1/+6
* arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
2003-03-25* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.Richard Earnshaw2-2/+8
(_initialize_arm_tdep): Don't set tm_print_insn.
2003-03-25Makefile.in (YYOBJ): Add objc-exp.tab.oAdam Fedor3-0/+19
objc-lang.h: Add multiple inclusion protection. (start_msglist, add_msglist, end_msglist): Additional declarations.
2003-03-25*** empty log message ***gdbadmin1-1/+1
2003-03-24* armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enumRichard Earnshaw2-1/+6
value was renamed to ARM_FLOAT_SOFT_FPA.
2003-03-24Index: ChangeLogAndrew Cagney42-248/+309
2003-03-23 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. * gdbarch.h, gdbarch.c: Regenerate. * valops.c (hand_function_call): Update. * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. * frame.c (legacy_saved_regs_this_id): Update. (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. * dummy-frame.h: Update. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. * config/m68k/tm-sun3.h: Update. * blockframe.c (inside_main_func, frame_chain_valid): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_frame_saved_pc): Update. (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. (frame_get_saved_regs): Update. * ppc-linux-tdep.c (ppc_linux_init_abi): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. * i386-interix-tdep.c (i386_interix_init_abi): Update. (i386_interix_back_one_frame): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. (hppa_init_extra_frame_info): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. Index: doc/ChangeLog 2003-03-23 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Algorithms, Target Architecture Definition): Deprecate FRAME_CHAIN and FRAME_CHAIN_VALID.
2003-03-24*** empty log message ***gdbadmin1-1/+1
2003-03-23*** empty log message ***gdbadmin1-1/+1
2003-03-22* arm-tdep.h (arm_float_model): Add AUTO and LAST values.Richard Earnshaw4-28/+134
(arm_get_fp_model): Declare. * arm-tdep.c (fp_model_strings): New string array. (arm_fp_model, current_fp_model): New variables. (arm_get_fp_model): New function. (arm_set_fp): New function. (set_fp_model_sfunc): New function. (show_fp_model): New function. (_initialize_arm_tdep): Add new command to set/show the FPU. (arm_extract_return_value): Use arm_get_fp_model. (arm_store_return_value): Likewise. (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp to initialize the floating-point data types. * arm-linux-tdep.c (arm_linux_init_abi): The default floating point model is FPA.
2003-03-22* arm-tdep.c (show_arm_command): Don't print out help. Instead, showRichard Earnshaw2-20/+44
the current setting of each value. (_initialize_arm_tdep): Delete variable new_cmd and add new vars new_set and new_show. Use add_setshow_cmd_full and add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" commands and add new version as subcommands of "set/show arm".
2003-03-22* arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.Richard Earnshaw2-45/+94
(set_arm_command, show_arm_command): New functions. (_initialize_arm_tdep): Add them. (num_disassembly_options): Renamed from num_flavor_options. (valid_disassembly_styles): Renamed from valid_flavors. (disassembly_style): Renamed from disassembly_flavor. (set_disassembly_style_sfunc): Renamed from set_disassembly_flavor_sfunc. (set_disassembly_style): Renamed from set_disassembly_flavor. (arm_othernames): Updated. (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" command. Add "set/show arm disassembly" commands. Deprecate "othernames" command.
2003-03-22* Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.Richard Earnshaw2-1/+8
(arm-tdep.o): Depend on elf_arm_h.
2003-03-22* Makefile.in (coff_internal_h): Define.Richard Earnshaw2-3/+9
(arm-tdep.o): Update dependencies.
2003-03-22* arm-tdep.c (prologue_cache): Delete.Richard Earnshaw2-81/+8
(check_prologue_cache, save_prologue_cache): Delete. (arm_scan_prologue): Don't check or update the prologue_cache. (arm_gdb_arch_init): Don't initialize it. (_initialize_arm_tdep): Likewise.
2003-03-22*** empty log message ***gdbadmin1-1/+1
2003-03-21 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.Stephane Carrez3-0/+62
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2003-03-21 * MAINTAINERS (tui): Maintainer of tui code.Stephane Carrez2-2/+6
2003-03-21 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.Corinna Vinschen6-2/+72
(i386-cygwin-tdep.o): Add dependencies. * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. * i386-cygwin-tdep.c: New file. * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
2003-03-21*** empty log message ***gdbadmin1-1/+1
2003-03-202003-03-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-34/+4
* infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. (handle_inferior_event): Remove code calling DYNAMIC_TRAMPOLINE_NEXTPC.
2003-03-202003-03-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+11
* Makefile.in (init.c): Don't add $(srcdir) prefix when a file already has a full path.
2003-03-202003-03-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+7
* main.c (gdb_main): Return 1. (captured_main): Call error to report an invalid interpreter.
2003-03-202003-03-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-1/+7
* Makefile.in (alpha-osf1-tdep.o): Update dependencies. * alpha-osf1-tdep.c: Include "gdb_string.h".
2003-03-20 * gdb.base/default.exp: Fix regular expression.Corinna Vinschen2-2/+6
2003-03-20 * gdb.base/args.exp: Fix regular expression.Corinna Vinschen2-3/+7
2003-03-20 * gdb.base/help.exp: Allow Win32 child process.Corinna Vinschen2-1/+5
2003-03-20 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper functionCorinna Vinschen2-0/+9
when stepping out of main().
2003-03-20 * gdb.base/default.exp: Check for win32 specific message when callingCorinna Vinschen2-0/+11
"run" without executable.
2003-03-20 * gdb.base/args.exp: Expect .exe in output.Corinna Vinschen2-3/+7
2003-03-20 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag forCorinna Vinschen2-0/+8
Cygwin native.
2003-03-20*** empty log message ***gdbadmin1-1/+1
2003-03-19 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarchJoel Brobecker3-3/+13
method, now that hppa_push_dummy_frame has a conformant prototype. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation for the switch to multiarch partial.