Alexandre Oliva [Thu, 29 Nov 2001 18:03:50 +0000 (18:03 +0000)]
* d10v.h (OPERAND_SP): New macro.
Jim Blandy [Thu, 29 Nov 2001 17:37:38 +0000 (17:37 +0000)]
* values.c (value_being_returned): Make error message a proper
sentence.
H.J. Lu [Thu, 29 Nov 2001 17:34:07 +0000 (17:34 +0000)]
2001-11-29 H.J. Lu <hjl@gnu.org>
* binutils-all/objcopy.exp (strip_test): Add strip on archive.
Nick Clifton [Thu, 29 Nov 2001 17:00:58 +0000 (17:00 +0000)]
Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET to runtest in environment.
Keith Walker [Thu, 29 Nov 2001 13:19:06 +0000 (13:19 +0000)]
* dwarf2read.c (read_attribute_value): New function to handle DW_FORM_indirect
(read_attribute): uses read_attribute_value
Keith Walker [Thu, 29 Nov 2001 11:34:03 +0000 (11:34 +0000)]
* MAINTAINERS (write-after-approval): Add my entry.
Nick Clifton [Thu, 29 Nov 2001 10:34:01 +0000 (10:34 +0000)]
Do not overwite the core signal if it has already been set by another thread.
Nick Clifton [Thu, 29 Nov 2001 09:41:34 +0000 (09:41 +0000)]
Remove case sensitivity in register names.
Jim Blandy [Thu, 29 Nov 2001 05:02:37 +0000 (05:02 +0000)]
* s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
save the return address register, assume that the return address
is still in there.
Ben Elliston [Thu, 29 Nov 2001 03:38:59 +0000 (03:38 +0000)]
* Import GNU gettext 0.10.35.
Ben Elliston [Thu, 29 Nov 2001 03:20:34 +0000 (03:20 +0000)]
touch all source to ease import
Mike Stump [Thu, 29 Nov 2001 00:51:58 +0000 (00:51 +0000)]
* objcopy.c (setup_section): Preserve SEC_RELOC when
--set-section-flags is used.
gdbadmin [Thu, 29 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 28 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 28 Nov 2001 22:47:30 +0000 (22:47 +0000)]
clarify obvious fix.
Jim Blandy [Wed, 28 Nov 2001 21:56:40 +0000 (21:56 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
DJ Delorie [Wed, 28 Nov 2001 19:55:01 +0000 (19:55 +0000)]
When build != host, create libiberty for the build machine.
* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
CONFIG_ARGUMENTS.
(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
New variables.
(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
and rules.
(all.normal): Depend on ALL_BUILD_MODULES.
(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
(all-build-libiberty): Depend on configure-build-libiberty.
* configure: Calculate and substitute proper value for
ALL_BUILD_MODULES.
* configure.in: Create the build subdirectory.
Calculate and substitute TARGET_CONFIGARGS (formerly
CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).
Jakub Jelinek [Wed, 28 Nov 2001 19:15:14 +0000 (19:15 +0000)]
* elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.
(elf64_alpha_relocate_section): Translate local_got_entries
for STT_SECTION symbol to SHF_MERGE section the first time
we see it.
* elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add
sec_merge_done.
(get_local_sym_hash): New, extracted from get_dyn_sym_info.
(get_dyn_sym_info): Use it.
(elfNN_ia64_relocate_section): Translate local dyn entries
for STT_SECTION symbol to SHF_MERGE section the first time
we see it.
* write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used
in reloc if it has non-zero addend.
* config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check.
* config/tc-sparc.c (md_apply_fix3): Likewise.
Nick Clifton [Wed, 28 Nov 2001 18:57:14 +0000 (18:57 +0000)]
Add .cvsignore files to skip .gmo files
Andreas Schwab [Wed, 28 Nov 2001 17:00:46 +0000 (17:00 +0000)]
* as.c (parse_args): Call md_after_parse_args if defined.
* config/tc-ia64.h (md_after_parse_args): Define.
* config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs.
* doc/internals.texi (CPU backend): Document md_after_parse_args.
Jim Blandy [Wed, 28 Nov 2001 03:40:50 +0000 (03:40 +0000)]
* s390-tdep.c: Get frame chains and saved pc values properly from
dummy frames.
(s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
saved PC from the dummy frame's registers.
(s390_frame_chain): Same for the saved SP.
(s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
set correctly.
Jim Blandy [Wed, 28 Nov 2001 03:36:36 +0000 (03:36 +0000)]
* s390-tdep.c (s390_frame_chain): Remember that the SP's element
of the frame's saved_regs array is special.
DJ Delorie [Wed, 28 Nov 2001 02:11:49 +0000 (02:11 +0000)]
merge from gcc
gdbadmin [Wed, 28 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 27 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Jim Blandy [Tue, 27 Nov 2001 22:48:26 +0000 (22:48 +0000)]
* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
longer used.
Jim Blandy [Tue, 27 Nov 2001 22:19:55 +0000 (22:19 +0000)]
* s390-tdep.c (register_names): Call the general-purpose registers
`r0' -- `r15', and the floating-point registers `f0' -- `f15', to
match the assembly language.
H.J. Lu [Tue, 27 Nov 2001 19:06:07 +0000 (19:06 +0000)]
2001-11-27 H.J. Lu <hjl@gnu.org>
* emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
* emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
* emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
* scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
is not empty.
(SDATA): Likewise.
(REL_SDATA): Likewise.
(REL_SBSS): Likewise.
(REL_SDATA2): Likewise.
(REL_SBSS2): Likewise.
(SBSS2): Define if ${NO_SMALL_DATA} is not empty.
(SDATA2): Likewise.
H.J. Lu [Tue, 27 Nov 2001 19:03:27 +0000 (19:03 +0000)]
2001-11-27 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't
ELF.
Christopher Faylor [Tue, 27 Nov 2001 05:16:39 +0000 (05:16 +0000)]
fix white space.
Christopher Faylor [Tue, 27 Nov 2001 05:15:58 +0000 (05:15 +0000)]
* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
* win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended
registers if HAVE_SSE_REGS is defined.
(mappings array): Add offset of extended registers.
(thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
Tom Tromey [Tue, 27 Nov 2001 04:15:09 +0000 (04:15 +0000)]
* NEWS: Updated.
* event-loop.c (start_event_loop): Call
after_char_processing_hook.
* event-top.h (after_char_processing_hook): Declare.
* event-top.c (rl_callback_read_char_wrapper): Call
after_char_processing_hook.
(after_char_processing_hook): New global.
* top.c (operate_saved_history): New global.
(gdb_rl_operate_and_get_next): New function.
(init_main): Add the operate-and-get-next defun.
(gdb_rl_operate_and_get_next_completion): New function.
Tom Tromey [Tue, 27 Nov 2001 04:14:37 +0000 (04:14 +0000)]
* gdb.texinfo (Command Syntax): Document C-o binding.
Tom Tromey [Tue, 27 Nov 2001 03:09:44 +0000 (03:09 +0000)]
* NEWS: Update for --args.
* infcmd.c (construct_inferior_arguments): Moved from ...
* fork-child.c: ... here.
Michael Snyder [Tue, 27 Nov 2001 01:29:03 +0000 (01:29 +0000)]
2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.
Jim Blandy [Tue, 27 Nov 2001 00:03:22 +0000 (00:03 +0000)]
* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
comment explaining that hand-written assembly code can have line
number info but no debug info for an enclosing function.
gdbadmin [Tue, 27 Nov 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 26 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Geoffrey Keating [Mon, 26 Nov 2001 22:52:00 +0000 (22:52 +0000)]
* config.sub: Update to version 1.232 on subversion.
DJ Delorie [Mon, 26 Nov 2001 22:25:58 +0000 (22:25 +0000)]
merge from gcc
Fernando Nasser [Mon, 26 Nov 2001 21:29:31 +0000 (21:29 +0000)]
2001-11-26 Fernando Nasser <fnasser@redhat.com>
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.
DJ Delorie [Mon, 26 Nov 2001 21:23:10 +0000 (21:23 +0000)]
merge from gcc
Christopher Faylor [Mon, 26 Nov 2001 20:34:56 +0000 (20:34 +0000)]
* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini use
since it is described in the referenced section. From Eli Zaretskii
<eliz@is.elta.co.il>
* gdb.texinfo (Command Files): Reword to make gdb.ini requirement clearer when
using DJGPP.
Fernando Nasser [Mon, 26 Nov 2001 19:40:19 +0000 (19:40 +0000)]
2001-11-26 Fernando Nasser <fnasser@redhat.com>
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.
Jeff Law [Mon, 26 Nov 2001 19:31:27 +0000 (19:31 +0000)]
* stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
prototypes.
Jakub Jelinek [Mon, 26 Nov 2001 16:42:11 +0000 (16:42 +0000)]
* sparc-nat.c (fetch_inferior_registers): Don't rely
on CORE_ADDR being 32-bit.
(store_inferior_registers): Likewise.
gdbadmin [Mon, 26 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Sun, 25 Nov 2001 23:43:43 +0000 (23:43 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Alan Modra [Sun, 25 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Stephane Carrez [Sun, 25 Nov 2001 17:29:27 +0000 (17:29 +0000)]
* scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
destructor in rom.
* scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
Andreas Jaeger [Sun, 25 Nov 2001 15:21:58 +0000 (15:21 +0000)]
* gas/all/gas.exp (incbin): Fix condition.
Eli Zaretskii [Sun, 25 Nov 2001 11:32:51 +0000 (11:32 +0000)]
* config/djgpp/config.sed: Fix an error in etc/ at "make install"
time on non-LFN systems where standards*.inf* expands to nothing.
Eli Zaretskii [Sun, 25 Nov 2001 11:29:31 +0000 (11:29 +0000)]
* go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
gdbadmin [Sun, 25 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 24 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Fred Fish [Sat, 24 Nov 2001 21:47:51 +0000 (21:47 +0000)]
Fix obvious typo (Bourn -> Bourne)
Christopher Faylor [Sat, 24 Nov 2001 19:00:03 +0000 (19:00 +0000)]
* win32-nat.c (struct so_stuff): Add objfile *objfile field needed to be able
to remove the DLL when unloaded. Remove unused last field.
(handle_unload_dll): New function to handle unloading of DLL.
(solib_symbols_add): Change return type to struct objfile *.
(get_child_debug_event): Call handle_unload_dll function.
Christopher Faylor [Sat, 24 Nov 2001 18:21:27 +0000 (18:21 +0000)]
* win32-nat.c (_initialize_check_for_gdb_ini): New function.
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
(GDBINIT_FILENAME): Remove.
Mark Kettenis [Sat, 24 Nov 2001 14:43:57 +0000 (14:43 +0000)]
* gdb.asm/configure.in: Fix recognition of ix86 target.
* gdb.asm/configure: Regenerate.
Alan Modra [Sat, 24 Nov 2001 07:39:11 +0000 (07:39 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub
group sizes to accomodate c++.
gdbadmin [Sat, 24 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Fri, 23 Nov 2001 23:01:54 +0000 (23:01 +0000)]
Add x86 OpenBSD native configuration.
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
config/i386/nm-obsd.h: New files.
* configure.host (i[3456]86-*-openbsd*): New host.
* configure.tgt (i[3456]86-*-openbsd*): New target.
* NEWS: Update.
Alan Modra [Fri, 23 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
Jeff Law [Fri, 23 Nov 2001 16:26:01 +0000 (16:26 +0000)]
* gas/all/gas.exp (incbin): Do not run on the PA.
Jeff Law [Fri, 23 Nov 2001 16:18:14 +0000 (16:18 +0000)]
* gas/hppa/parse/parse.exp: Expect failure on line separator bug.
Jakub Jelinek [Fri, 23 Nov 2001 13:16:39 +0000 (13:16 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't clear
relocations in non-alloced sections against global symbols
defined in shared library being built.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
Jakub Jelinek [Fri, 23 Nov 2001 12:17:21 +0000 (12:17 +0000)]
* elf.c (_bfd_elf_rela_local_sym): New.
* elflink.h (elf_link_input_bfd): Don't consider empty
merged sections as removed in relocation tests.
* elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype.
* elf32-i386.c (elf_i386_relocate_section): Handle relocs
against STT_SECTION symbol of SHF_MERGE section.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Call
_bfd_elf_rela_local_sym.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_final_link_relocate): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise for
!partial_inplace relocs. Handle relocs against STT_SECTION
symbol of SHF_MERGE for partial_inplace relocs.
* config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
* write.c (adjust_reloc_syms): Don't handle relocs against
SEC_MERGE section symbols specially.
(fixup_segment): Likewise.
Alan Modra [Fri, 23 Nov 2001 07:09:48 +0000 (07:09 +0000)]
* pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
Also, break out of the loop as soon as an instruction has been
printed.
gdbadmin [Fri, 23 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 22 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 22 Nov 2001 18:49:12 +0000 (18:49 +0000)]
2001-11-22 H.J. Lu <hjl@gnu.org>
* Makefile.in: Regenerated with automake based on automake
1.4-8 in RedHat 7.1.
Nick Clifton [Thu, 22 Nov 2001 16:21:01 +0000 (16:21 +0000)]
Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.
Alan Modra [Thu, 22 Nov 2001 09:08:05 +0000 (09:08 +0000)]
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
(config.status): Delete rule.
Add extra dependencies to cover sourced emulparams files.
* Makefile.in: Regenerate.
* scripttempl/elf.sc: Order <section>, <section>.* and
corresponding linkonce sections as seen in input files.
Formatting fixes. Zero vma of all sections if not relocating.
(STACK): Define and insert if STACK_ADDR defined.
(OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
(OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
(OTHER_READWRITE_SECTIONS): Likewise.
(OTHER_GOT_SECTIONS): Likewise.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_BSS_SECTIONS): Likewise.
* scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise.
* scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise
* emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
(STACK_ADDR): Define.
* emulparams/armelf_oabi.sh: As for armelf.sh.
* emulparams/elf32mcore.sh: As for armelf.sh.
* emulparams/h8300elf.sh: As for armelf.sh.
* emulparams/mn10200.sh: As for armelf.sh.
* emulparams/shelf.sh: As for armelf.sh.
* emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
* emulparams/m32relf.sh: As for elf32fr30.sh.
* emulparams/h8300helf.sh: As for elf32fr30.sh.
* emulparams/h8300self.sh: As for elf32fr30.sh.
* emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
defines with RELOCATING test.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_END_SYMBOLS): ..this.
* emulparams/crislinux.sh: As for criself.sh.
* emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
if not relocating.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
normal and linkonce sections as seen in input files.
* emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
(TEXT_DYNAMIC): Likewise.
(INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
(OTHER_SDATA_SECTIONS): Likewise.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
(OTHER_PLT_RELOC_SECTIONS): Likewise.
(OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
sections as seen in input files.
* emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
* emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
if not relocating.
(OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
(OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
* emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_SECTIONS): Instead, use this..
(OTHER_END_SYMBOLS): ..and this.
* emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
* emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
* emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
* emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
* emulparams/elf32ppclinux.sh: Likewise.
* emulparams/elf32ppcsim.sh: Likewise.
* emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
* emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
* emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
* emulparams/h8300self.sh: Likewise.
* emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
* emulparams/sh.sh: Comment.
* emulparams/shl.sh: Source sh.sh, remove duplicates.
* emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
* emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
Andrew Cagney [Thu, 22 Nov 2001 05:52:23 +0000 (05:52 +0000)]
Mention 5.1 release.
Michael Snyder [Thu, 22 Nov 2001 01:13:10 +0000 (01:13 +0000)]
2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
Michael Snyder [Thu, 22 Nov 2001 01:07:24 +0000 (01:07 +0000)]
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
Tom Tromey [Thu, 22 Nov 2001 00:23:13 +0000 (00:23 +0000)]
Fix for PR gdb/209, PR gdb/156:
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.
Tom Tromey [Thu, 22 Nov 2001 00:21:45 +0000 (00:21 +0000)]
* gdb.texinfo (Invoking GDB): Document --args.
(Mode Options): Likewise.
gdbadmin [Thu, 22 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 21 Nov 2001 23:00:51 +0000 (23:00 +0000)]
daily update
Jim Blandy [Wed, 21 Nov 2001 22:26:48 +0000 (22:26 +0000)]
* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete documentation; this macro has been removed from the
sources.
Kevin Buettner [Wed, 21 Nov 2001 21:56:47 +0000 (21:56 +0000)]
Fix two ``attach'' related bugs involving threads.
Alan Modra [Wed, 21 Nov 2001 14:58:26 +0000 (14:58 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
than sym_sec->output_section to detect relocs against discarded
sections.
Richard Sandiford [Wed, 21 Nov 2001 11:24:13 +0000 (11:24 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
(md_apply_fix3): ...here. Don't prevent the symbol value being
subtracted twice from GPREL addends.
(tc_gen_reloc): Add the symbol value to a GPREL addend if it was
subtracted by the previous function.
Jim Blandy [Wed, 21 Nov 2001 02:01:29 +0000 (02:01 +0000)]
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.
Alan Modra [Wed, 21 Nov 2001 01:13:15 +0000 (01:13 +0000)]
* ldlang.c (map_input_to_output_sections): Replace "break"
accidentally removed with 2001-08-03 change.
(lang_gc_sections_1): Likewise.
Alan Modra [Wed, 21 Nov 2001 00:53:38 +0000 (00:53 +0000)]
daily update
Michael Snyder [Wed, 21 Nov 2001 00:13:30 +0000 (00:13 +0000)]
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Fix quotes in output messages.
Michael Snyder [Wed, 21 Nov 2001 00:12:01 +0000 (00:12 +0000)]
2001-11-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/code-exprs.exp: New file. Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).
gdbadmin [Wed, 21 Nov 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Tue, 20 Nov 2001 19:00:47 +0000 (19:00 +0000)]
Use msgfmt to generate .gmo files from .po files for a distribution.
Keith Seitz [Tue, 20 Nov 2001 18:08:14 +0000 (18:08 +0000)]
* varobj.c (c_value_of_child): Release memory for "name" when
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
Keith Seitz [Tue, 20 Nov 2001 16:54:39 +0000 (16:54 +0000)]
* top.c (gdb_init): Call init_ui_hook before initializing
the default UI.
Elena Zannoni [Tue, 20 Nov 2001 16:36:44 +0000 (16:36 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
Elena Zannoni [Tue, 20 Nov 2001 16:35:24 +0000 (16:35 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.
Alan Modra [Tue, 20 Nov 2001 15:31:10 +0000 (15:31 +0000)]
* ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
Alan Modra [Tue, 20 Nov 2001 15:19:39 +0000 (15:19 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
of false when calling lang_size_sections.
(hppaelf_layout_sections_again): Likewise.
Nick Clifton [Tue, 20 Nov 2001 09:33:49 +0000 (09:33 +0000)]
Fix md_apply_fix3 typo.
Ben Elliston [Tue, 20 Nov 2001 03:33:30 +0000 (03:33 +0000)]
2001-11-20 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
usage after md_apply_fix3 cleanups.
H.J. Lu [Tue, 20 Nov 2001 00:54:51 +0000 (00:54 +0000)]
2001-11-19 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
discarding relocations.