external/binutils.git
20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 20:09:42 +0000 (20:09 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
#ifdef CLEAR_INSN_CACHE code.
* target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
Delete #ifdef CLEAR_DEFERRED_STORES code.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 20:03:33 +0000 (20:03 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 19:54:13 +0000 (19:54 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
copyright.
* config/ia64/tm-aix.h (TARGET_ELF64): Ditto.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 19:46:22 +0000 (19:46 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* config/mips/mipsv4.mh: Delete file.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 19:39:17 +0000 (19:39 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
unreferenced macro.
(hpread_adjust_stack_address): Delete declaration.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 17:27:57 +0000 (17:27 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
gdb/1455, bug is specific to "long long" and "double".

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 14:19:51 +0000 (14:19 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
fixed.

20 years ago* elflink.c (elf_sort_symbol): Compare section id, not pointers.
Alexandre Oliva [Wed, 9 Jun 2004 13:49:04 +0000 (13:49 +0000)]
* elflink.c (elf_sort_symbol): Compare section id, not pointers.
(elf_link_add_object_symbols): Likewise.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 13:41:06 +0000 (13:41 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdb.base/structs.exp (test_struct_returns): Replace
"return_value_unknown" and "finish_value_unknown" by
"return_value_known" and "finish_value_known".  Instead of
"return_value_unknown" iff "finish_value_unknown", check
"return_value_known" implies "finish_value_known".

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 13:33:54 +0000 (13:33 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Native Debugging): Restore "@table @code"
deleted by previous patch.

20 years ago2004-06-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 9 Jun 2004 08:32:35 +0000 (08:32 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].

* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.

* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.

20 years ago* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
Alexandre Oliva [Wed, 9 Jun 2004 08:31:28 +0000 (08:31 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): New.

20 years ago*** empty log message ***
gdbadmin [Wed, 9 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoopcodes/
Jakub Jelinek [Tue, 8 Jun 2004 20:40:59 +0000 (20:40 +0000)]
opcodes/
* ia64-gen.c (in_iclass): Handle more postinc st
and ld variants.
* ia64-asmtab.c: Rebuilt.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add some new postinc tests.
* gas/ia64/dv-raw-err.l: Updated.

20 years ago2004-06-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Jun 2004 19:58:15 +0000 (19:58 +0000)]
2004-06-08  Andrew Cagney  <cagney@gnu.org>

* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
(attach, detach): When neither PT_ATTACH / PT_DETACH nor
PTRACE_ATTACH / PTRACE_DETACH available call error.
(PT_ATTACH, PT_DETACH): Move definition to attach / detach.
* infttrace.c (update_thread_state_after_attach, attach, detach):
Remove #ifdef wrappers.
* inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
* gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
* config/nm-bsd.h (ATTACH_DETACH): Delete.
* config/nm-sysv4.h (ATTACH_DETACH): Delete.
* config/nm-nbsd.h (ATTACH_DETACH): Delete.
* config/nm-linux.h (ATTACH_DETACH): Delete.
* config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
* config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.

Index: doc/ChangeLog
2004-06-08  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Native Debugging): Delete documentation on
ATTACH_DETACH.

20 years ago * configure.in: Set $configdir to the right OS specific value.
Corinna Vinschen [Tue, 8 Jun 2004 16:29:30 +0000 (16:29 +0000)]
* configure.in: Set $configdir to the right OS specific value.
Use value when setting $tcldir and $tkdir.
* configure: Regenerate.

20 years ago2004-06-08 Martin Hunt <hunt@redhat.com>
Martin Hunt [Tue, 8 Jun 2004 15:50:59 +0000 (15:50 +0000)]
2004-06-08  Martin Hunt  <hunt@redhat.com>

* gdb.base/float.exp: Add pattern for mips targets.

20 years ago * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
Paul Brook [Tue, 8 Jun 2004 13:34:56 +0000 (13:34 +0000)]
* gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
records.

20 years ago2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
Paul N. Hilfinger [Tue, 8 Jun 2004 08:42:04 +0000 (08:42 +0000)]
2004-06-08  Paul N. Hilfinger  <Hilfinger@gnat.com>

* ada-lang.c (lookup_symbol_in_language): New function to allow
re-use of another language's symbol lookup code.  (Placed here
temporarily while Ada support is being integrated into the public
tree).
(restore_language): New auxiliary function for
lookup_symbol_in_language.
* ada-lang.h (lookup_symbol_in_language): Declare (Placed here
temporarily while Ada support is being integrated into the public
tree).

20 years ago* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
Mark Kettenis [Tue, 8 Jun 2004 07:39:37 +0000 (07:39 +0000)]
* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.

20 years ago* Makefile.in (check//%): New.
Alexandre Oliva [Tue, 8 Jun 2004 05:32:51 +0000 (05:32 +0000)]
* Makefile.in (check//%): New.

20 years ago* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
Alexandre Oliva [Tue, 8 Jun 2004 05:29:10 +0000 (05:29 +0000)]
* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
(mn10300_store_return_value): Rewrite.
(mn10300_type_align): New.
(mn10300_use_struct_convention): Rewrite.
(mn10300_return_value): New, using all of the above.
(mn10300_pop_frame_regular): Add saved_regs_size.
(mn10300_gdbarch_init): Remove deprecated rewritten entry points.

20 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
Alexandre Oliva [Tue, 8 Jun 2004 05:27:32 +0000 (05:27 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
regs if PC is on movm.

20 years ago2004-06-08 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 8 Jun 2004 05:15:19 +0000 (05:15 +0000)]
2004-06-08  Randolph Chung  <tausq@debian.org>

* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.

20 years ago * gdb.ada/null_record.exp: Use "start" instead of "begin" to
Joel Brobecker [Tue, 8 Jun 2004 05:05:34 +0000 (05:05 +0000)]
    * gdb.ada/null_record.exp: Use "start" instead of "begin" to
        start the execution of the program.

20 years agodaily update
Alan Modra [Tue, 8 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 8 Jun 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoAdd native Linux support for the PowerPC E500.
Jim Blandy [Mon, 7 Jun 2004 23:37:20 +0000 (23:37 +0000)]
Add native Linux support for the PowerPC E500.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
all architectures except the E500.
* ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
#definitions.
(struct gdb_evrregset_t): New type.
(have_ptrace_getsetevrregs): New variable.
(get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
fetch_spe_registers): New functions.
(fetch_register): Call fetch_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(fetch_ppc_registers): Call fetch_spe_registers as appropriate.
Don't fetch gprs if they're pseudoregisters.
(set_spe_registers, write_spliced_spe_reg, store_spe_register,
store_spe_registers): New functions.
(store_register): Call store_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(store_ppc_registers): Call store_spe_registers as appropriate.
Don't store gprs if they're pseudoregisters.

20 years ago2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jun 2004 22:35:55 +0000 (22:35 +0000)]
2004-06-07  Jeff Johnston  <jjohnstn@redhat.com>

        * thread-db.c (thread_get_info_callback): Fill in the thread_info
        struct if one exists, even if we are dealing with a zombie thread.

20 years ago2004-06-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Jun 2004 17:58:33 +0000 (17:58 +0000)]
2004-06-07  Andrew Cagney  <cagney@gnu.org>

* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
* config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
Rename PC_REQUIRES_RUN_BEFORE_USE.
* breakpoint.c (breakpoint_sals_to_pc): Update.  Wrap reference in
#ifdef.

20 years ago* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
Jim Blandy [Mon, 7 Jun 2004 15:38:52 +0000 (15:38 +0000)]
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
* gdb.arch/i386-cpuid.h: New helper file.

20 years ago From: Albert Chin-A-Young <china@thewrittenword.com>
Daniel Jacobowitz [Mon, 7 Jun 2004 15:29:53 +0000 (15:29 +0000)]
From:  Albert Chin-A-Young  <china@thewrittenword.com>
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields
to unsigned int.

20 years ago2004-06-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 15:28:47 +0000 (15:28 +0000)]
2004-06-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
unwinding after sp has been saved to the stack but before the end
of the prologue, and after the fp has been modified but before it has
been saved to the stack.
(hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
Remove superfluous definitions.
(hppa_gdbarch_init): Remove superfluous frame base sniffer.

20 years ago2004-06-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 15:24:44 +0000 (15:24 +0000)]
2004-06-07  Randolph Chung  <tausq@debian.org>

* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.

20 years ago2004-06-07 Guy Martin <gmsoft@gentoo.org>
Randolph Chung [Mon, 7 Jun 2004 15:19:08 +0000 (15:19 +0000)]
2004-06-07  Guy Martin  <gmsoft@gentoo.org>

Committed by Randolph Chung.
* hppa-linux-nat.c: Include the correct version of the header file
depending on the kernel version.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 04:31:11 +0000 (04:31 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* gdb.texinfo (push_dummy_call): Use @code{struct value}.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:19:07 +0000 (02:19 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
(proceed, init_wait_for_inferior, handle_inferior_event): Likewise.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:17:29 +0000 (02:17 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
(hppa_hpux_skip_trampoline_code): Don't cache symbol values.
* hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
* hppa-tdep.c (hppa_symbol_address): New function definition.
* hppa-tdep.h (hppa_symbol_address): New function declaration.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:12:59 +0000 (02:12 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* gdb.texinfo (push_dummy_call): Update argument list to match
the new push_dummy_call method signature.  Describe the function
argument.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:08:07 +0000 (02:08 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (struct value): Forward declaration.
(gdbarch_tdep): Define tdep find_global_pointer method.
* hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
associated with the function we are trying to call, and write it
to the gp register.
(hppa32_convert_from_funct_ptr_addr): New function.
(hppa_find_global_pointer): New function.
(hppa_gdbarch_init): Set default find_global_pointer method; set
convert_from_func_ptr_addr method.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
(hppa_linux_init_abi): Set find_global_pointer method.
* Makefile.in (hppa-linux-tdep.o): Add value.h dependency.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:02:55 +0000 (02:02 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
to struct value *function.
* gdbarch.c: Regenerate.
* gdbarch.h: Likewise.
* infcall.c (call_function_by_hand): Pass entire function value
to push_dummy_call.

* Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
(ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
* alpha-tdep.c (alpha_push_dummy_call): Update call signature.
* amd64-tdep.c (amd64_push_dummy_call): Likewise.
* arm-tdep.c (arm_push_dummy_call): Likewise.
* avr-tdep.c (avr_push_dummy_call): Likewise.
* cris-tdep.c (cris_push_dummy_call): Likewise.
* d10v-tdep.c (d10v_push_dummy_call): Likewise.
* frv-tdep.c (frv_push_dummy_call): Likewise.
* h8300-tdep.c (h8300_push_dummy_call): Likewise.
* hppa-tdep.c (hppa32_push_dummy_call)
(hppa64_push_dummy_call): Likewise.
* i386-tdep.c (i386_push_dummy_call): Likewise.
* ia64-tdep.c (ia64_push_dummy_call): Likewise.
* m32r-tdep.c (m32r_push_dummy_call): Likewise.
* m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
* m68k-tdep.c (m68k_push_dummy_call): Likewise.
* m88k-tdep.c (m88k_push_dummy_call): Likewise.
* mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
* s390-tdep.c (s390_push_dummy_call): Likewise.
* sh-tdep.c (sh_push_dummy_call_fpu)
(sh_push_dummy_call_nofpu): Likewise.
* sparc-tdep.c (sparc32_push_dummy_call): Likewise.
* sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
* vax-tdep.c (vax_push_dummy_call): Likewise.

20 years ago*** empty log message ***
gdbadmin [Mon, 7 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 7 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 6 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 6 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago* ppc-linux-nat.c (fetch_register): Don't forget to pass the
Jim Blandy [Sat, 5 Jun 2004 03:25:22 +0000 (03:25 +0000)]
* ppc-linux-nat.c (fetch_register): Don't forget to pass the
gdbarch argument to register_size.

20 years ago* rs6000-tdep.c (rs6000_store_return_value): Use
Jim Blandy [Sat, 5 Jun 2004 00:11:49 +0000 (00:11 +0000)]
* rs6000-tdep.c (rs6000_store_return_value): Use
regcache_cooked_write_part instead of
deprecated_write_register_bytes.
(rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
not gdbarch_deprecated_store_return_value.

20 years ago.
Roland McGrath [Sat, 5 Jun 2004 00:11:06 +0000 (00:11 +0000)]
.

20 years ago2004-06-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 5 Jun 2004 00:09:26 +0000 (00:09 +0000)]
2004-06-04  Roland McGrath  <roland@redhat.com>

* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
differently to be robust to output buffering differences.

20 years agodaily update
Alan Modra [Sat, 5 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 5 Jun 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 4 Jun 2004 23:27:50 +0000 (23:27 +0000)]
2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.

20 years ago* ppc-linux-nat.c (store_register, fetch_register): Remove
Jim Blandy [Fri, 4 Jun 2004 23:07:28 +0000 (23:07 +0000)]
* ppc-linux-nat.c (store_register, fetch_register): Remove
incorrect assertions.  Simplify and generalize handling of
transfers whose sizes are not multiples of, or less than, sizeof
(PTRACE_XFER_TYPE).

20 years ago.
Roland McGrath [Fri, 4 Jun 2004 21:36:23 +0000 (21:36 +0000)]
.

20 years ago2004-06-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Jun 2004 21:36:06 +0000 (21:36 +0000)]
2004-06-04  Roland McGrath  <roland@redhat.com>

* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
next gdb prompt.

20 years ago2004-06-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 4 Jun 2004 21:28:15 +0000 (21:28 +0000)]
2004-06-04  Jeff Johnston  <jjohnstn@redhat.com>

        * infrun.c (handle_inferior_event): Don't treat an invalid ptid
        as a new thread event.
        * thread_db.c (thread_get_info_callback): If the thread is a
        zombie, return TD_THR_ZOMBIE.
        * (thread_from_lwp): If thread_get_info_callback returns
        TD_THR_ZOMBIE, check if the thread is still on the thread list
        and return a -1 ptid if not found.
        (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
        change the status to TARGET_WAITKIND_SPURIOUS.

20 years agodaily update
Alan Modra [Fri, 4 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 4 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 3 Jun 2004 22:10:56 +0000 (22:10 +0000)]
2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>

Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.

20 years ago * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
Corinna Vinschen [Thu, 3 Jun 2004 11:46:34 +0000 (11:46 +0000)]
* sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
double values in little endian mode.

20 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
Christopher Faylor [Thu, 3 Jun 2004 04:57:38 +0000 (04:57 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

20 years ago*** empty log message ***
gdbadmin [Thu, 3 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
Andrew Cagney [Wed, 2 Jun 2004 21:01:55 +0000 (21:01 +0000)]
2004-06-02  Albert Chin-A-Young  <china@thewrittenword.com>

Committed by Andrew Cagney.
* gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
after last enum constant to avoid error from IBM C
compiler.

20 years ago* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
Jim Blandy [Wed, 2 Jun 2004 18:24:35 +0000 (18:24 +0000)]
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.

20 years ago* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
Jim Blandy [Wed, 2 Jun 2004 18:17:05 +0000 (18:17 +0000)]
* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
to 'message', and make it local to the lone block that uses it.

20 years agoada-exp.y: Synchronize with current ACT sources.
Paul N. Hilfinger [Wed, 2 Jun 2004 09:55:36 +0000 (09:55 +0000)]
ada-exp.y: Synchronize with current ACT sources.
ada-lang.c: Ditto.
ada-lang.h: Ditto.
ada-lex.l: Ditto.
ada-tasks.c: Ditto.
ada-typeprint.c: Ditto.
ada-valprint.c: Ditto.

20 years ago* ppc-tdep.h: Delete unused 'regoff' member.
Jim Blandy [Wed, 2 Jun 2004 03:06:23 +0000 (03:06 +0000)]
* ppc-tdep.h: Delete unused 'regoff' member.
* rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.

20 years ago*** empty log message ***
gdbadmin [Wed, 2 Jun 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-01 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 1 Jun 2004 22:39:23 +0000 (22:39 +0000)]
2004-06-01  Michael Chastain  <mec.gnu@mindspring.com>

Fix PR symtab/1661.
* hpread.c (hpread_pxdb_needed): Call memset after alloca.
(hpread_read_struct_type): Likewise.

20 years ago * s390-opc.txt: Correct architecture mask for some opcodes.
Martin Schwidefsky [Tue, 1 Jun 2004 13:56:11 +0000 (13:56 +0000)]
    * s390-opc.txt: Correct architecture mask for some opcodes.
lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available
in the esa mode as well.

20 years ago2004-06-01 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 1 Jun 2004 13:33:58 +0000 (13:33 +0000)]
2004-06-01  Andrew Cagney  <cagney@gnu.org>

* mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
instead of xasprintf.
* mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt)
(mi_cmd_thread_select, mi_cmd_thread_list_ids)
(mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers)
(mi_cmd_data_list_register_values)
(get_register, mi_cmd_data_write_register_values)
(mi_cmd_data_write_register_values)
(mi_cmd_data_assign, mi_cmd_data_evaluate_expression)
(mi_cmd_target_download, mi_cmd_target_select)
(mi_cmd_data_read_memory, mi_cmd_data_write_memory)
(mi_execute_cli_command, mi_execute_async_cli_command)
(mi_execute_async_cli_command): Ditto.
* mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
* mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.

20 years ago2004-06-01 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 1 Jun 2004 13:15:02 +0000 (13:15 +0000)]
2004-06-01  Andrew Cagney  <cagney@gnu.org>

* mi/mi-cmds.h (mi_error_last_message): Delete declaration.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Call
error_last_message instead of mi_error_last_message.
* mi/mi-main.c (mi_error_last_message): Delete function.

20 years ago2004-06-01 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 1 Jun 2004 12:55:33 +0000 (12:55 +0000)]
2004-06-01  Andrew Cagney  <cagney@gnu.org>

* mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for
"invalid number of columns" error.  Delete redundant "out of
memory" check.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 08:11:41 +0000 (08:11 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:54:42 +0000 (07:54 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:46:01 +0000 (07:46 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

Merge this patch from the gcc tree:

2004-05-30  Andreas Jaeger  <aj@suse.de>
    Jim Wilson <wilson@specifixinc.com>

* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77
like CC.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:42:22 +0000 (07:42 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

* Makefile.in: Regenerate.
* configure: Regenerate.

20 years ago*** empty log message ***
gdbadmin [Tue, 1 Jun 2004 00:00:40 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 1 Jun 2004 00:00:11 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Mon, 31 May 2004 13:27:45 +0000 (13:27 +0000)]
merge from gcc

20 years ago* i386bsd-nat.c: Don't include <sys/procfs.h>.
Mark Kettenis [Mon, 31 May 2004 11:20:41 +0000 (11:20 +0000)]
* i386bsd-nat.c: Don't include <sys/procfs.h>.
(gregset_t, fpregset_t): Remove typedefs.
(CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
(REG_OFFSET): Rename argument.
(i386bsd_r_reg_offset): Rename from reg_offset.
(REG_ADDR): Remove macro.
(cannot_fetch_register, supply_gregset, fill_gregset): Remove
functions.
(i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
(fetch_inferior_registers): Use `struct reg' and `struct fpreg'
instead of gregset_t and fpregset_t.  Use i386bsd_supply_gregset
instead of supply_gregset.
(store_inferior_registers): Use `struct reg' and `struct fpreg'
instead of gregset_t and fpregset_t.  Use i386bsd_collect_gregset
instead of fill_gregset.
(register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.

20 years ago* i386bsd-nat.c: Don't include "gregset.h".
Mark Kettenis [Mon, 31 May 2004 10:01:18 +0000 (10:01 +0000)]
* i386bsd-nat.c: Don't include "gregset.h".
(supply_gregset, fill_gregset): Make static.
(supply_fpregset, fill_fpregset): Remove.
* Makefile.in (i386bsd-nat.o): Update dependencies.

20 years ago*** empty log message ***
gdbadmin [Mon, 31 May 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 31 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago* fbsd-proc.c: Include "regcache.h", "regset.h" and
Mark Kettenis [Sun, 30 May 2004 18:29:10 +0000 (18:29 +0000)]
* fbsd-proc.c: Include "regcache.h", "regset.h" and
"gdb_assert.h".  Con't include "gregset.h".
(fbsd_make_corefile_notes): Use regset-based core file support
instead off fill_gregset and fill_fpregset.
* Makefile.in (fbsd-proc.o): Update dependencies.

20 years ago* m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
Mark Kettenis [Sun, 30 May 2004 18:16:31 +0000 (18:16 +0000)]
* m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
instructions.
(m88k_frame_prev_register): Simplify code a bit.

20 years ago* amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
Mark Kettenis [Sun, 30 May 2004 16:56:08 +0000 (16:56 +0000)]
* amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
(amd64_collect_fpregset): New function.
(amd64_regset_from_core_section): Use amd64_collect_fpregset.

20 years ago* hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.
Mark Kettenis [Sun, 30 May 2004 14:31:29 +0000 (14:31 +0000)]
* hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.

20 years ago* i386-tdep.c (i386_supply_gregset): Adjust comment.
Mark Kettenis [Sun, 30 May 2004 14:13:49 +0000 (14:13 +0000)]
* i386-tdep.c (i386_supply_gregset): Adjust comment.
(i386_collect_gregset): New function.
(i386_supply_fpregset): Adjust comment.
(i386_collect_fpregset): New function.
(i386_regset_from_core_section): Use i386_collect_gregset and
i386_collect_fpregset.

20 years ago* hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
Mark Kettenis [Sun, 30 May 2004 14:11:00 +0000 (14:11 +0000)]
* hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
handle VALUEP being null.

20 years agodaily update
Alan Modra [Sun, 30 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 30 May 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* regset.h (collect_regset_ftype): Unconstify fourth argument.
Mark Kettenis [Sat, 29 May 2004 22:28:57 +0000 (22:28 +0000)]
* regset.h (collect_regset_ftype): Unconstify fourth argument.

20 years ago2004-05-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 May 2004 19:25:54 +0000 (19:25 +0000)]
2004-05-29  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last
change.

20 years ago* MAINTAINERS: Undelete m88k. Add myself as maintainer.
Mark Kettenis [Sat, 29 May 2004 15:12:23 +0000 (15:12 +0000)]
* MAINTAINERS: Undelete m88k.  Add myself as maintainer.

20 years agoFix botched checkin.
Mark Kettenis [Sat, 29 May 2004 15:10:41 +0000 (15:10 +0000)]
Fix botched checkin.

20 years ago* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
Mark Kettenis [Sat, 29 May 2004 15:09:18 +0000 (15:09 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
assembler in OpenBSD 3.5-current.
(amd64obsd_sigcontext_addr): Likewise.

20 years ago* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
Mark Kettenis [Sat, 29 May 2004 12:38:24 +0000 (12:38 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
assembler in OpenBSD 3.5-current.
(amd64obsd_sigcontext_addr): Likewise.

* MAINTAINERS: Undelete m88k.  Add myself as maintainer.

20 years ago * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
Alan Modra [Sat, 29 May 2004 04:30:41 +0000 (04:30 +0000)]
* ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
(lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.

20 years ago * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
Ian Lance Taylor [Sat, 29 May 2004 00:12:03 +0000 (00:12 +0000)]
* readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.