external/binutils.git
20 years ago * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
Richard Sandiford [Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)]
* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
(mips_elf_set_no_stub): New function.
(mips_elf_multi_got): Call it.
(_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
use mips_elf_create_dynamic_relocation to deal with any compatibility
issues.  Store the adjusted addend in the GOT slot.

20 years agoRevert change to t01_mov test.
Nick Clifton [Wed, 26 Nov 2003 13:18:23 +0000 (13:18 +0000)]
Revert change to t01_mov test.
Fix ldm/stm verifying code to allow er4-er7 for H8SX.

20 years agoAdd a comment describing the difference between readelf and objdump.
Nick Clifton [Wed, 26 Nov 2003 11:49:10 +0000 (11:49 +0000)]
Add a comment describing the difference between readelf and objdump.

20 years ago* gdb.objc/objcdecode.exp: Test for PR objc/1238.
Adam Fedor [Wed, 26 Nov 2003 04:23:25 +0000 (04:23 +0000)]
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
* gdb.objc/objcdecode.m: New file.

20 years ago* gdb.objc/nondebug.exp: Test for PR objc/1236.
Adam Fedor [Wed, 26 Nov 2003 04:21:51 +0000 (04:21 +0000)]
* gdb.objc/nondebug.exp: Test for PR objc/1236.
* gdb.objc/nondebug.m: New file.

20 years ago * gdb.asm/asm-source.exp: Make sure the final link succeeds on
Ben Elliston [Wed, 26 Nov 2003 01:17:16 +0000 (01:17 +0000)]
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
NetBSD as it does on FreeBSD.  Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.

20 years ago*** empty log message ***
gdbadmin [Wed, 26 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-11-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Nov 2003 23:31:40 +0000 (23:31 +0000)]
2003-11-25  Andrew Cagney  <cagney@redhat.com>

* thread-db.c (enable_thread_event): New function.  Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.

20 years ago * config/tc-h8300.c (h8_exp): Remove.
Kazu Hirata [Tue, 25 Nov 2003 23:09:47 +0000 (23:09 +0000)]
* config/tc-h8300.c (h8_exp): Remove.

20 years agodaily update
Alan Modra [Tue, 25 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Tue, 25 Nov 2003 22:35:33 +0000 (22:35 +0000)]
merge from gcc

20 years ago2003-11-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 25 Nov 2003 22:15:24 +0000 (22:15 +0000)]
2003-11-25  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.

20 years ago * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
Danny Smith [Tue, 25 Nov 2003 19:50:04 +0000 (19:50 +0000)]
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
option.
* dlltool.c (usage): Likewise.

20 years ago2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 25 Nov 2003 17:39:07 +0000 (17:39 +0000)]
2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/method.exp: Accept output of new demangler.

20 years agoFix typo in my e-mail address in last ChangeLog commit.
Michael Chastain [Tue, 25 Nov 2003 17:10:57 +0000 (17:10 +0000)]
Fix typo in my e-mail address in last ChangeLog commit.
Argh!

20 years ago Catch illegal register pairings in ldm/stm instructions.
Nick Clifton [Tue, 25 Nov 2003 16:13:36 +0000 (16:13 +0000)]
 Catch illegal register pairings in ldm/stm instructions.
Update test files to avoid illegal pairings.

20 years ago2003-11-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Nov 2003 16:01:36 +0000 (16:01 +0000)]
2003-11-25  Andrew Cagney  <cagney@redhat.com>

* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD.  Add comments.
* Makefile.in (infrun.o): Update dependencies.

20 years ago2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
Michael Chastain [Tue, 25 Nov 2003 15:01:31 +0000 (15:01 +0000)]
2003-11-25  Michael Chastain  <mec@gnu.mindspring.com>

* gdb/class2.exp: New file.
* gdb/class2.cc: New file.

20 years ago2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 25 Nov 2003 14:34:37 +0000 (14:34 +0000)]
2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.

20 years agoSkip N_EXCL stabs when procesing N_BINCL stabs.
Nick Clifton [Tue, 25 Nov 2003 11:59:57 +0000 (11:59 +0000)]
Skip N_EXCL stabs when procesing N_BINCL stabs.

20 years ago * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
Alan Modra [Tue, 25 Nov 2003 02:14:25 +0000 (02:14 +0000)]
* elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
ppc_stub_plt_call to symbols defined in shared libs.

20 years ago*** empty log message ***
gdbadmin [Tue, 25 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 24 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Mon, 24 Nov 2003 19:33:33 +0000 (19:33 +0000)]
merge from gcc

20 years ago * aix5ppc-core.c: Fix comment typos.
Kazu Hirata [Mon, 24 Nov 2003 18:06:40 +0000 (18:06 +0000)]
* aix5ppc-core.c: Fix comment typos.
* aout-arm.c: Likewise.
* aout-ns32k.c: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* bfd-in.h: Likewise.
* bfd.c: Likewise.
* bfdio.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* coff-i860.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-z8k.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* cofflink.c: Likewise.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-ns32k.c: Likewise.
* dwarf2.c: Likewise.
* bfd-in2.h: Regenerate.

20 years ago * listing.c: Convert to ISO-C.
Kazu Hirata [Mon, 24 Nov 2003 17:52:33 +0000 (17:52 +0000)]
* listing.c: Convert to ISO-C.
* listing.h: Likewise.
* macro.c: Likewise.
* macro.h: Likewise.

20 years ago * NEWS: Mention improved location expression support.
Daniel Jacobowitz [Mon, 24 Nov 2003 17:02:34 +0000 (17:02 +0000)]
* NEWS: Mention improved location expression support.

20 years ago * frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
Kevin Buettner [Mon, 24 Nov 2003 16:45:03 +0000 (16:45 +0000)]
* frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
(SPR_REGNUM_MAX): Delete.
* frv.c (gdb/sim-frv.h): Include.
(frvbf_fetch_register, frvbf_store_register): Use register number
constants from gdb/sim-frv.h.  Check availability of general
purpose and float registers.

20 years ago * app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
Jakub Jelinek [Mon, 24 Nov 2003 09:24:39 +0000 (09:24 +0000)]
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
when transitioning from states 14 or 15 to 0 or 1.

20 years ago * hash.c: Convert to ISO-C.
Kazu Hirata [Mon, 24 Nov 2003 03:37:58 +0000 (03:37 +0000)]
* hash.c: Convert to ISO-C.
* hash.h: Likewise.
* input-file.c: Likewise.
* input-file.h: Likewise.
* input-scrub.c: Likewise.
* itbl-ops.c: Likewise.
* itbl-ops.h: Likewise.

20 years ago*** empty log message ***
gdbadmin [Mon, 24 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 23:13:00 +0000 (23:13 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (infrun.o): Update dependencies.
* infrun.c: Include "exec.h".
(handle_inferior_event): Pass exec_ops to SOLIB_ADD.

20 years agodaily update
Alan Modra [Sun, 23 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 21:49:12 +0000 (21:49 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_unwind_signed_register): Delete function.
* frame.h (frame_unwind_register_signed): Delete declaration.
* mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.

20 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 21:32:42 +0000 (21:32 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.

20 years ago* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
Mark Kettenis [Sun, 23 Nov 2003 21:14:45 +0000 (21:14 +0000)]
* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
of gdb_test "run".

20 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 20:41:17 +0000 (20:41 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* defs.h (DEPRECATED_STREQN): Rename STREQN.
(DEPRECATED_STREQ): Rename STREQ.
* ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update.
* config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update.
* config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update.
* dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update.
* eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update.
* jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update.
* mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update.
* p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update.
* source.c, sparc-tdep.c, stack.c, target.c: Update.

20 years ago* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
Mark Kettenis [Sun, 23 Nov 2003 19:30:52 +0000 (19:30 +0000)]
* gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
"continue" into "run".

20 years ago2003-11-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 19:24:05 +0000 (19:24 +0000)]
2003-11-23  Andrew Cagney  <cagney@redhat.com>

* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* elfread.c (elf_symtab_read): Delete STREQ from comment.

20 years ago2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 23 Nov 2003 18:24:46 +0000 (18:24 +0000)]
2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
reference to gcc_compiled.

20 years ago2003-11-23 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 23 Nov 2003 17:48:00 +0000 (17:48 +0000)]
2003-11-23  Michael Chastain  <mec@shout.net>

Fix PR testsuite/1463.
* gdb.base/structs.exp (start_structs_test): Call
get_debug_format before using the debug format.

20 years ago * config/tc-h8300.c (Hmode): Make it global.
Kazu Hirata [Sun, 23 Nov 2003 15:43:50 +0000 (15:43 +0000)]
* config/tc-h8300.c (Hmode): Make it global.
(Smode): Likewise.
(Nmode): Likewise.
(SXmode): Likewise.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 02:48:40 +0000 (02:48 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_frame_xmalloc): Delete function.
(deprecated_set_frame_extra_info_hack): Delete function.
(deprecated_set_frame_saved_regs_hack): Delete function.
* frame.h (deprecated_frame_xmalloc): Delete declaration.
(deprecated_set_frame_extra_info_hack): Delete declaration.
(deprecated_set_frame_saved_regs_hack): Delete declaration.
* mcore-tdep.c (analyze_dummy_frame): Instead of
deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack,
and deprecated_set_frame_extra_info_hack use
deprecated_frame_xmalloc_with_cleanup.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Delete call to
deprecated_set_frame_saved_regs_hack.

20 years ago * README-vms: Fix comment typos.
Kazu Hirata [Sun, 23 Nov 2003 02:14:21 +0000 (02:14 +0000)]
* README-vms: Fix comment typos.
* as.h: Likewise.
* dwarf2dbg.c: Likewise.
* ecoff.c: Likewise.
* hash.c: Likewise.
* listing.c: Likewise.
* write.c: Likewise.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 01:25:39 +0000 (01:25 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_frame_chain): Delete call to
deprecated_inside_entry_file.

20 years ago * cxxfilt.c (long_options): Add --no-params.
Ian Lance Taylor [Sun, 23 Nov 2003 01:10:45 +0000 (01:10 +0000)]
* cxxfilt.c (long_options): Add --no-params.
(main): Handle -p/--no-params.
* doc/binutils.texi (c++filt): Document -p/--no-params.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 01:09:19 +0000 (01:09 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* lib/gdb.exp (gdb_test_multiple): Add simple example.
* gdb.base/structs.exp: Use gdb_test_multiple.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 23 Nov 2003 00:27:54 +0000 (00:27 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* frame.h (deprecated_set_frame_next_hack): Delete declaration.
(deprecated_set_frame_prev_hack): Delete declaration.
* frame.c (deprecated_set_frame_next_hack): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
* mcore-tdep.c (analyze_dummy_frame): Delete calls to
"deprecated_set_frame_next_hack" and
"deprecated_set_frame_prev_hack".
* mn10300-tdep.c (analyze_dummy_frame): Ditto.

20 years ago*** empty log message ***
gdbadmin [Sun, 23 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 23:24:16 +0000 (23:24 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_register_convertible): Delete function.
(mips_register_convert_to_virtual): Delete function.
(mips_register_convert_to_raw): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_convertible",
"deprecated_register_convert_to_virtual", or
"deprecated_register_convert_to_raw".
(mips_pseudo_register_write, mips_pseudo_register_read): Handle
32/64 cooked to raw register conversions.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 23:00:37 +0000 (23:00 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_get_frame_context): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
(struct frame_info): Delete member "context".
* frame.h (deprecated_get_frame_context): Delete declaration.
(deprecated_set_frame_context): Delete declaration.

20 years agodaily update
Alan Modra [Sat, 22 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 22:43:05 +0000 (22:43 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 22:32:28 +0000 (22:32 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
(mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
mips_regsize.
(mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
* config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
* config/mips/tm-irix5.h: Update copyright.
(SIGFRAME_REG_SIZE): Delete macro.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 22:15:23 +0000 (22:15 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
* config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
declaration.
(DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
* infcall.c (call_function_by_hand): Delete #ifdef
DEPRECATED_VALUE_RETURNED_FROM_STACK code.
* infcmd.c (print_return_value): Ditto.

20 years ago * sim-options.c (standard_options): Fix the names of H8
Kazu Hirata [Sat, 22 Nov 2003 21:37:49 +0000 (21:37 +0000)]
* sim-options.c (standard_options): Fix the names of H8
variants.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 21:12:24 +0000 (21:12 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (skip_prologue_using_sal): New function.
(mips32_skip_prologue, mips16_skip_prologue): Use
skip_prologue_using_sal to get an upper bound on the search.

20 years ago * ehopt.c: Convert to ISO-C.
Kazu Hirata [Sat, 22 Nov 2003 16:03:03 +0000 (16:03 +0000)]
* ehopt.c: Convert to ISO-C.
* emul.h: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-copy.c: Likewise.
* flonum-mult.c: Likewise.
* flonum.h: Likewise.
* frags.c: Likewise.
* frags.h: Likewise.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 16:01:03 +0000 (16:01 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete
#if 0'ed macro.
* infrun.c (step_into_function): Delete #ifdef
PROLOGUE_FIRSTLINE_OVERLAP code.
* symtab.c (find_function_start_sal): Ditto.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 15:48:30 +0000 (15:48 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* remote-rdp.c: Update copyright.
(rdp_init): #if 0 references to "target_byte_order".

20 years ago * config/atof-tahoe.c: Fix comment typos.
Kazu Hirata [Sat, 22 Nov 2003 15:32:28 +0000 (15:32 +0000)]
* config/atof-tahoe.c: Fix comment typos.
* config/m68k-parse.y: Likewise.
* config/obj-aout.c: Likewise.
* config/obj-bout.c: Likewise.
* config/obj-vms.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/te-delt88.h: Likewise.
* config/te-delta.h: Likewise.
* config/te-generic.h: Likewise.
* config/te-macos.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-psos.h: Likewise.
* config/te-sun3.h: Likewise.
* config/te-tmips.h: Likewise.
* config/xtensa-relax.c: Likewise.

20 years ago2003-11-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Nov 2003 14:04:39 +0000 (14:04 +0000)]
2003-11-22  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_o32_store_return_value): Delete function.
(mips_o32_return_value): Replace mips_o32_xfer_return_value.
(mips_o32_extract_return_value): Delete function.
(mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value.
(mips_n32n64_extract_return_value): Delete function.
(mips_n32n64_store_return_value): Delete function.
(mips_gdbarch_init): For o32 and n32n64, set "return_value"
instead of "store_return_value", "extract_return_value", and
"use_struct_convention".
(mips_n32n64_use_struct_convention): Delete function.

20 years ago2003-11-22 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinek [Sat, 22 Nov 2003 10:45:44 +0000 (10:45 +0000)]
2003-11-22  Jakub Jelinek  <jakub@redhat.com>

* elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
(elf_i386_check_relocs): Set it.
(elf_i386_finish_dynamic_symbol): If it is not set,
clear st_value of SHN_UNDEF symbol.

20 years ago * doc/c-ppc.texi (PowerPC-Pseudo): Add section.
Alan Modra [Sat, 22 Nov 2003 06:14:48 +0000 (06:14 +0000)]
* doc/c-ppc.texi (PowerPC-Pseudo): Add section.

20 years ago * gas/i386/divide.s: New.
Alan Modra [Sat, 22 Nov 2003 04:47:17 +0000 (04:47 +0000)]
* gas/i386/divide.s: New.
* gas/i386/divide.d: New.
* gas/i386/i386.exp (gas_32_check): Run it.

20 years ago * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
Alan Modra [Sat, 22 Nov 2003 04:46:36 +0000 (04:46 +0000)]
* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.

20 years ago * config/tc-a29k.h: Fix comment typos.
Kazu Hirata [Sat, 22 Nov 2003 02:35:31 +0000 (02:35 +0000)]
* config/tc-a29k.h: Fix comment typos.
* config/tc-arm.c: Likewise.
* config/tc-dlx.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mmix.c: Likewise.
* config/tc-msp430.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-or32.c: Likewise.
* config/tc-or32.h: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.

20 years ago * ecoff.c: Convert to ISO-C.
Kazu Hirata [Sat, 22 Nov 2003 00:20:48 +0000 (00:20 +0000)]
* ecoff.c: Convert to ISO-C.
* ecoff.h: Likewise.

20 years ago*** empty log message ***
gdbadmin [Sat, 22 Nov 2003 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 21 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2003 22:01:27 +0000 (22:01 +0000)]
merge from gcc

20 years ago * frv-tdep.c (frv_frame_this_id): Eliminate call to
Kevin Buettner [Fri, 21 Nov 2003 21:36:23 +0000 (21:36 +0000)]
* frv-tdep.c (frv_frame_this_id): Eliminate call to
inside_entry_func().

20 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2003 21:02:26 +0000 (21:02 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2003 17:42:45 +0000 (17:42 +0000)]
merge from gcc

20 years ago * gas/ppc/machine.s: New.
Alan Modra [Fri, 21 Nov 2003 15:05:55 +0000 (15:05 +0000)]
* gas/ppc/machine.s: New.
* gas/ppc/machine.d: New.
* gas/ppc/ppc.exp: Run it.

20 years ago * config/tc-ppc.c (parse_cpu): New function, broken out from..
Alan Modra [Fri, 21 Nov 2003 15:05:15 +0000 (15:05 +0000)]
* config/tc-ppc.c (parse_cpu): New function, broken out from..
(md_parse_option): ..here.
(ppc_setup_opcodes): New function, broken out from..
(md_begin): ..here.
(ppc_machine): Implement .machine pseudo op.

20 years ago * config/tc-hppa.c: Fix comment typos.
Kazu Hirata [Fri, 21 Nov 2003 14:38:06 +0000 (14:38 +0000)]
* config/tc-hppa.c: Fix comment typos.
* config/tc-i370.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-iq2000.h: Likewise.

20 years ago * depend.c: Convert to ISO-C.
Kazu Hirata [Fri, 21 Nov 2003 13:28:35 +0000 (13:28 +0000)]
* depend.c: Convert to ISO-C.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.

20 years ago * app.c: Convert to ISO-C.
Kazu Hirata [Fri, 21 Nov 2003 01:52:16 +0000 (01:52 +0000)]
* app.c: Convert to ISO-C.
* as.h: Likewise.
* atof-generic.c: Likewise.
* bignum-copy.c: Likewise.
* bignum.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.

20 years ago * config/tc-a29k.h: Fix comment typos.
Kazu Hirata [Fri, 21 Nov 2003 00:24:40 +0000 (00:24 +0000)]
* config/tc-a29k.h: Fix comment typos.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-arm.h: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-dlx.h: Likewise.

20 years ago*** empty log message ***
gdbadmin [Fri, 21 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 20 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago* i386-tdep.c (i386_extract_return_value,
Mark Kettenis [Thu, 20 Nov 2003 22:37:50 +0000 (22:37 +0000)]
* i386-tdep.c (i386_extract_return_value,
i386_store_return_value): Add gdbarch argument.  Use it instead of
determining it from REGCACHE.  Remove recursive call for
structures with a single member.
(i386_use_struct_convention): Remove.
(i386_reg_struct_return_p): New function.
(i386_return_value): New function.
(i386_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
* x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.

20 years ago* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
DJ Delorie [Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)]
* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
sections.

20 years ago* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
Jim Blandy [Thu, 20 Nov 2003 18:42:21 +0000 (18:42 +0000)]
* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.

20 years ago* osabi.c (_initialize_gdb_osabi): Don't return before registering
Jim Blandy [Thu, 20 Nov 2003 18:37:20 +0000 (18:37 +0000)]
* osabi.c (_initialize_gdb_osabi): Don't return before registering
the 'set osabi' and 'show osabi' commands.

20 years ago2003-11-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 20 Nov 2003 18:03:48 +0000 (18:03 +0000)]
2003-11-20  Andrew Cagney  <cagney@redhat.com>

* gdb.base/structs.exp: Handle and recover from internal errors.
Replace "foo${n}" with "foo<n>" in test messages.

20 years ago2003-11-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 20 Nov 2003 17:11:55 +0000 (17:11 +0000)]
2003-11-20  Andrew Cagney  <cagney@redhat.com>

* gdb.base/structs.exp: Update copyright.  Rewrite.
* gdb.base/structs.c: Update copyright.  Rewrite.

20 years ago2003-11-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 20 Nov 2003 15:58:08 +0000 (15:58 +0000)]
2003-11-20  Andrew Cagney  <cagney@redhat.com>

* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
resync count exceeded.

20 years ago2003-11-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 20 Nov 2003 15:36:34 +0000 (15:36 +0000)]
2003-11-20  Andrew Cagney  <cagney@redhat.com>

* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
from the internal error.
* lib/gdb.exp (gdb_internal_error_resync): New procedure.
Original from Jim Blandy.
(gdb_test_multiple): Use gdb_internal_error_resync.

20 years ago * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
Martin Schwidefsky [Thu, 20 Nov 2003 09:54:07 +0000 (09:54 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
section for reloc output and subtract the output section's address
from the addend when converting a relocation into one against a
section symbol.
* elf64-s390.c (elf_s390_relocate_section): Likewise.

20 years ago * config/tc-h8300.c: Make some functions and global
Kazu Hirata [Thu, 20 Nov 2003 04:25:26 +0000 (04:25 +0000)]
* config/tc-h8300.c: Make some functions and global
variables static appropriately.

20 years ago * config/obj-ieee.c: Remove duplicate prototypes.
Kazu Hirata [Thu, 20 Nov 2003 04:12:19 +0000 (04:12 +0000)]
* config/obj-ieee.c: Remove duplicate prototypes.
* config/tc-h8300.c: Likewise.

20 years ago * config/tc-h8300.c: Convert to ISO-C.
Kazu Hirata [Thu, 20 Nov 2003 03:31:36 +0000 (03:31 +0000)]
* config/tc-h8300.c: Convert to ISO-C.
* config/tc-h8300.h: Likewise.

20 years ago * config/tc-mcore.h: Remove prototypes already in tc.h.
Kazu Hirata [Thu, 20 Nov 2003 03:11:18 +0000 (03:11 +0000)]
* config/tc-mcore.h: Remove prototypes already in tc.h.
* config/tc-tic4x.c: Likewise.

20 years agomerge from gcc
DJ Delorie [Thu, 20 Nov 2003 02:01:32 +0000 (02:01 +0000)]
merge from gcc

20 years ago * config/tc-arc.c: Remove a local prototype of atof_ieee.
Kazu Hirata [Thu, 20 Nov 2003 01:36:49 +0000 (01:36 +0000)]
* config/tc-arc.c: Remove a local prototype of atof_ieee.
* config/tc-ip2k.c: Likewise.
* config/tc-iq2000.c: Likewise.
* config/tc-tic30.c: Remove a comment.

20 years ago * config/obj-aout.h: Fix comment typos.
Kazu Hirata [Thu, 20 Nov 2003 00:01:55 +0000 (00:01 +0000)]
* config/obj-aout.h: Fix comment typos.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.c: Likewise.
* config/obj-ieee.c: Likewise.
* config/obj-som.c: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.

20 years ago*** empty log message ***
gdbadmin [Thu, 20 Nov 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***

20 years ago * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
Bob Wilson [Wed, 19 Nov 2003 23:55:06 +0000 (23:55 +0000)]
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
call to dwarf2_emit_insn.