Alexandre Oliva [Mon, 3 Mar 2003 20:01:02 +0000 (20:01 +0000)]
* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
well.
Alexandre Oliva [Mon, 3 Mar 2003 20:00:35 +0000 (20:00 +0000)]
* ldfile.h (struct search_dirs): Added sysrooted field.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
(ldfile_open_file_search): Look for sysrooted filename starting
with / in ld_sysroot instead of in the current directory. Clear
sysrooted flag if it's found in the current directory. Set it
from the search directory's sysrooted flag where it is found
otherwise.
* ldlang.c (ldlang_sysrooted_script): New static variable.
(new_afile): Mark search_file_enums as sysrooted if
ldlang_sysrooted_script.
(load_symbols): Set ldlang_sysrooted_script according to the
script's sysrooted field while processing it.
* ld.texinfo: Document INPUT behavior in sysroot.
Joel Brobecker [Mon, 3 Mar 2003 18:52:27 +0000 (18:52 +0000)]
* aclocal.m4: Add check for mbrtowc.
* config.h.in: Regenerate.
* configure: Regenerate.
* rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
David Carlton [Mon, 3 Mar 2003 18:48:31 +0000 (18:48 +0000)]
2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
with respect to PR c++/57.
KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
c++/826.
Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
respect to PR c++/57.
David Carlton [Mon, 3 Mar 2003 18:39:47 +0000 (18:39 +0000)]
2003-03-03 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert the KFAILs with
respect to PR c++/33 into FAILs.
David Carlton [Mon, 3 Mar 2003 18:34:12 +0000 (18:34 +0000)]
2003-03-03 David Carlton <carlton@math.stanford.edu>
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
SYMBOL_MATCHES_NAME, add comment.
(SYMBOL_MATCHES_NATURAL_NAME): New.
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
(lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
* symtab.c (lookup_partial_symbol): Use
SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
unhelpful comment.
(lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
SYMBOL_MATCHES_NAME.
Fix for PR c++/33.
David Carlton [Mon, 3 Mar 2003 18:01:33 +0000 (18:01 +0000)]
2003-03-03 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
* symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
by regexp matching against SYMBOL_NATURAL_NAME.
David Carlton [Mon, 3 Mar 2003 17:20:24 +0000 (17:20 +0000)]
2003-03-03 David Carlton <carlton@math.stanford.edu>
* linespec.c (find_method): Extract code into collect_methods.
(collect_methods): New.
Michael Chastain [Mon, 3 Mar 2003 15:45:24 +0000 (15:45 +0000)]
2003-03-03 Michael Chastain <mec@shout.net>
* configure.in: Update copyright years.
Michael Chastain [Mon, 3 Mar 2003 15:18:20 +0000 (15:18 +0000)]
2003-03-03 Michael Chastain <mec@shout.net>
* Makefile.in: update copyright years.
Kris Warkentin [Mon, 3 Mar 2003 14:45:43 +0000 (14:45 +0000)]
Fixed configuration of wcwidth.
Nick Clifton [Mon, 3 Mar 2003 10:08:02 +0000 (10:08 +0000)]
Installed latest Danish translation.
Daniel Jacobowitz [Mon, 3 Mar 2003 03:59:16 +0000 (03:59 +0000)]
* Makefile.in (distclean): Remove config.log.
Christopher Faylor [Mon, 3 Mar 2003 02:38:10 +0000 (02:38 +0000)]
* scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
gdbadmin [Mon, 3 Mar 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 2 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Sun, 2 Mar 2003 22:28:51 +0000 (22:28 +0000)]
Leftover from previous commit.
Alan Modra [Sun, 2 Mar 2003 22:07:10 +0000 (22:07 +0000)]
* emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
PARSE_AND_LIST_EPILOGUE): Don't define.
* emultempl/alphaelf.em: New file.
Thiemo Seufer [Sun, 2 Mar 2003 21:30:15 +0000 (21:30 +0000)]
* elf32-mips.c (elf_mips_howto_table_rel): Change definition of
R_MIPS_PC16 to rightshift 2.
(elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc.
(bfd_elf32_bfd_reloc_type_lookup): Support
BFD_RELOC_MIPSEMB_16_PCREL_S2.
* elf64-mips.c (mips_elf64_howto_table_rel): Change definition of
R_MIPS_PC16 to rightshift 2.
(mips_elf64_howto_table_rela): Likewise.
(mips_reloc_map): Map to rightshifted BFD reloc.
* elfn32-mips.c: The same as in elf64-mips.c.
* elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment.
(mips_elf_calculate_relocation): Handle rightshifted addends for
R_MIPS_PC16.
* reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for
MIPS Embedded PIC. Remove superfluous empty COMMENT.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* config/tc-mips.c (append_insn): Add handling of
BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
misaligned address and reange overflow.
(macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
earlier warnings about misaligned address and reange overflow.
(mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
(md_apply_fix): Likewise. Fix warning output.
(tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
(md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
* gas/mips/bge.d: Reactivate external branch tests.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/branch-misc-2.d: New File.
* gas/mips/branch-misc-2.l: Remove.
* gas/mips/mips.exp: Adjust branch-misc-2 test.
Mark Kettenis [Sun, 2 Mar 2003 17:05:18 +0000 (17:05 +0000)]
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
get_frame_base.
Mark Kettenis [Sun, 2 Mar 2003 10:40:37 +0000 (10:40 +0000)]
* i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
Nick Clifton [Sun, 2 Mar 2003 10:28:29 +0000 (10:28 +0000)]
(SWIWrite0): Catch big-endian bug when printing characters
Stephane Carrez [Sun, 2 Mar 2003 10:23:09 +0000 (10:23 +0000)]
* arch-utils.c (generic_register_byte): Fix to use the loop index
and not regnum when summing the size of all registers up to regnum.
Stephane Carrez [Sun, 2 Mar 2003 10:03:40 +0000 (10:03 +0000)]
* Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
to 32 to support memory bank switching; temporarily use 32-bit for
WORD_BITSIZE to avoid a bug in sim-common.
Andrew Cagney [Sun, 2 Mar 2003 05:56:56 +0000 (05:56 +0000)]
Fix merge botch in previous commit.
Andrew Cagney [Sun, 2 Mar 2003 04:02:25 +0000 (04:02 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
FRAME_INIT_SAVED_REGS.
* gdbarch.h, gdbarch.c: Regenerate.
* stack.c (frame_info): Update.
* sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
(sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
(sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
* ns32k-tdep.c (ns32k_pop_frame): Update.
* mips-tdep.c (mips_pop_frame): Update.
* m68hc11-tdep.c (m68hc11_pop_frame): Update.
* ia64-tdep.c (ia64_frame_chain): Update.
(ia64_frame_saved_pc, ia64_get_saved_register): Update.
(ia64_frameless_function_invocation): Update.
(ia64_init_extra_frame_info): Update.
(ia64_pop_frame_regular): Update.
* frame.h (struct frame_info): Update comment.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
* frame.c (frame_saved_regs_register_unwind): Update.
(frame_saved_regs_register_unwind): Update.
(deprecated_generic_get_saved_register): Update.
* cris-tdep.c: Update comment.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
Rename macro.
* 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.
* 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_gdbarch_init): Update.
* frv-tdep.c (frv_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-01 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_INIT_SAVED_REGS to DEPRECATED_FRAME_INIT_SAVED_REGS.
Andrew Cagney [Sun, 2 Mar 2003 02:07:12 +0000 (02:07 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
option enum and switch. When no windows, set the interpreter to
INTERP_CONSOLE.
Andrew Cagney [Sun, 2 Mar 2003 01:22:18 +0000 (01:22 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* main.c (captured_main): Replace magic option characters with an
enum.
Andrew Cagney [Sun, 2 Mar 2003 00:11:43 +0000 (00:11 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
INIT_EXTRA_FRAME_INFO.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-tdep.c: Update comments.
* sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
* i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
* frame.h, avr-tdep.c: Ditto.
* frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
(create_new_frame, legacy_get_prev_frame): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
* config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
deprecated_init_extra_frame_info instead of init_extra_frame_info.
* x86-64-tdep.c (x86_64_init_abi): 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.
* ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-interix-tdep.c (i386_interix_init_abi): 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.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
Index: doc/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to
DEPRECATED_INIT_EXTRA_FRAME_INFO.
gdbadmin [Sun, 2 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 1 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sat, 1 Mar 2003 20:54:22 +0000 (20:54 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort.
(sim_engine_vabort): Ditto.
Andrew Cagney [Sat, 1 Mar 2003 17:59:12 +0000 (17:59 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (register_type): New function with predicate.
(REGISTER_VIRTUAL_TYPE): Change to function with predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (generic_register_byte): Use generic_register_size.
(generic_register_size): When available, use
gdbarch_register_type.
* regcache.c (init_regcache_descr): When available, initialize the
register type array using gdbarch_register_type. If the
architecture supplies gdbarch_register_type, do not use the legacy
regcache layout.
* d10v-tdep.c (d10v_register_type): Replace
d10v_register_virtual_type.
(d10v_gdbarch_init): Set register_type instead of
register_virtual_type.
Andrew Cagney [Sat, 1 Mar 2003 17:03:19 +0000 (17:03 +0000)]
2003-03-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ax-gdb.o): Update dependencies.
* ax-gdb.c: Include "regcache.h".
(gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
* findvar.c (value_of_register): Ditto.
* infcmd.c (default_print_registers_info): Ditto.
Index: mi/ChangeLog
2003-03-01 Andrew Cagney <cagney@redhat.com>
* mi-main.c (get_register): Use register_type instead of
REGISTER_VIRTUAL_TYPE.
Stephane Carrez [Sat, 1 Mar 2003 16:00:09 +0000 (16:00 +0000)]
* interp.c (sim_fetch_register): Only store a single byte for
1 byte registers.
Mark Kettenis [Sat, 1 Mar 2003 13:00:07 +0000 (13:00 +0000)]
* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
Mark Kettenis [Sat, 1 Mar 2003 12:36:36 +0000 (12:36 +0000)]
* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
of STREQ.
Richard Henderson [Sat, 1 Mar 2003 02:44:45 +0000 (02:44 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds
for ltoff22x relaxation.
gdbadmin [Sat, 1 Mar 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 28 Feb 2003 23:43:35 +0000 (23:43 +0000)]
* bfd-in.h (_bfd): Don't define.
* bfd.c: Rename occurrences of "struct _bfd" to "struct bfd".
* syms.c: Likewise.
* bfd-in2.h: Regenerate.
Alan Modra [Fri, 28 Feb 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 28 Feb 2003 22:55:11 +0000 (22:55 +0000)]
* ldemul.c: Include getopt.h.
* emultempl/elf32.em: Include getopt.h earlier.
* emultempl/ticoff.em: Likewise.
Daniel Jacobowitz [Fri, 28 Feb 2003 20:03:18 +0000 (20:03 +0000)]
* Makefile.in (dwarf2loc.o): Update dependencies.
* ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
* dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
* dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
* dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
(locexpr_tracepoint_var_ref): New function.
(dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
Nathanael Nerode [Fri, 28 Feb 2003 18:03:31 +0000 (18:03 +0000)]
* Makefile.tpl: Rearrange.
* Makefile.in: Regenerate.
David Carlton [Fri, 28 Feb 2003 17:59:18 +0000 (17:59 +0000)]
Fix minor slip in previous patch.
David Carlton [Fri, 28 Feb 2003 17:51:35 +0000 (17:51 +0000)]
2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
print class instead of struct and/or superfluous protection
specifiers, as long as the resulting output is equivalent to the
source code.
Delete FIXME from end of messages on tests that don't need
fixing.
David Carlton [Fri, 28 Feb 2003 17:50:16 +0000 (17:50 +0000)]
2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Allow const in the two
Foo<volatile char *>::foo tests.
Andrew Cagney [Fri, 28 Feb 2003 17:47:43 +0000 (17:47 +0000)]
2003-02-28 Andrew Cagney <cagney@redhat.com>
* regcache.c (register_size): New function.
* regcache.h (register_size): Declare
* d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
max_register_size instead of MAX_REGISTER_RAW_SIZE.
David Carlton [Fri, 28 Feb 2003 17:21:16 +0000 (17:21 +0000)]
2003-02-28 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_compound): Extract code into find_method.
(find_method): New.
Joel Brobecker [Fri, 28 Feb 2003 17:14:16 +0000 (17:14 +0000)]
* Makefile.in: Add rules to build and link in observer.o.
Joel Brobecker [Fri, 28 Feb 2003 07:19:32 +0000 (07:19 +0000)]
* observer.c: Minor comments edits.
Joel Brobecker [Fri, 28 Feb 2003 07:08:51 +0000 (07:08 +0000)]
* observer.h, observer.c: New file.
Alan Modra [Fri, 28 Feb 2003 04:46:04 +0000 (04:46 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
support when scripts read from files.
Alan Modra [Fri, 28 Feb 2003 02:10:06 +0000 (02:10 +0000)]
* ldemul.c (ldemul_parse_args): Return FALSE by default.
* ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
comment.
Alan Modra [Fri, 28 Feb 2003 01:32:31 +0000 (01:32 +0000)]
* ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
(ldemul_parse_args): Return bfd_boolean. Formatting.
* ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
(ldemul_parse_args): Adjust.
(struct ld_emulation_xfer_struct): Add add_options and handle_option.
Return bfd_boolean from parse_args.
* lexsup.c (parse_args): Malloc shortopts, longopts and
really_longopts. Call ldemul_add_options and ldemul_handle_option.
* emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
gld${EMULATION_NAME}_parse_args.
(gld${EMULATION_NAME}_handle_option): Likewise.
(ld_${EMULATION_NAME}_emulation): Adjust initializer.
* emultempl/armcoff.em: As for aix.em, but remove parse_args.
* emultempl/beos.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/elf32.em: Likewise. Don't duplicate long options either.
(gld${EMULATION_NAME}_add_sysroot): Prototype.
* emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
options.
* emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
* emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
* emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
* emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
initializer.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
Richard Henderson [Fri, 28 Feb 2003 00:22:46 +0000 (00:22 +0000)]
* elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx;
(elfNN_ia64_check_relocs): Set it.
(allocate_global_data_got): Check it.
(allocate_local_got): Likewise.
(allocate_dynrel_entries): Likewise.
(elfNN_ia64_relax_ldxmov): New.
(elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV.
(elfNN_ia64_choose_gp): Split out from ...
(elfNN_ia64_final_link): ... here.
gdbadmin [Fri, 28 Feb 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Thu, 27 Feb 2003 23:26:34 +0000 (23:26 +0000)]
Index: arm/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
Index: common/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
* sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
* nrun.c (main): Ditto.
Index: d10v/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: erc32/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: h8300/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: h8500/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: i960/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: m32r/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: m68hc11/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_prepare_for_program, sim_open)
(sim_create_inferior): Rename _bfd to bfd.
Index: mcore/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: mips/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open):
(sim_create_inferior):
Index: mn10200/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: mn10300/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior, sim_open)
(sim_create_inferior): Rename _bfd to bfd.
Index: ppc/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: sh/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
to bfd.
Index: v850/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: z8k/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Andrew Cagney [Thu, 27 Feb 2003 23:17:52 +0000 (23:17 +0000)]
2003-02-27 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
Andrew Cagney [Thu, 27 Feb 2003 23:13:32 +0000 (23:13 +0000)]
2003-02-27 Andrew Cagney <cagney@redhat.com>
* remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename
_bfd to bfd.
Alan Modra [Thu, 27 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Thu, 27 Feb 2003 21:24:36 +0000 (21:24 +0000)]
2003-02-27 Andrew Cagney <cagney@redhat.com>
* bfd.c (struct bfd): Rename "struct _bfd".
* bfd-in.h: Update copyright.
(struct bfd): Rename "struct _bfd".
(_bfd): Define for backward compatibility.
* bfd-in2.h: Regenerate.
Stephane Carrez [Thu, 27 Feb 2003 21:02:17 +0000 (21:02 +0000)]
* m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
(M6812_OP_STS_EXT): Likewise.
(m6811_prologue): Use the above to recognize prologue.
(m6812_prologue): Likewise.
DJ Delorie [Thu, 27 Feb 2003 21:01:04 +0000 (21:01 +0000)]
merge from gcc
David Carlton [Thu, 27 Feb 2003 20:48:03 +0000 (20:48 +0000)]
2003-02-27 David Carlton <carlton@math.stanford.edu>
* symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
SYMBOL_PRINT_NAME.
(compare_psymbols): Ditto.
* symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
Michael Snyder [Thu, 27 Feb 2003 18:36:31 +0000 (18:36 +0000)]
2003-02-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/restore.c (main): Return zero, so exit code
will be consistant.
Michael Snyder [Thu, 27 Feb 2003 18:13:37 +0000 (18:13 +0000)]
2003-02-27 Michael Snyder <msnyder@redhat.com>
* f-lang.c (build_fortran_types): New function.
(_initialize_f_language): Gdbarch-register built-in fortran types.
Michael Snyder [Thu, 27 Feb 2003 18:08:25 +0000 (18:08 +0000)]
2003-02-27 Michael Snyder <msnyder@redhat.com>
* doublest.c (extract_floating): Fix warning text.
Andrew Cagney [Thu, 27 Feb 2003 17:48:48 +0000 (17:48 +0000)]
2003-02-27 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
predicate. Replaces PUSH_DUMMY_FRAME.
* gdbarch.h, gdbarch.c: Regnerate.
* valops.c (hand_function_call): Update. Call
generic_push_dummy_frame directly.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
* inferior.h (PUSH_DUMMY_FRAME): Delete definition.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
push_dummy_frame to generic_push_dummy_frame.
* 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.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_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.
DJ Delorie [Thu, 27 Feb 2003 15:17:29 +0000 (15:17 +0000)]
merge from gcc
Kevin Buettner [Thu, 27 Feb 2003 01:14:53 +0000 (01:14 +0000)]
Make ``show mips abi'' actually show the abi in use.
gdbadmin [Thu, 27 Feb 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 26 Feb 2003 23:27:09 +0000 (23:27 +0000)]
Index: common/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com>
* sim-engine.h (sim_engine_abort): Add noreturn attribute.
(sim_engine_vabort): Ditto.
(sim_engine_halt, sim_engine_restart): Ditto.
Index: mn10300/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com>
* am33.igen: Call sim_engine_abort instead of abort.
Alan Modra [Wed, 26 Feb 2003 23:00:15 +0000 (23:00 +0000)]
daily update
Jeff Johnston [Wed, 26 Feb 2003 21:41:18 +0000 (21:41 +0000)]
2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>
* dbxread.c (process_one_symbol): Only record line 0 if one or
more sline entries have been seen for the function.
Michael Chastain [Wed, 26 Feb 2003 20:30:27 +0000 (20:30 +0000)]
2003-02-26 Michael Chastain <mec@shout.net>
* configure: Regenerate with autoconf 000227.
David Carlton [Wed, 26 Feb 2003 20:30:05 +0000 (20:30 +0000)]
2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
char *>::foo" test with respect to PR c++/33. Create a new test
which is identical to that one except that it doesn't put the
space between the "char" and the "*"; KFAIL it, too.
David Carlton [Wed, 26 Feb 2003 20:23:13 +0000 (20:23 +0000)]
2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
template types into either PASSes or KFAILs (corresponding to PR
c++/57). Tweak indentation. Update copyright.
Michael Chastain [Wed, 26 Feb 2003 17:24:12 +0000 (17:24 +0000)]
2003-02-26 Michael Chastain <mec@shout.net>
Close PR build/660.
* PROBLEMS (i[3456]86-*-linux*): Note explicit error message
for old libc5/glibc.
* gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
David Carlton [Wed, 26 Feb 2003 17:04:19 +0000 (17:04 +0000)]
2003-02-26 David Carlton <carlton@math.stanford.edu>
* dv-mn103tim.c (read_special_timer6_reg): Add break after
empty default: label.
(write_special_timer6_reg): Ditto.
Update copyright.
Kris Warkentin [Wed, 26 Feb 2003 16:34:53 +0000 (16:34 +0000)]
Added GDB_OSABI_QNXNTO.
Kris Warkentin [Wed, 26 Feb 2003 15:13:07 +0000 (15:13 +0000)]
Added GDB_OSABI_QNXNTO.
Michael Chastain [Wed, 26 Feb 2003 15:10:47 +0000 (15:10 +0000)]
2003-02-26 Michael Chastain <mec@shout.net>
* configure.in: New variable HAVE_UINTPTR_T.
* configure, config.in: Regenerated.
Daniel Jacobowitz [Wed, 26 Feb 2003 14:35:19 +0000 (14:35 +0000)]
Fix PR build/1097.
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
Alexandre Oliva [Wed, 26 Feb 2003 00:56:14 +0000 (00:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
memory allocation error.
gdbadmin [Wed, 26 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Tue, 25 Feb 2003 23:52:16 +0000 (23:52 +0000)]
2003-02-25 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Add comment on check for
inside_entry_func. Only check for inside_entry_file when not a
dummy and not a sentinel. Check that the new frame is not inner
to the old frame.
Andrew Cagney [Tue, 25 Feb 2003 23:12:22 +0000 (23:12 +0000)]
2003-02-25 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_debug): New variable.
(_initialize_frame): Add "set/show debug frame" command.
(get_prev_frame): When frame_debug, print reason why unwind
failed.
Alan Modra [Tue, 25 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Michael Chastain [Tue, 25 Feb 2003 21:58:20 +0000 (21:58 +0000)]
2003-02-25 Michael Chastain <mec@shout.net>
* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
to avoid uintptr_t definition problems.
David Carlton [Tue, 25 Feb 2003 21:36:23 +0000 (21:36 +0000)]
2003-02-25 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_NATURAL_NAME): New macro.
(SYMBOL_LINKAGE_NAME): Ditto.
(SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
SYMBOL_LINKAGE_NAME.
(struct general_symbol_info): Expand comment.
(DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
(SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
(SYMBOL_MATCHES_REGEXP): Ditto.
* symtab.c (symbol_natural_name): New function.
* objfiles.h: Replace all uses of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
* symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
* somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
* printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
* minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
* i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
* gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
* dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
* cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
* blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
* ada-exp.y: Ditto.
* ada-exp.y: Update copyright.
* sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
* cp-valprint.c: Ditto.
2003-02-25 David Carlton <carlton@math.stanford.edu>
* generic/gdbtk.h: Replace all instances of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright.
2003-02-25 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with
DEPRECATED_SYMBOL_NAME. Update copyright.
Jeff Johnston [Tue, 25 Feb 2003 19:38:21 +0000 (19:38 +0000)]
2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
* infptrace.c (detach): Do not flag error if ptrace detach fails
and errno is set to ESRCH.
Nick Clifton [Tue, 25 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Remove site-file support - it is obsolete.
Nick Clifton [Tue, 25 Feb 2003 10:32:33 +0000 (10:32 +0000)]
(ld_sysroot): Try to set from TOOLBINDIR too.
Alan Modra [Tue, 25 Feb 2003 04:39:32 +0000 (04:39 +0000)]
* elflink.h (elf_link_read_relocs_from_section): Don't abort with
wrong reloc sizes.
Alan Modra [Tue, 25 Feb 2003 04:14:38 +0000 (04:14 +0000)]
* elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr
and rel_hdr2 when initially counting input relocs rather than after
creating output reloc sections.
Alan Modra [Tue, 25 Feb 2003 03:44:46 +0000 (03:44 +0000)]
Regenerate dependencies.
Alan Modra [Tue, 25 Feb 2003 03:22:06 +0000 (03:22 +0000)]
* hppa-dis.c: Formatting.
* hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers.
Alan Modra [Tue, 25 Feb 2003 00:20:29 +0000 (00:20 +0000)]
* hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
the space register when the value is zero.
gdbadmin [Tue, 25 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***