binutils-gdb.git
20 years ago2004-05-25 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 26 May 2004 04:02:24 +0000 (04:02 +0000)]
2004-05-25  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
and multiple stack unwinds.
(hppa_stub_unwind_sniffer): Handle unwind from pc == 0.

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

20 years agodaily update
Alan Modra [Wed, 26 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 25 May 2004 21:55:43 +0000 (21:55 +0000)]
2004-05-25  Andrew Cagney  <cagney@gnu.org>

* symfile.h (symbol_file_add_from_memory): Delete declaration.
* symfile-mem.h: Delete file.
* symfile-mem.c: Do not include "symfile-mem.h".
(symbol_file_add_from_memory): Make static. Use "struct bfd" and
"struct bfd_section".  When an error do not bother returning NULL.
(add_symbol_file_from_memory_command): Use "struct bfd" and
"struct bfd_section".
* Makefile.in (symfile_mem_h): Delete.
(symfile-mem.o): Update dependencies.

20 years ago* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
DJ Delorie [Tue, 25 May 2004 20:36:50 +0000 (20:36 +0000)]
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros.  Use them in all the recursive
targets.
* Makefile.in: Regenerate.

20 years agomerge from gcc
DJ Delorie [Tue, 25 May 2004 20:03:59 +0000 (20:03 +0000)]
merge from gcc

20 years agoNew file.
Nick Roberts [Tue, 25 May 2004 20:03:05 +0000 (20:03 +0000)]
New file.

20 years ago*** empty log message ***
Nick Roberts [Tue, 25 May 2004 20:02:20 +0000 (20:02 +0000)]
*** empty log message ***

20 years ago2004-05-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 25 May 2004 16:04:07 +0000 (16:04 +0000)]
2004-05-25  Andrew Cagney  <cagney@gnu.org>

* inftarg.c: Include "observer.h".
(child_attach, child_create_inferior): Notify inferior_created.
* corelow.c: Include "observer.h".
(core_open): Notify inferior_created.
* Makefile.in (inftarg.o, corelow.o): Update dependencies.

20 years ago2004-05-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 25 May 2004 14:58:31 +0000 (14:58 +0000)]
2004-05-25  Andrew Cagney  <cagney@gnu.org>

* target.h (struct target_ops): Add from_tty to
to_create_inferior.
(target_create_inferior, find_default_create_inferior): Update.
* infcmd.c (run_command): Update.
* wince.c (child_create_inferior): Update.
* win32-nat.c (child_create_inferior): Update.
* uw-thread.c (uw_thread_create_inferior): Update.
* thread-db.c (thread_db_create_inferior): Update.
* target.c (debug_to_create_inferior)
(find_default_create_inferior): Update.
(maybe_kill_then_create_inferior): Update.
* sol-thread.c (sol_thread_create_inferior): Update.
* remote.c (extended_remote_async_create_inferior)
(extended_remote_create_inferior): Update.
* remote-vx.c (vx_create_inferior): Update.
* remote-st.c (st2000_create_inferior): Update.
* remote-sim.c (gdbsim_create_inferior): Update.
* remote-sds.c (sds_create_inferior): Update.
* remote-rdp.c (remote_rdp_create_inferior): Update.
* remote-rdi.c (arm_rdi_create_inferior): Update.
* remote-m32r-sdi.c (m32r_create_inferior): Update.
* remote-e7000.c (e7000_create_inferior): Update.
* procfs.c (procfs_create_inferior): Update.
* ocd.c (ocd_create_inferior): Update.
* ocd.h (ocd_create_inferior): Update.
* nto-procfs.c (procfs_create_inferior): Update.
* monitor.c (monitor_create_inferior): Update.
* lin-lwp.c (lin_lwp_create_inferior): Update.
* inftarg.c (child_create_inferior): Update.
* hpux-thread.c (hpux_thread_create_inferior): Update.
* gnu-nat.c (gnu_create_inferior): Update.

20 years ago2004-05-25 Andrew Cagney <cagney@gnu.com>
Andrew Cagney [Tue, 25 May 2004 13:41:46 +0000 (13:41 +0000)]
2004-05-25  Andrew Cagney  <cagney@gnu.com>

* MAINTAINERS: Update e-mail address.

20 years agobfd/
Alan Modra [Tue, 25 May 2004 06:33:51 +0000 (06:33 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Don't set up merge
section data here..
* elf.c (_bfd_elf_merge_sections): .. Do it here instead.
* merge.c: Formatting.  Remove unnecessary casts.  Expand
bfd_get_section_alignment macro.
(struct sec_merge_sec_info): Rename "first" to "first_str".  Update
use throughout file.
(_bfd_add_merge_section): Rename from _bfd_merge_section.  Update
comment.  Abort on dynamic or non-SEC_MERGE input.  Don't test
section name to determine sinfo group, instead test output section
and alignment.
(_bfd_merge_sections): Add struct bfd_link_info param.  Call
_bfd_strip_section_from_output rather than just twiddling flags.
* libbfd-in.h (_bfd_add_merge_section): Rename, update comment.
(_bfd_merge_sections): Update prototype.
* libbfd.h: Regenerate.
ld/
* ldlang.c (lang_process): Call bfd_merge_sections later, and
only when not a relocatable link.
(print_input_section): Handle SEC_EXCLUDE sections.
(size_input_section): Don't update dot on SEC_EXCLUDE sections.
(lang_do_assignments_1): Likewise.
* ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
* emultempl/hppaelf.em (build_section_lists): Likewise.
* emultempl/ppc64elf.em (build_toc_list): Likewise.
(build_section_lists): Likewise.

20 years ago2004-05-24 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 25 May 2004 04:07:05 +0000 (04:07 +0000)]
2004-05-24  Randolph Chung  <tausq@debian.org>

* gdb.asm/asm-source.exp: Enable test for hppa-linux target.
* gdb.asm/pa.inc: New file.

20 years ago2004-05-24 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 25 May 2004 03:59:29 +0000 (03:59 +0000)]
2004-05-24  Randolph Chung  <tausq@debian.org>

* thread.c (info_threads_command, thread_apply_all_command)
(thread_apply_command, thread_command, do_captured_thread_select):
Remove HPUXHPPA-specific code.

20 years ago2004-05-24 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 25 May 2004 03:55:23 +0000 (03:55 +0000)]
2004-05-24  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
unused symbols.
* hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
references.

20 years ago*** empty log message ***
gdbadmin [Tue, 25 May 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 25 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * gdb.texinfo (Starting): Document new start command.
Joel Brobecker [Mon, 24 May 2004 23:53:58 +0000 (23:53 +0000)]
    * gdb.texinfo (Starting): Document new start command.

20 years ago * infcmd.c (kill_if_already_running): New function, extracted
Joel Brobecker [Mon, 24 May 2004 23:48:25 +0000 (23:48 +0000)]
    * infcmd.c (kill_if_already_running): New function, extracted
        from run_command().
        (run_command): Replace extracted code by call to
        kill_if_already_running().
        (start_command): New function.
        (_initialize_infcmd): Add "start" command.

20 years ago* netbsd-core.c: Correctly indent section that sets architecture
Mark Kettenis [Mon, 24 May 2004 21:52:38 +0000 (21:52 +0000)]
* netbsd-core.c: Correctly indent section that sets architecture
from machine ID.

20 years agoAdd OpenBSD/m88k support.
Mark Kettenis [Mon, 24 May 2004 21:00:09 +0000 (21:00 +0000)]
Add OpenBSD/m88k support.
* NEWS (New native configurations): Mention OpenBSD/m88k.
* m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
* Makefile.in (m88k_tdep_h): New variable.
(ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
(m88kbsd-nat.o, m88k-tdep.o): New dependencies.
* configure.host: Add m88*-*-openbsd*.
* configure.tgt: Add m88*-*-openbsd*.

20 years ago* MAINTAINERS (tracing bytecode stuff): Allow global maintainers
Jim Blandy [Mon, 24 May 2004 18:13:22 +0000 (18:13 +0000)]
* MAINTAINERS (tracing bytecode stuff): Allow global maintainers
to approve changes.

20 years ago * symtab.c (fixup_section): Search section table when lookup by
Kevin Buettner [Mon, 24 May 2004 16:11:17 +0000 (16:11 +0000)]
* symtab.c (fixup_section): Search section table when lookup by
name fails.

20 years agoReally add this file.
Mark Kettenis [Mon, 24 May 2004 16:09:10 +0000 (16:09 +0000)]
Really add this file.

20 years ago2004-05-24 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 24 May 2004 15:36:31 +0000 (15:36 +0000)]
2004-05-24  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c: Fix handling of 8-byte structures; they should not
be "small_struct".

20 years agoAdd support for an m88k-openbsd target
Nick Clifton [Mon, 24 May 2004 14:48:18 +0000 (14:48 +0000)]
Add support for an m88k-openbsd target

20 years agoReorganise m68k instruction decoding and improve handling of MAC/EMAC
Nick Clifton [Mon, 24 May 2004 14:33:22 +0000 (14:33 +0000)]
Reorganise m68k instruction decoding and improve handling of MAC/EMAC

20 years ago2005-05-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 11:08:48 +0000 (11:08 +0000)]
2005-05-24  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Test the ability to symlink directories.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): New definitions.
* Makefile.tpl (configure-stage1-gcc,
configure-stage2-gcc, configure-stage3-gcc,
all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
new-restage3, compare): Autogenerate, see Makefile.in
entry for behavioral changes.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New autogenerated targets.
(objext, prebootstrap, BOOT_CFLAGS,
POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
targets.

* Makefile.in: Regenerate.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New targets.
(all-stage1-gcc): Move prebootstrap dependency from here...
(configure-stage1-gcc): ...to here.
(new-bootstrap): Use bubble targets.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
Use per-stage distclean targets.
(configure-stage1-gcc, configure-stage2-gcc,
configure-stage3-gcc, all-stage1-gcc,
all-stage2-gcc, all-stage3-gcc, new-bootstrap):
Use new-stageN-start to prepare the tree.

20 years ago2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 10:45:14 +0000 (10:45 +0000)]
2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): add libcpp.
* Makefile.tpl: Add dependencies on and for libcpp.
* Makefile.in: Regenerate.
* configure.in: Add libcpp host module.
* configure: Regenerate.

config/ChangeLog:

2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
From gcc.

20 years ago* m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
Mark Kettenis [Mon, 24 May 2004 08:13:40 +0000 (08:13 +0000)]
* m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
register number in regcache_raw_collect call.
(m68kbsd_collect_fpregset): Likewise.
* vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.

20 years agoRemove bogus inode
Nick Clifton [Mon, 24 May 2004 07:49:10 +0000 (07:49 +0000)]
Remove bogus inode

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

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

20 years ago* regset.h (struct regset): Add back `regset' member.
Mark Kettenis [Sun, 23 May 2004 22:42:59 +0000 (22:42 +0000)]
* regset.h (struct regset): Add back `regset' member.

20 years ago* ld.texinfo (Options): Fix typo in last change.
Andreas Schwab [Sun, 23 May 2004 09:30:31 +0000 (09:30 +0000)]
* ld.texinfo (Options): Fix typo in last change.

20 years ago* configure.in: Check for td_pcb in `struct thread'.
Mark Kettenis [Sun, 23 May 2004 09:23:18 +0000 (09:23 +0000)]
* configure.in: Check for td_pcb in `struct thread'.
* configure, config.in: Regenerated.

20 years ago * expr.c (operand, operator): Don't reject '++' and '--'.
Alan Modra [Sun, 23 May 2004 04:35:11 +0000 (04:35 +0000)]
* expr.c (operand, operator): Don't reject '++' and '--'.

20 years ago * configure.in (is_release): Remove.
Ben Elliston [Sun, 23 May 2004 00:06:49 +0000 (00:06 +0000)]
* configure.in (is_release): Remove.
(bfd_version_date, bfd_version, bfd_version_string): Likewise.
(AC_OUTPUT): Don't output bfdver.h from version.h.
* configure: Regenerate.
* Makefile.am (RELEASE): New variable.
(bfdver.h): New target.
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.

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

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

20 years ago* dpx2-nat.c: Remove file.
Mark Kettenis [Sat, 22 May 2004 23:03:54 +0000 (23:03 +0000)]
* dpx2-nat.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
(dpx2-nat.o): Remove dependencies.

20 years ago* amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
Mark Kettenis [Sat, 22 May 2004 22:42:53 +0000 (22:42 +0000)]
* amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
<sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(amd64obsd_supply_pcb): New function.
(_initialize_amd64obsd_nat): Enable libkvm interface.
* Makefile.in (amd64obsd-nat.o): Update dependencies.
* config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
(LOADLIBES): New variable.

20 years ago* sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
Mark Kettenis [Sat, 22 May 2004 22:34:44 +0000 (22:34 +0000)]
* sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
<sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
(sparc32nbsd_supply_pcb): New function.
(_initialize_sparcnbsd_nat): Enable libkvm interface.
* Makefile.in (sparcnbsd-nat.o): Update dependencies.
* config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* bsd-kvm.c, bsd-kvm.h: New files.
Mark Kettenis [Sat, 22 May 2004 17:21:36 +0000 (17:21 +0000)]
* bsd-kvm.c, bsd-kvm.h: New files.
* i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
"bsd-kvm.h".
(i386fbsd_supply_pcb): New function.
* Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
(i386fbsd-nat.o): Update dependencies.
(bsd_kvm_h): New variable.
(bsd-kvm.o): New dependency.
* config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* regset.c: Tweak comment.
Mark Kettenis [Sat, 22 May 2004 15:16:22 +0000 (15:16 +0000)]
* regset.c: Tweak comment.
(regset_alloc): Remove descr argument.  Use GDBARCH_OBSTACK_ZALLOC
macro.
* regset.h: Update copyright year.
(struct regset): Remove `descr' member, add `gdbarch' member.
(regset_alloc): Adjust prototype and comment.
* i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
(i386_supply_fpregset): Likewise.
(i386_regset_from_core_section): Update call to regset_alloc.
* i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
REGSET->arch.
(i386obsd_aout_regset_from_core_section): Update call to
regset_alloc.
* i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
REGSET->arch.
(i386nbsd_aout_regset_from_core_section): Update call to
regset_alloc.
* amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
REGSET->arch.
(amd64_regset_from_core_section): Update call to regset_alloc.
* amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
REGSET->arch.
(amd64obsd_regset_from_core_section): Update call to regset_alloc.
* sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
&sparc32nbsd_gregset in sparc32_supply_gregset call.
(sparc32nbsd_init_abi): Update call to regset_alloc.
* sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
&sparc64obsd_core_gregset in sparc64_supply_gregset call.
(sparc64obsd_init_abi): Update call to regset_alloc.
* sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
&sparc64nbsd_gregset in sparc64_supply_gregset call.
(sparc64nbsd_init_abi): Update call to regset_alloc.
* sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
&sparc64fbsd_gregset in sparc64_supply_gregset call.
(sparc64fbsd_init_abi): Update call to regset_alloc.

20 years ago* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
Mark Kettenis [Sat, 22 May 2004 13:14:22 +0000 (13:14 +0000)]
* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.

20 years ago * Makefile.am (config.status): Don't depend on version.h.
Ben Elliston [Sat, 22 May 2004 06:06:22 +0000 (06:06 +0000)]
* Makefile.am (config.status): Don't depend on version.h.
* Makefile.in: Regenerate.

20 years ago* ppc-tdep.h (spe_register_p): New declaration.
Jim Blandy [Sat, 22 May 2004 06:03:26 +0000 (06:03 +0000)]
* ppc-tdep.h (spe_register_p): New declaration.
(struct gdbarch_tdep): New members: ppc_acc_regnum and
ppc_spefscr_regnum.
* rs6000-tdep.c (spe_register_p): New function.
(rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
spefscr.
(rs6000_gdbarch_init): Initialize the new members of the tdep
structure.

20 years ago * merge.c (_bfd_merged_section_offset): Remove "addend" param.
Alan Modra [Sat, 22 May 2004 01:56:31 +0000 (01:56 +0000)]
* merge.c (_bfd_merged_section_offset): Remove "addend" param.
* libbfd-in.h (_bfd_merged_section_offset): Adjust prototype.
* libbfd.h: Regenerate.
* elf.c (_bfd_elf_rela_local_sym): Adjust call.
(_bfd_elf_rel_local_sym): Likewise.
* elflink.c (_bfd_elf_link_sec_merge_syms): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-ppc.c (ppc_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
(elfNN_ia64_relocate_section): Likewise.

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

20 years agodaily update
Alan Modra [Sat, 22 May 2004 00:00:10 +0000 (00:00 +0000)]
daily update

20 years ago* ppc-linux-nat.c (fetch_register): Move code back to be next
Jim Blandy [Fri, 21 May 2004 23:30:48 +0000 (23:30 +0000)]
* ppc-linux-nat.c (fetch_register): Move code back to be next
to the comment that describes it.  (Moved code, instead of
comment, for symmetry with store_register.)

20 years agoAllocate regset structures in the gdbarch's obstack, not using
Jim Blandy [Fri, 21 May 2004 22:15:10 +0000 (22:15 +0000)]
Allocate regset structures in the gdbarch's obstack, not using
xmalloc.
* regset.c (regset_alloc): Renamed from regset_xmalloc.
Add 'arch' argument.  Allocate the regset on arch's obstack, not
using xmalloc.
* regset.h (regset_alloc): Update declaration.
* am64-tdep.c (amd64_regset_from_core_section): Update call; pass
gdbarch argument.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.

20 years ago2004-05-21 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 21 May 2004 19:08:54 +0000 (19:08 +0000)]
2004-05-21  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Whenever a recursive target is defined, wrap
it in a special @if/@endif block, and prepare its maybe
dependency in the @if/@endif block
* configure.in: Instead of writing maybe dependencies, remove
the @if/@endif statements, and remove the @if/@endif blocks
that remain.
* configure: Regenerate.
* Makefile.in: Regenerate.

20 years ago * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
Joel Brobecker [Fri, 21 May 2004 17:27:01 +0000 (17:27 +0000)]
    * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
        GDB prompt.

20 years ago * config/djgpp/fnchange.lst: Undo previous change, was useless.
Joel Brobecker [Fri, 21 May 2004 17:23:32 +0000 (17:23 +0000)]
    * config/djgpp/fnchange.lst: Undo previous change, was useless.

20 years ago2004-05-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 21 May 2004 16:04:03 +0000 (16:04 +0000)]
2004-05-21  Andrew Cagney  <cagney@redhat.com>

* observer.texi (GDB Observers): Document "inferior_created".

20 years agoAdd --hash-size switch to the linker
Nick Clifton [Fri, 21 May 2004 15:38:04 +0000 (15:38 +0000)]
Add --hash-size switch to the linker

20 years ago* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
Mark Kettenis [Fri, 21 May 2004 14:56:07 +0000 (14:56 +0000)]
* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for alpha,
arm, m68k, m88k and hppa core files.

20 years agoDo not use iovec if it is NULL.
Nick Clifton [Fri, 21 May 2004 13:12:27 +0000 (13:12 +0000)]
Do not use iovec if it is NULL.

20 years ago* dwarf2expr.c (execute_stack_op): Add 'break' statements after
Jim Blandy [Fri, 21 May 2004 07:50:03 +0000 (07:50 +0000)]
* dwarf2expr.c (execute_stack_op): Add 'break' statements after
cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)

20 years ago * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.
Ben Elliston [Fri, 21 May 2004 01:58:03 +0000 (01:58 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.

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

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

20 years ago2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 20 May 2004 22:26:21 +0000 (22:26 +0000)]
2004-05-20  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-srlz.d: Fix a typo.

20 years ago* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
Jim Blandy [Thu, 20 May 2004 18:49:37 +0000 (18:49 +0000)]
* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.

20 years ago* regset.h: Make prototype const-correct.
Mark Kettenis [Thu, 20 May 2004 17:47:55 +0000 (17:47 +0000)]
* regset.h: Make prototype const-correct.
* regset.c (regset_xmalloc): Make const-correct.

20 years ago * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
Ulrich Weigand [Thu, 20 May 2004 14:58:54 +0000 (14:58 +0000)]
* gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
setjmp/longjmp.  Use sigaction instead of signal.

20 years ago * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
Richard Sandiford [Thu, 20 May 2004 10:10:43 +0000 (10:10 +0000)]
* config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
dwarf tables.

20 years ago* symtab.h (SYMBOL_SEARCH_NAME): New definition.
Paul N. Hilfinger [Thu, 20 May 2004 09:51:34 +0000 (09:51 +0000)]
* symtab.h (SYMBOL_SEARCH_NAME): New definition.
(SYMBOL_MATCHES_SEARCH_NAME): New definition.
(symbol_search_name): Declare.

* dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
(iter_name_next_hashed): Ditto.
(iter_name_next_linear): Ditto.
(insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.

* symtab.c (lookup_partial_symbol): Assume symbols ordered by
search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
(symbol_search_name): New function.

* symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.

* minsyms.c (build_minimal_symbol_hash_tables): Change
test for adding to demangled hash table to check for difference
between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.

20 years agoFix up last ChangeLog commit.
Jim Blandy [Thu, 20 May 2004 00:56:45 +0000 (00:56 +0000)]
Fix up last ChangeLog commit.

20 years agoUse a constructor function to create regset structures.
Jim Blandy [Thu, 20 May 2004 00:53:06 +0000 (00:53 +0000)]
Use a constructor function to create regset structures.
* regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
(struct regset): Use supply_regset_ftype.  Add new
'collect_regset' member.
(regset_xmalloc): New declaration.
* regset.c: New file.
* am64-tdep.c (amd64_regset_from_core_section): Use
regset_xmalloc to construct regset structures.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
* Makefile.in (COMMON_OBS): Add regset.o.
(regset.o): New rule.

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

20 years agodaily update
Alan Modra [Thu, 20 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
Joel Brobecker [Wed, 19 May 2004 21:50:14 +0000 (21:50 +0000)]
    * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
        and pthread_cond_wait.c.

20 years ago * gdb.threads/pthread_cond_wait.c: New file.
Joel Brobecker [Wed, 19 May 2004 21:41:03 +0000 (21:41 +0000)]
    * gdb.threads/pthread_cond_wait.c: New file.
        * gdb.threads/pthread_cond_wait.exp: New testcase.

20 years agoAdd code to cope with nested archives.
Nick Clifton [Wed, 19 May 2004 14:46:59 +0000 (14:46 +0000)]
Add code to cope with nested archives.

20 years ago * NEWS: Mention new linker map file generation and the
Joern Rennecke [Wed, 19 May 2004 14:15:55 +0000 (14:15 +0000)]
* NEWS: Mention new linker map file generation and the
--reduce-memory-overheads option.
* ld.texinfo: Document --reduce-memory-overheads option.
* ld.h (map_symbol_def): New struct.
(struct user_section_struct, section_userdata_type): Rename to:
(struct lean_user_section_struct, lean_section_userdata_type).
(struct fat_user_section_struct, fat_section_userdata_type): New.
(SECTION_USERDATA_SIZE): Define.
(args_type): New member reduce_memory_overheads.
* ldlang.c (map_obstack): New static variable.
(init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
(lang_map): Unless command_line.reduce_memory_overheads is set,
initialize lists of defined symbols for each section.
(print_input_section): Unless command_line.reduce_memory_overheads
is set, use print_all_symbols.
(init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
* ldmain.c (main): Initialize command_line.reduce_memory_overheads.
* lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
(ld_options): Add entry for --reduce-memory-overheads.
(parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.

20 years ago * ldgram.y (sect_constraint): New.
Jakub Jelinek [Wed, 19 May 2004 14:01:14 +0000 (14:01 +0000)]
* ldgram.y (sect_constraint): New.
(ONLY_IF_RO, ONLY_IF_RW): New tokens.
(section): Add sect_constraint.  Pass additional argument
to lang_enter_output_section_statement.
* mri.c (mri_draw_tree): Pass additional argument to
lang_enter_output_section_statement.
* emultempl/pe.em (place_orphan): Likewise.
(output_prev_sec_find): Disregard output section statements with
constraint == -1.
* emultempl/mmo.em (output_prev_sec_find): Likewise.
(mmo_place_orphan): Pass additional argument to
lang_enter_output_section_statement.
* emultempl/elf32.em (output_prev_sec_find): Disregard output section
statements with constraint == -1.
(place_orphan): Pass additional argument to
lang_enter_output_section_statement.
* ldlang.c (lang_enter_overlay_section): Likewise.
(lang_output_section_find_1): New.
(lang_output_section_find): Use it.
(lang_output_section_statement_lookup_1): New.
(lang_output_section_statement_lookup): Use it.
(check_section_callback, check_input_sections): New.
(map_input_to_output_sections): Check if all input sections
are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
(strip_excluded_output_sections): Disregard output section statements
with constraint == -1.
(lang_record_phdrs): Likewise.
(lang_enter_output_section_statement): Add constraint argument.
Use lang_output_section_statement_lookup_1.
* ldlang.h (lang_output_section_statement_type): Add constraint
and all_input_readonly fields.
(lang_enter_output_section_statement): Adjust prototype.
* ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
* scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
segment if all input sections are readonly.

20 years agoRemove redundant file
Nick Clifton [Wed, 19 May 2004 10:00:50 +0000 (10:00 +0000)]
Remove redundant file

20 years ago * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
Alan Modra [Wed, 19 May 2004 05:11:48 +0000 (05:11 +0000)]
* ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
well as when -mpower4.

20 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
Jim Blandy [Wed, 19 May 2004 04:18:42 +0000 (04:18 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
before the mach-specific switch, and then let the individual cases
override the defaults, rather than leaving them uninitialized
until the switch and then setting them in each case.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 03:07:58 +0000 (03:07 +0000)]
2004-05-18  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
millicode functions.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:45:24 +0000 (02:45 +0000)]
2004-05-18  Randolph Chung  <tausq@debian.org>

* somsolib.c (som_solib_remove_inferior_hook): Make all the size
references to dld_flags_buffer consistent.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:38:28 +0000 (02:38 +0000)]
2004-05-18  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
it for unwinding the stack.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:20:11 +0000 (02:20 +0000)]
2004-05-18  Randolph Chung  <tausq@debian.org>

* config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
Undefine these so we can overide them using gdbarch.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:15:22 +0000 (02:15 +0000)]
2004-05-18  Randolph Chung <tausq@debian.org>

* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
handling for 64-bit HPUX (elf).

20 years ago*** empty log message ***
gdbadmin [Wed, 19 May 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 19 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
Daniel Jacobowitz [Tue, 18 May 2004 21:20:28 +0000 (21:20 +0000)]
* alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
constants.
* amd64-tdep.c (amd64_skip_prologue): Likewise.
* ia64-tdep.c (examine_prologue): Likewise.
* ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
* v850-tdep.c (v850_fix_call_dummy): Likewise.

20 years ago * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
Daniel Jacobowitz [Tue, 18 May 2004 21:20:07 +0000 (21:20 +0000)]
* dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
passing it to printf.

20 years ago * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
Daniel Jacobowitz [Tue, 18 May 2004 21:19:53 +0000 (21:19 +0000)]
* Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.

20 years agoFixes for assembling with an ARM targeted version of GAS
Nick Clifton [Tue, 18 May 2004 16:18:56 +0000 (16:18 +0000)]
Fixes for assembling with an ARM targeted version of GAS

20 years ago * Makefile.def, Makefile.tpl, configure.in: Remove all mention
Zack Weinberg [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.

20 years agodaily update
Alan Modra [Tue, 18 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

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

20 years ago * ld.texinfo (Output Section Address): Correct subsection name.
Bob Wilson [Mon, 17 May 2004 22:48:55 +0000 (22:48 +0000)]
    * ld.texinfo (Output Section Address): Correct subsection name.

20 years ago* vax-tdep.c (vax_return_value): Implement
Mark Kettenis [Mon, 17 May 2004 22:12:13 +0000 (22:12 +0000)]
* vax-tdep.c (vax_return_value): Implement
RETURN_VALUE_ABI_RETURNS_ADDRESS.

20 years ago* vax-tdep.c (vax_return_value): Fix typo.
Mark Kettenis [Mon, 17 May 2004 21:56:19 +0000 (21:56 +0000)]
* vax-tdep.c (vax_return_value): Fix typo.

* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.

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