binutils-gdb.git
22 years ago * bfdlink.h (struct bfd_sym_chain): Declare.
Alan Modra [Mon, 1 Jul 2002 08:04:47 +0000 (08:04 +0000)]
* bfdlink.h (struct bfd_sym_chain): Declare.
(struct bfd_link_info): Add gc_sym_list.  Formatting fixes.

22 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
Andreas Jaeger [Mon, 1 Jul 2002 06:42:27 +0000 (06:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
are not allowed in shared libs code, enforce -fPIC.

22 years ago*** empty log message ***
gdbadmin [Mon, 1 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 1 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agoRemove ada-lex.c and ada-exp.tab.c as they are generated files
Aidan Skinner [Sun, 30 Jun 2002 22:04:33 +0000 (22:04 +0000)]
Remove ada-lex.c and ada-exp.tab.c as they are generated files

22 years ago* config/i386/tm-i386.h (struct frame_info, struct
Mark Kettenis [Sun, 30 Jun 2002 18:55:19 +0000 (18:55 +0000)]
* config/i386/tm-i386.h (struct frame_info, struct
frame_saved_regs, struct value, struct type): Remove forward
declarations.

22 years ago * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
Stephane Carrez [Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)]
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.

22 years ago* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
Mark Kettenis [Sun, 30 Jun 2002 18:43:06 +0000 (18:43 +0000)]
* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
* config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET): Define.

22 years ago* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
Mark Kettenis [Sun, 30 Jun 2002 17:22:57 +0000 (17:22 +0000)]
* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.

22 years ago* configure.tgt (i[3456]86-*-openbsd*): Fold into
Mark Kettenis [Sun, 30 Jun 2002 17:19:54 +0000 (17:19 +0000)]
* configure.tgt (i[3456]86-*-openbsd*): Fold into
i[3456]86-*-netbsd* case.
* config/i386/tm-obsd.h: Removed.
* config/i386/obsd.mt: Removed.
* config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
core-aout.o.
(MH_CFLAGS): Add -DYYDEBUG=0.

22 years ago* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
Mark Kettenis [Sun, 30 Jun 2002 17:01:42 +0000 (17:01 +0000)]
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
i386nbsd_sc_pc_offset on OpenBSD too.

22 years ago* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
Mark Kettenis [Sun, 30 Jun 2002 14:43:24 +0000 (14:43 +0000)]
* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
(IN_SOLIB_CALL_TRAMPOLINE): Remove define.
* config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
define.
* i386bsd-tdep.c: Include "arch-utils.h".
(i386bsd_aout_in_solib_call_trampoline): New function.
(i386bsd_init_abi): Set in_solib_call_trampoline to
i386bsd_aout_in_solib_call_trampoline.
(i386nbsdelf_init_abi, i386fbsd_init_abi): Set
in_solib_call_trampoline to generic_in_solib_call_trampoline.

22 years ago*** empty log message ***
gdbadmin [Sun, 30 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 30 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:45:09 +0000 (21:45 +0000)]
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
trailing zero-sequences when there's previous left-over data.

22 years ago * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:33:28 +0000 (21:33 +0000)]
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.

22 years ago * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
Stephane Carrez [Sat, 29 Jun 2002 15:52:31 +0000 (15:52 +0000)]
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.

22 years ago * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
Stephane Carrez [Sat, 29 Jun 2002 10:33:45 +0000 (10:33 +0000)]
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.

22 years ago * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
Stephane Carrez [Sat, 29 Jun 2002 10:32:34 +0000 (10:32 +0000)]
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
.softregs and .eeprom.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sat, 29 Jun 2002 04:54:59 +0000 (04:54 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* NEWS: Note the next release is 2.13.

22 years ago*** empty log message ***
gdbadmin [Sat, 29 Jun 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 29 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* macrotab.h: Do not include "obstack.h" or "bcache.h".
Andrew Cagney [Fri, 28 Jun 2002 23:42:33 +0000 (23:42 +0000)]
* macrotab.h: Do not include "obstack.h" or "bcache.h".
(struct obstack, struct bcache): Add opaque declarations.
* Makefile.in (macrotab_h): Update

22 years ago* blockframe.c (generic_find_dummy_frame): Change return type to
Andrew Cagney [Fri, 28 Jun 2002 22:38:29 +0000 (22:38 +0000)]
* blockframe.c (generic_find_dummy_frame): Change return type to
``struct regcache''.
(struct dummy_frame): Replace field ``registers'' with regcache, a
struct regcache object.
(generic_find_dummy_frame): Update.
(generic_push_dummy_frame): Update.  Use regcache_xfree,
regcache_xmalloc and regcache_cpy.
(generic_pop_dummy_frame): Update.  Use regcache_cpy and
regcache_xfree.
(deprecated_generic_find_dummy_frame): Update.
(generic_read_register_dummy): Update.  Use
regcache_read_as_address.
(generic_call_dummy_register_unwind): Update.  Use regcache_read.
(generic_get_saved_register): Update.  Use regcache_read.

22 years ago* Makefile.in (objfiles_h): Add $(bcache_h).
Andrew Cagney [Fri, 28 Jun 2002 22:09:11 +0000 (22:09 +0000)]
* Makefile.in (objfiles_h): Add $(bcache_h).
* objfiles.h: Include "bcache.h".

* Makefile.in (symtab_h): Remove $(bcache_h).
* symtab.h: Do not include "bcache.h".

22 years ago* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
Andrew Cagney [Fri, 28 Jun 2002 22:07:20 +0000 (22:07 +0000)]
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
generic_func_frame_chain_valid.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Fri, 28 Jun 2002 18:44:49 +0000 (18:44 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.

22 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Use
Andrew Cagney [Fri, 28 Jun 2002 16:15:07 +0000 (16:15 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Use
generic_unwind_get_saved_register.

22 years agodaily update
Alan Modra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Jun 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
Jeff Law [Thu, 27 Jun 2002 22:57:50 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section.  Add ${RELOCATING-0}.

22 years ago * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
Jeff Law [Thu, 27 Jun 2002 22:57:02 +0000 (22:57 +0000)]
    * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
        (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
        and opd_rel_sec in order for starting rela section.  Check _raw_size.
        (elf_backend_reloc_type_class): Define.

22 years agoFrom 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
Andrew Cagney [Thu, 27 Jun 2002 18:28:23 +0000 (18:28 +0000)]
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
* regcache.c (supply_register): Add missing argument to
register_buffer call.

22 years ago* Makefile.in (init.c): Drop -e option to grep. Not necessary and
Andrew Cagney [Thu, 27 Jun 2002 15:49:23 +0000 (15:49 +0000)]
* Makefile.in (init.c): Drop -e option to grep.  Not necessary and
Solaris /bin/grep does not not like it.  From Peter Schauer.

22 years ago* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
Andrew Cagney [Thu, 27 Jun 2002 15:30:32 +0000 (15:30 +0000)]
* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
(Coding): Clarify ISO C version that GDB assumes.

22 years ago2002-06-27 Kevin Buettner <kevinb@redhat.com>
Alan Modra [Thu, 27 Jun 2002 11:51:42 +0000 (11:51 +0000)]
2002-06-27  Kevin Buettner <kevinb@redhat.com>

* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.

22 years ago * cpu-powerpc.c: Comment on ordering of arch_info.
Alan Modra [Thu, 27 Jun 2002 11:29:15 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.

22 years agoZap remainder of gdb.threads-hp directory.
Andrew Cagney [Thu, 27 Jun 2002 03:58:32 +0000 (03:58 +0000)]
Zap remainder of gdb.threads-hp directory.

22 years agodaily update
Alan Modra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 27 Jun 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * gdbint.texinfo (User Interface): Mention add_setshow_cmd and
Tom Tromey [Wed, 26 Jun 2002 20:58:48 +0000 (20:58 +0000)]
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and

22 years ago * command.h (add_setshow_cmd): Declare.
Tom Tromey [Wed, 26 Jun 2002 20:58:17 +0000 (20:58 +0000)]
* command.h (add_setshow_cmd): Declare.
(add_setshow_cmd_full): Declare.
* cli/cli-decode.c (add_setshow_cmd): No longer static.  Now
returns void.  Use add_setshow_cmd_full.
(add_setshow_cmd_full): New function.
(add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
(add_setshow_boolean_cmd): Likewise.

22 years agoRemove files checked in by mistake.
Jason Thorpe [Wed, 26 Jun 2002 18:37:26 +0000 (18:37 +0000)]
Remove files checked in by mistake.

22 years ago* config/vax/tm-vax.h: Protect from multiple inclusion.
Jason Thorpe [Wed, 26 Jun 2002 17:39:30 +0000 (17:39 +0000)]
* config/vax/tm-vax.h: Protect from multiple inclusion.
(TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
* config/vax/tm-vaxbsd.h: ...here.  New file.
* config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.

22 years ago* config/vax/tm-vax.h (BREAKPOINT): Remove.
Jason Thorpe [Wed, 26 Jun 2002 17:20:36 +0000 (17:20 +0000)]
* config/vax/tm-vax.h (BREAKPOINT): Remove.
(BELIEVE_PCC_PROMOTION): Remove.
(AP_REGNUM): Move to...
* config/vax/nm-vax.h: ...here.
* vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
(vax_breakpoint_from_pc): New function.
(vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
and gdbarch_believe_pcc_promotion.

22 years ago* config/m68k/tm-m68k.h: Rearrange code so macros not in the
Grace Sainsbury [Wed, 26 Jun 2002 17:09:30 +0000 (17:09 +0000)]
* config/m68k/tm-m68k.h: Rearrange code so macros not in the
gdbarch vector are at the top.
(NUM_REGS): Remove.
(FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Remove.
(FRAME_ARGS_SKIP): Remove.
* m68k-tdep.c (enum): Add eumeration of special register numbers.
(m68k_gdbarch_init): Add gdbarch initializations for macros
undefined in tm-m68k.h

22 years ago* Makefile.in (vax_tdep_h): Define.
Jason Thorpe [Wed, 26 Jun 2002 16:07:16 +0000 (16:07 +0000)]
* Makefile.in (vax_tdep_h): Define.
(vax-tdep.o): Use $(vax_tdep_h).
* vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
(vax_dump_tdep): New function.
(_initialize_vax_tdep): Register vax_dump_tdep.
* vax-tdep.h: Include osabi.h.
(struct gdbarch_tdep): New.

22 years agold:
Joern Rennecke [Wed, 26 Jun 2002 15:42:33 +0000 (15:42 +0000)]
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

22 years ago* frame.h (deprecated_generic_find_dummy_frame): Rename
Andrew Cagney [Wed, 26 Jun 2002 15:28:46 +0000 (15:28 +0000)]
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame.
* blockframe.c (generic_find_dummy_frame): Make static.
(deprecated_generic_find_dummy_frame): New function.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
generic_find_dummy_frame with deprecated_find_dummy_frame.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
(s390_frame_chain): Ditto.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.

22 years agomade regname function const char *
Grace Sainsbury [Wed, 26 Jun 2002 15:27:48 +0000 (15:27 +0000)]
made regname function const char *

22 years agoRescind Tom Rix's maintainerships.
Nick Clifton [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.

22 years ago* monitor.h: Add the function regname to monitor_ops
Grace Sainsbury [Wed, 26 Jun 2002 15:14:32 +0000 (15:14 +0000)]
* monitor.h: Add the function regname to monitor_ops
structure. This way NUM_REGS does not have to be a constant.
* monitor.c (monitor_fetch_register): Added support for regname
function. The function is called if the array regnames is NULL.
(monitor_store_register): Same.
* cpu32bug-rom.c (cpu32bug_regname):  Add function. Replaces regnames array.
(init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
cpu32bug_cmds.regname to point to new function.
* abug-rom.c (abug_regname): Same as above.
(init_abug_cmds): Same.
* dbug-rom.c (dbug_regname): Same as above.
(init_dbug_cmds): Same.
* remote-est.c (est_regname): Same.
(init_est_cmds): Same.
* rom68k-rom.c (rom68k_regname): Same.
(init_rom68k_cmds): Same.

22 years ago * nm.c (print_symname): When demangling, strip leading dots from
Alan Modra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.

22 years ago * ldmisc.c (demangle): Restore dots stripped from sym name.
Alan Modra [Wed, 26 Jun 2002 13:22:55 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.

22 years agoNew Turkish translation
Nick Clifton [Wed, 26 Jun 2002 08:21:04 +0000 (08:21 +0000)]
New Turkish translation

22 years ago * breakpoint.c (delete_command): Don't repeat `delete' commands.
Tom Tromey [Wed, 26 Jun 2002 05:20:04 +0000 (05:20 +0000)]
* breakpoint.c (delete_command): Don't repeat `delete' commands.

22 years ago* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
Jason Thorpe [Wed, 26 Jun 2002 03:10:20 +0000 (03:10 +0000)]
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

22 years ago * ecoff.c: (get_tag): Replace strcpy with xstrdup.
Alan Modra [Wed, 26 Jun 2002 01:18:42 +0000 (01:18 +0000)]
* ecoff.c: (get_tag): Replace strcpy with xstrdup.
(ecoff_directive_def): Likewise.
(ecoff_directive_tag): Likewise.
* listing.c (file_info): Likewise.
* hash.c (what): Likewise.

22 years ago2002-06-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 26 Jun 2002 01:12:32 +0000 (01:12 +0000)]
2002-06-25  H.J. Lu <hjl@gnu.org>

* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Wed, 26 Jun 2002 00:00:20 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update

22 years agoCheck unit->addr_size to read in the proper number of prologue bytes.
Nick Clifton [Tue, 25 Jun 2002 19:10:00 +0000 (19:10 +0000)]
Check unit->addr_size to read in the proper number of prologue bytes.

22 years ago* infrun.c (stop_registers): Change variable's type to ``struct
Andrew Cagney [Tue, 25 Jun 2002 18:38:57 +0000 (18:38 +0000)]
* infrun.c (stop_registers): Change variable's type to ``struct
regcache'''.
(xmalloc_inferior_status): Delete function.
(free_inferior_status): Delete function.
(normal_stop): Use regcache_cpy.
(struct inferior_status): Change type of fields ``stop_registers''
and ``registers'' to ``struct regcache''.
(write_inferior_status_register): Use regcache_write.
(save_inferior_status): Instead of calling
xmalloc_inferior_status, allocate the inf_status buffer directly.
Use regcache_dup_no_passthrough and regcache_dup to save the
buffers.
(restore_inferior_status): Use regcache_xfree and regcache_cpy.
Replace the stop_registers regcache instead of overriding it.  Use
regcache_xfree.  Instead of calling free_inferior_status, xfree
the buffer directly.
(discard_inferior_status): Use regcache_xfree.  Instead of calling
free_inferior_status, xfree the buffer directly.
(build_infrun): Use regcache_xmalloc.
(_initialize_infrun): Delete redundant call to build_infrun.
* Makefile.in (infcmd.o): Add $(regcache_h).
* infcmd.c: Include "regcache.h".
(run_stack_dummy): Use deprecated_grub_regcache_for_registers to
obtain the address of `stop_registers' register buffer.
(print_return_value): Ditto.
* inferior.h (struct regcache): Add opaque declaration.
(stop_registers): Change variable's declared type to ``struct
regcache''.

22 years agofixup position of #ifdef BFD64 for powerpc delta recently applied.
Nick Clifton [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.

22 years agoOnly create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
Nick Clifton [Tue, 25 Jun 2002 10:05:05 +0000 (10:05 +0000)]
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.

22 years ago * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
Alan Modra [Tue, 25 Jun 2002 09:40:45 +0000 (09:40 +0000)]
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
* elf32-hppa.c (hppa_add_stub): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_add_default_symbol): Fix comment typo.
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy.
(elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
* hash.c (bfd_hash_lookup): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
* section.c (bfd_get_unique_section_name): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* elf.c (_bfd_elf_make_section_from_phdr): Likewise.
(assign_section_numbers): Likewise.
(_bfd_elfcore_make_pseudosection): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_write_note): Constify input params.  Use PTR instead of
void *.  Include terminating NUL in namesz.  Correct padding.
Support NULL "name" param.  Use memcpy instead of strcpy.
(elfcore_write_prpsinfo): Constify input params.
(elfcore_write_prstatus): Likewise.  Use PTR instead of void *.
(elfcore_write_lwpstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
* elf-bfd.h (elfcore_write_note): Update declaration.
(elfcore_write_prpsinfo): Likewise.
(elfcore_write_prstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
(elfcore_write_lwpstatus): Likewise.

22 years agoSet BSF_FUNCTION for symbols of type stProc and stStaticProc.
Nick Clifton [Tue, 25 Jun 2002 08:47:31 +0000 (08:47 +0000)]
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
Formatting tidy ups.

22 years ago * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
Alan Modra [Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

22 years ago2002-06-25 Don Howard <dhoward@redhat.com>
Don Howard [Tue, 25 Jun 2002 07:23:29 +0000 (07:23 +0000)]
2002-06-25  Don Howard  <dhoward@redhat.com>

       * gdb.texinfo (Memory Region Attributes): Document new behavior
       for 'mem' command.

22 years ago * aout-adobe.c: Don't compare against "true" or "false.
Alan Modra [Tue, 25 Jun 2002 06:21:54 +0000 (06:21 +0000)]
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* cache.c: Likewise.
* coff-a29k.c: Likewise.
* coff-alpha.c: Likewise.
* coff-i386.c: Likewise.
* coff-mips.c: Likewise.
* coff-or32.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cpu-ns32k.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sh64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.h: Likewise.
* elfxx-mips.c: Likewise.
* i386os9k.c: Likewise.
* ieee.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* reloc.c: Likewise.
* som.c: Likewise.
* srec.c: Likewise.
* tekhex.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* elf64-sparc.c: Edit comment to not use "== false".

* aoutf1.h: Don't use "? true : false".
* ecoff.c: Likewise.
* format.c: Likewise.
* ieee.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.

22 years ago * cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
Tom Tromey [Tue, 25 Jun 2002 05:39:18 +0000 (05:39 +0000)]
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.

22 years ago * main.c: Marked all strings with _().
Tom Tromey [Tue, 25 Jun 2002 05:35:16 +0000 (05:35 +0000)]
* main.c: Marked all strings with _().

22 years agomerge from gcc
DJ Delorie [Tue, 25 Jun 2002 01:03:52 +0000 (01:03 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 25 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-06-24 Don Howard <dhoward@redhat.com>
Don Howard [Mon, 24 Jun 2002 22:08:30 +0000 (22:08 +0000)]
2002-06-24  Don Howard  <dhoward@redhat.com>

        * memattr.c (create_mem_region): Treat hi == 0 as a special case
        that means max CORE_ADDR+1.
        (lookup_mem_region): Ditto.
        (mem_info_command): Ditto.

22 years ago * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
Grace Sainsbury [Mon, 24 Jun 2002 17:48:43 +0000 (17:48 +0000)]
* config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
(REGISTER_BYTES_OK): Remove.
(REGISTER_BYTES): Remove.
(STORE_STRUCT_RETURN): Remove.
(DEPRECATED_EXTRACT_RETURN_VALUE): Remove.
(STORE_RETURN_VALUE): Remove.
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(FRAME_CHAIN): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Remove.
* m68k-tdep.c (m68k_register_bytes_ok):Add.
(m68k_store_struct_return): Add.
(m68k_deprecated_extract_return_value): Add.
(m68k_deprecated_extract_struct_value_address): Add.
(m68k_store_return_value): Add.
(m68k_frame_chain): Add.
(m68k_frameless_function_invocation): Add.
(m68k_frame_saved_pc): Add.
(m68k_gdbarch_init): added set_gdbarch calls for new
functions and deleted macros.

22 years ago2002-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Remove cgen.

* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years ago2002-06-24 Richard Sandiford <rsandifo@redhat.com>
Elena Zannoni [Mon, 24 Jun 2002 13:26:07 +0000 (13:26 +0000)]
2002-06-24  Richard Sandiford  <rsandifo@redhat.com>

        * sh64.c: Update path of "callback.h".

2002-06-20  Elena Zannoni  <ezannoni@redhat.com>

        * sh64.c: Include correct file for register numbers.

22 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove old files.
Tom Tromey [Mon, 24 Jun 2002 04:47:09 +0000 (04:47 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove old files.
(ALLDEPFILES): Likewise.
(udiheaders): Removed.
(udip2soc.o): Likewise.
(udi2go32.o): Likewise.
(udr.o): Likewise.
(HFILES_WITH_SRCDIR): Don't mention udiheaders.

22 years ago*** empty log message ***
gdbadmin [Mon, 24 Jun 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 24 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * elflink.h (elf_link_add_archive_symbols): For the default
Alan Modra [Sun, 23 Jun 2002 12:44:31 +0000 (12:44 +0000)]
* elflink.h (elf_link_add_archive_symbols): For the default
version, check references with only one `@' first.

22 years ago * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
Alan Modra [Sun, 23 Jun 2002 09:05:59 +0000 (09:05 +0000)]
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
function.
(allocate_global_data_dlt):  Don't add millicode symbols to dynamic
symbol table.
(allocate_global_data_opd, allocate_dynrel_entries): Likewise.
(elf64_hppa_size_dynamic_sections): Revise to use
elf64_hppa_mark_milli_and_exported_functions.
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode
symbols out of dynamic symbol table.

22 years ago * Makefile.in: Regenerate.
Alan Modra [Sun, 23 Jun 2002 02:09:05 +0000 (02:09 +0000)]
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years ago2002-06-23 Alan Modra <amodra@bigpond.net.au>
Alan Modra [Sun, 23 Jun 2002 02:04:28 +0000 (02:04 +0000)]
2002-06-23  Alan Modra  <amodra@bigpond.net.au>

* elflink.h: Comment typo fixes.

2002-06-23  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_loaded_list): New structure.
(elf_link_hash_table): Add "loaded".
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded".
* elflink.h (elf_link_check_versioned_symbol): New function.
(elf_link_output_extsym): Call elf_link_check_versioned_symbol.

22 years ago*** empty log message ***
gdbadmin [Sun, 23 Jun 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 23 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
Andrew Cagney [Sat, 22 Jun 2002 22:19:37 +0000 (22:19 +0000)]
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.

22 years ago* infrun.c (_initialize_infrun): Delete unnecessary call to
Andrew Cagney [Sat, 22 Jun 2002 22:04:33 +0000 (22:04 +0000)]
* infrun.c (_initialize_infrun): Delete unnecessary call to
build_infrun.

22 years ago* regcache.h: Update comments describing the regcache_cpy family
Andrew Cagney [Sat, 22 Jun 2002 21:18:32 +0000 (21:18 +0000)]
* regcache.h: Update comments describing the regcache_cpy family
of functions.
(regcache_save, regcache_restore): Delete declaration.
(regcache_save_no_passthrough): Delete declaration.
(regcache_restore_no_passthrough): Delete declaration.
* regcache.c (regcache_save): Delete function.
(regcache_save_no_passthrough): Delete function.
(regcache_restore): Delete function.
(regcache_restore_no_passthrough): Delete function.

22 years ago* Makefile.in (INTL_SRC): Define.
Andrew Cagney [Sat, 22 Jun 2002 19:10:34 +0000 (19:10 +0000)]
* Makefile.in (INTL_SRC): Define.
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.

22 years agomerge from gcc
DJ Delorie [Sat, 22 Jun 2002 13:31:20 +0000 (13:31 +0000)]
merge from gcc

22 years ago* config/m68k/tm-m68k.h: Fix typo.
Andrew Cagney [Sat, 22 Jun 2002 00:33:56 +0000 (00:33 +0000)]
* config/m68k/tm-m68k.h: Fix typo.
(FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
(m68k_frame_init_saved_regs): Declare.

22 years agoRemove some vestiges of Harris 88k support.
Jim Blandy [Sat, 22 Jun 2002 00:05:59 +0000 (00:05 +0000)]
Remove some vestiges of Harris 88k support.
* dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k
register numbering quirk.
* elfread.c (elf_symtab_read): Remove `#if' block for skipping
odd symbols occurring in Harris 88k ELF targets.

22 years ago*** empty log message ***
gdbadmin [Sat, 22 Jun 2002 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 22 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * gdb_locale.h: New file.
Tom Tromey [Fri, 21 Jun 2002 23:48:41 +0000 (23:48 +0000)]
* gdb_locale.h: New file.
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR.
(defs_h): Added gdb_locale.h.
* configure, config.in: Rebuilt.
* configure.in (PACKAGE): Define.
* defs.h: Include gdb_locale.h.
* main.c (captured_main): Call setlocale, bindtextdomain,

22 years ago* configure.in: Fix AIX configury bug.
DJ Delorie [Fri, 21 Jun 2002 22:20:17 +0000 (22:20 +0000)]
* configure.in: Fix AIX configury bug.