aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-30* eval.c (evaluate_subexp_standard): Handle ObjC ops.Adam Fedor5-2/+297
* infcall.c (find_function_addr): Make non-static. * infcall.h (find_function_addr): Declare. * Makefile.in (eval.o): Update dependencies.
2003-04-30*** empty log message ***gdbadmin1-1/+1
2003-04-30daily updateAlan Modra1-1/+1
2003-04-29Fix problem parsing symbol version strings when they are preceeded by ↵Nick Clifton6-0/+36
whitespace. Add test to catch this problem in the future.
2003-04-29* symtab.c (symbol_find_demangled_name): Check for and demangleAdam Fedor3-6/+26
ObjC symbols. (symbol_init_demangled_name): Init for language_objc as well.
2003-04-29bfd/H.J. Lu9-6/+56
2003-04-28 H.J. Lu <hjl@gnu.org> * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during the relax finalize pass. * section.c (struct sec): Add need_finalize_relax and remove flag11. (STD_SECTION): Update struct sec initializer. * bfd-in2.h: Regenerated. include/ 2003-04-28 H.J. Lu <hjl@gnu.org> * bfdlink.h (bfd_link_info): Add relax_finalizing. ld/ 2003-04-28 H.J. Lu <hjl@gnu.org> * ldlang.c (lang_process): Add the relax finalize pass. * ldmain.c (main): Initialize link_info.relax_finalizing to FALSE.
2003-04-292003-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney60-312/+497
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. * gdbarch.h, gdbarch.c: Re-generate. * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. * inferior.h (deprecated_read_fp): Rename read_fp. (generic_target_read_fp): Delete declaration. * regcache.c (generic_target_read_fp): Delete function. (deprecated_read_fp): Replace read_fp, use DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. * d10v-tdep.c (d10v_read_fp): Delete function. (d10v_gdbarch_init): Do not set deprecated_read_fp. * sparc-tdep.c (sparc_gdbarch_init): Do not set deprecated_target_read_fp to generic_target_read_fp. * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set deprecated_fp_regnum. * x86-64-tdep.c (x86_64_init_abi): Ditto. * vax-tdep.c (vax_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_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. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_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. * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with DEPRECATED_FP_REGNUM. (vax_push_dummy_frame, vax_pop_frame): Ditto. * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. (sparc_push_dummy_frame, sparc64_read_fp): Ditto. (sparc32_register_virtual_type): Ditto. * sh-tdep.c (sh64_frame_chain): Ditto. (sh64_get_saved_register, sh64_pop_frame): Ditto. (sh_nofp_frame_init_saved_regs): Ditto. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. * remote-e7000.c (fetch_regs_from_dump): Ditto. * procfs.c (procfs_fetch_registers): Ditto. (procfs_store_registers): Ditto. * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. (store_inferior_registers, fetch_core_registers): Ditto. (fetch_kcore_registers, clear_regs): Ditto. * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. * nlm/i386.c (do_status): Ditto. * mipsv4-nat.c (supply_gregset): Ditto. * mips-tdep.c: Ditto for comments. * mips-nat.c (fetch_inferior_registers): Ditto. (store_inferior_registers, fetch_core_registers): Ditto. * m68k-tdep.c (m68k_push_dummy_frame): Ditto. (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. * i386-tdep.c (i386_frame_init_saved_regs): Ditto. (i386_do_pop_frame, i386_register_type): Ditto. * hppa-tdep.c (hppa_frame_chain): Ditto. (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. (hppa_pop_frame, hppa_read_fp): Ditto. (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. * blockframe.c: Ditto for comments. * arch-utils.h: Ditto for comments. * arch-utils.c (legacy_virtual_frame_pointer): Ditto. * alphanbsd-tdep.c (fetch_core_registers): Ditto. * alphabsd-nat.c (fetch_inferior_registers): Ditto. * alpha-tdep.h: Ditto for comments. * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. (alpha_cannot_store_register): Ditto. (alpha_push_dummy_frame): Ditto. * alpha-nat.c (supply_gregset): Ditto. * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. * config/sparc/tm-sparc.h: Update comment. * hppa-tdep.c (hppa_init_extra_frame_info): Use deprecated_read_fp instead of TARGET_READ_FP. (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. (hppa_push_dummy_frame, hppa_read_fp): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use deprecated_read_fp instead of read_fp. * s390-tdep.c (s390_push_arguments): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * frame.h: Ditto in comments. * frame.c (legacy_get_prev_frame): Ditto. * dummy-frame.c (dummy_frame_this_id): Ditto. * arm-tdep.c (arm_init_extra_frame_info): Ditto. 2003-04-28 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp, DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-29daily updateAlan Modra1-1/+1
2003-04-29*** empty log message ***gdbadmin1-1/+1
2003-04-282003-04-28 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-172/+180
* configure.in (mips-*-*n*bsd*): Replace with... (mips-*-netbsd*, mips-*-openbsd*): These. * configure: Regenerate.
2003-04-28bfd/H.J. Lu11-22/+110
2003-04-28 H.J. Lu <hjl@gnu.org> * elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol to copy any information related to dynamic linking when we flip the indirection. ld/testsuite/ 2003-04-28 H.J. Lu <hjl@gnu.org> * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler. (build_vers_lib): Support PIC. (build_vers_lib_no_pic): New. Change all calls to build_vers_lib to build_vers_lib_no_pic. (build_vers_lib_pic): New. Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned definition vs. normal definition in different files. * ld-elfvers/vers26a.c: New file. * ld-elfvers/vers26a.dsym: Likewise. * ld-elfvers/vers26a.map: Likewise. * ld-elfvers/vers26a.ver: Likewise. * ld-elfvers/vers26b.c: Likewise. * ld-elfvers/vers26b.dsym: New empty file. * ld-elfvers/vers26b.ver: Likewise.
2003-04-282003-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney23-29/+60
* gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. * gdbarch.h, gdbarch.c: Re-generate. * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. * vax-tdep.c (_initialize_vax_tdep): Update. * v850-tdep.c (_initialize_v850_tdep): Update. * sparc-tdep.c (_initialize_sparc_tdep): Update. * s390-tdep.c (_initialize_s390_tdep): Update. * ns32k-tdep.c (_initialize_ns32k_tdep): Update. * mn10300-tdep.c (_initialize_mn10300_tdep): Update. * mips-tdep.c (_initialize_mips_tdep): Update. * mcore-tdep.c (_initialize_mcore_tdep): Update. * m68k-tdep.c (_initialize_m68k_tdep): Update. * ia64-tdep.c (_initialize_ia64_tdep): Update. * hppa-tdep.c (_initialize_hppa_tdep): Update. * h8300-tdep.c (_initialize_h8300_tdep): Update. * frv-tdep.c (_initialize_frv_tdep): Update. * cris-tdep.c (cris_delayed_get_disassembler): Update. (_initialize_cris_tdep): Update. * arch-utils.c (legacy_print_insn): Update. * alpha-tdep.c (_initialize_alpha_tdep): Update. 2003-04-28 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Rename "tm_print_insn" to "deprecated_tm_print_insn".
2003-04-28* config/tc-hppa.c (hppa_symbol_chars): New.Nick Clifton3-0/+11
* config/tc-hppa.h (tc_symbol_chars): Likewise.
2003-04-28bfd/H.J. Lu9-14/+316
2003-04-27 H.J. Lu <hjl@gnu.org> * elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New. (ELF_LINK_DYNAMIC_WEAK): New. * elflink.h (elf_merge_symbol): Add one argument to indicate if a symbol should be skipped. Ignore definitions in dynamic objects for symbols with non-default visibility. (elf_add_default_symbol): Adjusted. (elf_link_add_object_symbols): Check if a symbol should be skipped. Don't merge the visibility field with the one from a dynamic object. (elf_link_check_versioned_symbol): Use undef_bfd. (elf_link_output_extsym): Warn if a forced local symbol is referenced from dynamic objects. Make non-weak undefined symbol with non-default visibility a fatal error. ld/testsuite/ 2003-04-27 H.J. Lu <hjl@gnu.org> * ld-elfvsb/elfvsb.dat: Updated. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfvsb/main.c: Likewise. * ld-elfvsb/sh1.c: Likewise. * ld-elfvsb/sh2.c: Likewise.
2003-04-28 * Makefile.tpl: Clean $(BUILD_SUBDIR).Daniel Jacobowitz3-0/+7
* Makefile.in: Regenerated.
2003-04-28 * gdb.base/signals.exp: Make backtrace tests more specific.Daniel Jacobowitz2-3/+7
2003-04-28daily updateAlan Modra1-1/+1
2003-04-28*** empty log message ***gdbadmin1-1/+1
2003-04-27 * configure.in: Bump version on HEAD to 2.14.90.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2003-04-27* linespec.c (decode_objc): New function to decode ObjC callsAdam Fedor3-1/+135
(decode_line_1): Check for ObjC calls (using decode_objc) * Makefile (linespec.o): Update dependencies.
2003-04-27 * breakpoint.h (struct breakpoint_ops): New.Daniel Jacobowitz3-232/+368
(struct breakpoint): Add ops member. * breakpoint.c (print_bp_stop_message, print_one_breakpoint) (mention): Use new breakpoint ops member. (set_raw_breakpoint): Initialize ops field to NULL. (print_exception_catchpoint, print_one_exception_catchpoint) (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. (gnu_v3_exception_catchpoint_ops): New. (catch_exception_command_1): Call handle_gnu_v3_exceptions.
2003-04-27*** empty log message ***gdbadmin1-1/+1
2003-04-26 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.Thiemo Seufer2-0/+7
2003-04-26 PR savannah/3331:Stephane Carrez5-0/+49
* elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group when we couldn't relax something. * ld-m68hc11/bug-3331.d: New test. * ld-m68hc11/bug-3331.s: New file.
2003-04-26oops - forgot to add the grep for "(DW_OP_addr: 0)"Nick Clifton1-0/+1
2003-04-26Rework readelf -wi tests to grep for expected strings.Nick Clifton3-58/+99
2003-04-26* Makefile.in (COMMON_OBS): Add objc-lang.oAdam Fedor2-1/+5
2003-04-262003-04-25 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* NEWS: Belatedly mention support for MIPS32 Release 2.
2003-04-26*** empty log message ***gdbadmin1-1/+1
2003-04-26daily updateAlan Modra1-1/+1
2003-04-252003-04-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-16/+11
* d10v-tdep.c (print_insn): Delete function. (display_trace): Use TARGET_PRINT_INSN. (_initialize_d10v_tdep): Do not set tm_print_insn. (d10v_gdbarch_init): Set print_insn.
2003-04-252003-04-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-82/+71
* d10v-tdep.c (d10v_extract_return_value): Delete call to printf. (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... (nr_dmap_regs, a0_regnum): ... new functions. (d10v_print_registers_info): Use a0_regnum, use register_size. (d10v_register_byte): Delete function. (d10v_register_raw_size): Delete function. (d10v_register_type): Use a0_regnum. (d10v_print_registers_info): Use a0_regnum. (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. (d10v_gdbarch_init): Do not set register_byte or register_raw_size, use D10V_SP_REGNUM to set sp_regnum. (d10v_pointer_to_address): Use extract_unsigned_integer instead of extract_address. (trace_command): Use XCALLOC. (print_insn): Delete reference to tm_print_insn. (saved_regs_unwinder): Use store_unsigned_integer instead of store_address. * frame.h (FRAME_OBSTACK_CALLOC): Define
2003-04-252003-04-25 David Carlton <carlton@bactrian.org>David Carlton2-0/+5
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
2003-04-252003-04-25 Alan Modra <amodra@bigpond.net.au>H.J. Lu2-15/+36
* elflink.h (elf_merge_symbol): When we find a regular definition for an indirect symbol, flip the indirection so that the old direct symbol now points to the new definition.
2003-04-25 * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.Joern Rennecke2-2/+7
2003-04-252003-04-24 Eric Christopher <echristo@redhat.com>Eric Christopher2-11/+15
* config/tc-mips.c (nopic_need_relax): Revert previous change.
2003-04-25* objc-lang.c: Include "valprint.h"Adam Fedor3-1/+7
* Makefile.in (objc-lang.o): Update dependencies.
2003-04-25* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): RemoveAdam Fedor2-0/+20
architecture dependant compilation and mark as unimplemented (until they get put in the gdbarch vector).
2003-04-25*** empty log message ***gdbadmin1-1/+1
2003-04-25daily updateAlan Modra1-1/+1
2003-04-242003-04-24 J"orn Rennecke <joern.rennecke@superh.com>H.J. Lu2-7/+11
* ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended.
2003-04-24.Roland McGrath2-4/+13
2003-04-242003-04-24 Roland McGrath <roland@redhat.com>Roland McGrath1-4/+8
* elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr".
2003-04-242003-04-24 Roland McGrath <roland@redhat.com>Roland McGrath1-25/+37
* ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. If a name string is unknown, give an error rather than crashing later.
2003-04-24Add tests of conditional branch instructions with probability postfixesNick Clifton3-0/+29
2003-04-24oops - omitted from previous deltaNick Clifton6-0/+188
2003-04-24 * elf32-ppc.c: Formatting and comment fixes.Alan Modra2-20/+41
(ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol. (ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs.
2003-04-24Add support for dwarf2 debug information.Nick Clifton5-4/+32
2003-04-24Add support for h8300hn and h8300snNick Clifton23-888/+265
2003-04-24Add '+' and '-' as valid symbol characters for PPC port.Nick Clifton3-0/+12