aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-302003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney23-77/+104
* gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace PUSH_RETURN_ADDRESS. * gdbarch.h, gdbarch.c: Regenerate. * 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. * 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. * valops.c (hand_function_call): Update.
2003-03-30Remove use of __IWMMXT__.Nick Clifton7-43/+23
2003-03-302003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+8
* gdb.base/sizeof.c (main): Print the value of '\377'. * gdb.base/sizeof.exp: Check the sign of '\377'.
2003-03-302003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-14/+14
* d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or sizeof_call_dummy_words. * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always define. * gdbarch.h: Regenerate.
2003-03-30*** empty log message ***gdbadmin1-1/+1
2003-03-30daily updateAlan Modra1-1/+1
2003-03-292003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-20/+134
* infttrace.h: New file. * hpread.c: Include "gdb_assert.h" and "somsolib.h". (hpread_get_textlow): Detect an uninitialized dn_bufp. (hpread_read_doc_function_type): Detect an initialized type1. (hpread_quick_traverse): Initialize mod_name_string. * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. (som_solib_get_solib_by_pc): Declare. (so_lib_thread_start_addr): Declare. (no_shared_libraries): Declare. * somread.c (init_import_symbols): Make static. Add forward declaration. * config/pa/nm-hppah.h: Include "infttrace.h" for parent_attach_all. (hppa_insert_hw_watchpoint): Declare. (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. * hppah-nat.c: Include "gdb_string.h". (parent_attach_all): Delete extern declaration, moved to "infttrace.h". (hppa_can_use_hw_watchpoint): Change type of "type" parameter to int. (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. * Makefile.in (infttrace_h): Define. (hpread.o): Update dependencies. (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. * hppa-hpux-tdep.c: Include "gdb_string.h". * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". * infrun.c (handle_inferior_event): Always initialize stepped_after_stopped_by_watchpoint. Add default and remove fallthrough in switch statement. * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" parameter to int. (hppa_remove_hw_watchpoint): Ditto.
2003-03-292003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+7
* ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint offset.
2003-03-29* arm-tdep.c (arm_push_arguments): Delete.Richard Earnshaw2-143/+165
(struct stack_item): New type. (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. (arm_store_struct_return): Delte. (arm_gdbarch_init): Register arm_push_dummy_call. Don't register arm_push_arguments or arm_store_struct_return.
2003-03-292003-03-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-27/+40
* Makefile.in (d10v-tdep.o): Update dependencies. * remote.h (target_resume_hook, target_wait_loop_hook): Declare. * d10v-tdep.c: Include "remote.h". (target_resume_hook): Delete extern declaration. (target_wait_loop_hook): Ditto. (tdisassemble_command): Eliminate assignment in "if" conditional. (d10v_ts2_register_sim_regno): Eliminate call to legacy_register_sim_regno. (d10v_ts3_register_sim_regno): Ditto.
2003-03-292003-03-28 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+13
* elflink.h (elf_link_add_object_symbols): Correctly combine visibilities.
2003-03-29*** empty log message ***gdbadmin1-1/+1
2003-03-28daily updateAlan Modra1-1/+1
2003-03-282003-03-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-267/+239
* thread.c: Reindented. * lin-lwp.c: Ditto. * linux-proc.c: Ditto.
2003-03-28MAINTAINERS (write after approval): Add myself.Bob Rossi2-0/+5
2003-03-28* objc-exp.y: Add missing semi-colons.Theodore A. Roth2-0/+7
2003-03-28*** empty log message ***gdbadmin1-1/+1
2003-03-27daily updateAlan Modra1-1/+1
2003-03-27 * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offsetJakub Jelinek2-0/+6
to -1 before recomputing got offsets.
2003-03-272003-03-27 Michael Chastain <mec@shout.net>Michael Chastain3-0/+120
* gdb.base/gdb1090.exp: New file. * gdb.base/gdb1090.cc: New file.
2003-03-27 * gdb.gdb/observer.exp: New regression test.Joel Brobecker2-0/+278
2003-03-272003-03-27 Michael Chastain <mec@shout.net>Michael Chastain3-8/+6
* gdb.base/list.exp: Remove setup_xfail_format for DWARF 1. * gdb.base/ptype.exp: Likewise.
2003-03-27Add iWMMXt support to ARM simulatorNick Clifton14-11/+4043
2003-03-272003-03-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-21/+26
* regcache.c (write_sp): Delete function and references. * inferior.h (write_sp): Delete declaration. * valops.c (hand_function_call): Replace write_sp with TARGET_WRITE_SP. * sparc-tdep.c (sparc_push_dummy_frame): Ditto. (sparc_pop_frame): Ditto. Index: doc/ChangeLog 2003-03-27 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Remove references to write_sp.
2003-03-272003-03-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney17-379/+401
* NEWS: Mention removal of support for hppa*-*-bsd* and hppa*-*-osf* natives, and hppa*-*-pro* target. * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". * config/pa/xm-pa.h: Obsolete file. * config/pa/xm-hppab.h: Obsolete file. * config/pa/nm-hppab.h: Obsolete file. * config/pa/tm-hppab.h: Obsolete file. * config/pa/tm-hppao.h: Obsolete file. * config/pa/nm-hppao.h: Obsolete file. * config/pa/tm-pro.h: Obsolete file. * config/pa/hppaosf.mt: Obsolete file. * config/pa/hppaosf.mh: Obsolete file. * config/pa/hppapro.mt: Obsolete file. * config/pa/hppabsd.mt: Obsolete file. * config/pa/hppabsd.mh: Obsolete file. * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and hppa*-*-osf*.
2003-03-27Index: doc/ChangeLogAndrew Cagney5-3906/+4551
2003-03-27 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (GDB/MI Variable Objects): Replace @include with chapter body. Use @smallexample instead of @example. (Annotations): Ditto. * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Remove gdbmi.texinfo and annotate.texi. Index: mi/ChangeLog 2003-03-27 Andrew Cagney <cagney@redhat.com> * gdbmi.texinfo: Delete file. Contents moved to ../doc/gdb.texinfo.
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 Eric Christopher <echristo@redhat.com>Eric Christopher2-6/+12
* config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
2003-03-26daily updateAlan Modra1-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 * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.Andreas Schwab2-6/+37
(elf_m68k_relocate_section): Use it to correctly handle symbols forced to be local. (elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got entries for symbols that are forced to be local.
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* ld-mips-elf/mips-elf.exp: Added...Alexandre Oliva7-0/+118
* ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, ld-mips-elf/relax-jalr-n64-shared.d: New tests.
2003-03-26* elfxx-mips.c (_bfd_mips_relax_section): New function.Alexandre Oliva5-0/+190
* elfxx-mips.h (_bfd_mips_relax_section): Declare. * elfn32-mips.c, elf64-mips.c: Use it.
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-25daily updateAlan Modra1-1/+1
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-25Add iWMMXt supportNick Clifton31-32/+1870
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.