binutils-gdb.git
22 years agoInclude solib.h.
Kevin Buettner [Mon, 3 Dec 2001 21:17:49 +0000 (21:17 +0000)]
Include solib.h.

22 years ago2001-12-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 3 Dec 2001 19:30:39 +0000 (19:30 +0000)]
2001-12-03  Michael Snyder  <msnyder@redhat.com>

* symtab.c (search_symbols): Make sure alloca size is big enough.

22 years agoprune m68k targets down to just m68k-elf
Andrew Cagney [Mon, 3 Dec 2001 19:21:44 +0000 (19:21 +0000)]
prune m68k targets down to just m68k-elf

22 years ago* s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
Jim Blandy [Mon, 3 Dec 2001 18:48:54 +0000 (18:48 +0000)]
* s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
orig_sp if it's not initialized.

22 years agoImport new turkish translations from Translation Project's website.
Nick Clifton [Mon, 3 Dec 2001 10:46:36 +0000 (10:46 +0000)]
Import new turkish translations from Translation Project's website.

22 years ago * elf32-hppa.c (hppa_get_stub_entry): Remove debug message that
Alan Modra [Mon, 3 Dec 2001 08:42:38 +0000 (08:42 +0000)]
* elf32-hppa.c (hppa_get_stub_entry): Remove debug message that
happens to trigger on undefined symbols.
(final_link_relocate): Return bfd_reloc_undefined for undefined
stubs.
(elf32_hppa_relocate_section): Don't say we can't handle a reloc
if we have already warned about an undefined symbol.

22 years ago2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Mon, 3 Dec 2001 08:41:10 +0000 (08:41 +0000)]
2001-11-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* findvar.c (locate_var_value): Specify in which register a register
variable is stored.

22 years ago2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Mon, 3 Dec 2001 08:19:01 +0000 (08:19 +0000)]
2001-11-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (mappings): Correct position of XMM registers,
based on FXSAVE instruction structure.

22 years ago*** empty log message ***
gdbadmin [Mon, 3 Dec 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agommalloc() -> xmmalloc()
Andrew Cagney [Sun, 2 Dec 2001 22:43:59 +0000 (22:43 +0000)]
mmalloc() -> xmmalloc()

22 years agomfree() -> xmfree().
Andrew Cagney [Sun, 2 Dec 2001 22:38:23 +0000 (22:38 +0000)]
mfree() -> xmfree().

22 years agomrealloc() -> xmrealloc().
Andrew Cagney [Sun, 2 Dec 2001 22:08:47 +0000 (22:08 +0000)]
mrealloc() -> xmrealloc().

22 years ago* Makefile.in (simops.h, table.c): Delete targets.
Andrew Cagney [Sun, 2 Dec 2001 19:27:29 +0000 (19:27 +0000)]
* Makefile.in (simops.h, table.c): Delete targets.
(tmp-gencode, gencode.o, gencode): Delete targets.
(simops.h): New file.
($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h.
* gencode.c: Delete file.

22 years ago* i386-tdep.c (i386go32_frame_saved_pc): New function.
Andrew Cagney [Sun, 2 Dec 2001 18:29:08 +0000 (18:29 +0000)]
* i386-tdep.c (i386go32_frame_saved_pc): New function.
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
(FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.

22 years ago * elf32-mips.c (NEWABI_P): New define.
Thiemo Seufer [Sun, 2 Dec 2001 13:27:45 +0000 (13:27 +0000)]
* elf32-mips.c (NEWABI_P): New define.
(USE_REL): Remove, replaced by
(elf_backend_may_use_rel_p): New define.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_mips_howto_table): Rename to elf_mips_howto_table_rel.
Fix some relocation definitions.
(elf_mips_howto_table_rela): New RELA relocation definitions for
NewABI support.
(mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel.
(bfd_elf32_bfd_reloc_type_lookup): Likewise.
(mips_rtype_to_howto): Likewise.
(_bfd_mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_object_p): Typo.
(elf_backend_sign_extend_vma): Reordered together with many other
defines nearby to resemble the order of declaration in the header
file.

22 years ago * coff-mips.c (mips_bfd_reloc_type_lookup): Replace
Thiemo Seufer [Sun, 2 Dec 2001 13:14:48 +0000 (13:14 +0000)]
* coff-mips.c (mips_bfd_reloc_type_lookup): Replace
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
* pe-mips.c (mips_bfd_reloc_type_lookup): Likewise.
* elf32-mips.c (mips_reloc_map): Likewise. Replace
BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
* elf64-mips.c (mips_reloc_map): Likewise.
* reloc.c (BFD_RELOC_MIPS_GPREL): Remove.
(BFD_RELOC_MIPS_GPREL32): Remove.
* config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
by BFD_RELOC_GPREL16.
(load_address): Likewise.
(macro): Likewise.
(md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
BFD_RELOC_GPREL32.
(s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
(tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
*config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.

22 years agoDelete HOST_BYTE_ORDER.
Andrew Cagney [Sun, 2 Dec 2001 02:57:18 +0000 (02:57 +0000)]
Delete HOST_BYTE_ORDER.

22 years ago*** empty log message ***
gdbadmin [Sun, 2 Dec 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoZap sony news (m68k) and ISI (m68k) targets.
Andrew Cagney [Sat, 1 Dec 2001 23:06:47 +0000 (23:06 +0000)]
Zap sony news (m68k) and ISI (m68k) targets.

22 years agodaily update
Alan Modra [Sat, 1 Dec 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agoZap zap.
Andrew Cagney [Sat, 1 Dec 2001 22:49:21 +0000 (22:49 +0000)]
Zap zap.

22 years agoZap the ultra series of a29k host and target.
Andrew Cagney [Sat, 1 Dec 2001 22:34:11 +0000 (22:34 +0000)]
Zap the ultra series of a29k host and target.

22 years agoZap Sun's i386i.
Andrew Cagney [Sat, 1 Dec 2001 22:19:30 +0000 (22:19 +0000)]
Zap Sun's i386i.

22 years agoZap all but ns32k-netbsd NS32k targets and hosts.
Andrew Cagney [Sat, 1 Dec 2001 22:02:03 +0000 (22:02 +0000)]
Zap all but ns32k-netbsd NS32k targets and hosts.

22 years agoZap harris target and host.
Andrew Cagney [Sat, 1 Dec 2001 21:11:41 +0000 (21:11 +0000)]
Zap harris target and host.

22 years agoZap some older PPC targets.
Andrew Cagney [Sat, 1 Dec 2001 21:01:58 +0000 (21:01 +0000)]
Zap some older PPC targets.

22 years agoZap a29k.
Andrew Cagney [Sat, 1 Dec 2001 19:34:37 +0000 (19:34 +0000)]
Zap a29k.

22 years agoOops, Delete tic80, really.
Andrew Cagney [Sat, 1 Dec 2001 19:17:56 +0000 (19:17 +0000)]
Oops, Delete tic80, really.

22 years agoDelete tic80 target.
Andrew Cagney [Sat, 1 Dec 2001 19:10:00 +0000 (19:10 +0000)]
Delete tic80 target.

22 years agoFrom Mark Peek.
Andrew Cagney [Sat, 1 Dec 2001 18:56:36 +0000 (18:56 +0000)]
From Mark Peek.
* ppc-spr-table: Add SDA and PIR.

23 years agoAdd assembly-source tests for s390-ibm-linux.
Jim Blandy [Sat, 1 Dec 2001 01:13:27 +0000 (01:13 +0000)]
Add assembly-source tests for s390-ibm-linux.
* gdb.asm/s390.inc: New file.
* gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
the S/390 architecture.
* gdb.asm/configure: Regenerated.

23 years agoAdd cross platform SVR4 shared library support for PowerPC.
Kevin Buettner [Sat, 1 Dec 2001 00:25:08 +0000 (00:25 +0000)]
Add cross platform SVR4 shared library support for PowerPC.

23 years ago*** empty log message ***
gdbadmin [Sat, 1 Dec 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* gdb.texinfo (Overlays): New chapter, documenting GDB's
Jim Blandy [Fri, 30 Nov 2001 23:03:09 +0000 (23:03 +0000)]
* gdb.texinfo (Overlays): New chapter, documenting GDB's
overlay support.  Add to top-level menu.

23 years agodaily update
Alan Modra [Fri, 30 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

23 years agoDefine SVR4 link map offset fetcher for Linux/ARM.
Kevin Buettner [Fri, 30 Nov 2001 20:27:09 +0000 (20:27 +0000)]
Define SVR4 link map offset fetcher for Linux/ARM.

23 years agoFix typo.
Michael Snyder [Fri, 30 Nov 2001 18:53:06 +0000 (18:53 +0000)]
Fix typo.

23 years ago * values.c (value_primitive_field): Add embedded_offset to the
Daniel Jacobowitz [Fri, 30 Nov 2001 17:47:51 +0000 (17:47 +0000)]
    * values.c (value_primitive_field): Add embedded_offset to the
        address of structure members.
        * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
        attempting to access vtable pointer.  Set using_enc_p if we cast.
        (gnuv3_virtual_fn_field): Call value_cast with structure rather than
        structure pointer.  Cast to base type before attempting to access
        vtable pointer.

23 years ago2001-11-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Nov 2001 15:50:56 +0000 (15:50 +0000)]
2001-11-30  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): New.
(elf_link_add_object_symbols): Call elf_add_default_symbol ()
to create an indirect symbol from the default for the symbol
with the default version if needed.

23 years ago2001-11-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Nov 2001 15:41:17 +0000 (15:41 +0000)]
2001-11-30  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (build_vers_lib): Preserve the library
order.

23 years ago2001-11-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Nov 2001 08:07:34 +0000 (08:07 +0000)]
2001-11-29  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (build_vers_lib): Support linking against
more than one libraries.
Add "vers20a" and "vers20" tests for common symbols.

* ld-elfvers/vers20.c: New.
* ld-elfvers/vers20.dsym: New.
* ld-elfvers/vers20.map: New.
* ld-elfvers/vers20.ver: New.
* ld-elfvers/vers20a.ver: New.

23 years ago2001-11-29 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 30 Nov 2001 02:14:08 +0000 (02:14 +0000)]
2001-11-29  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.

* ppc-tdep.h (PPC_GPLAST_REGNUM): Define.

* ppc-linux-nat.c: Include ppc-tdep.h.
(ppc_register_u_addr): Don't use the static array regmap[],
dynamically define the mapping instead.
(supply_gregset): Ditto.
(fill_gregset): Ditto.
(COPY_REG): Delete macro defintion.
(regmap): Delete array.

23 years ago*** empty log message ***
gdbadmin [Fri, 30 Nov 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

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

23 years agoTighten up GDB's support for returning structs by value.
Jim Blandy [Thu, 29 Nov 2001 22:24:42 +0000 (22:24 +0000)]
Tighten up GDB's support for returning structs by value.
* s390-tdep.c (s390_use_struct_convention): New function.
(s390_gdbarch_init): Register it as the S/390's
USE_STRUCT_CONVENTION method.  Register
generic_cannot_extract_struct_value_address as our
EXTRACT_STRUCT_VALUE_ADDRESS method.
* arch-utils.c (generic_cannot_extract_struct_value_address): New
function.
* arch-utils.h: Add corresponding prototype.

23 years ago2001-11-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 29 Nov 2001 18:51:21 +0000 (18:51 +0000)]
2001-11-29  H.J. Lu <hjl@gnu.org>

* bucomm.c (make_tempname): Revert the changes made on
2001-11-14 and 2001-11-12. They won't work with directories.

23 years ago* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
Alexandre Oliva [Thu, 29 Nov 2001 18:23:11 +0000 (18:23 +0000)]
* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
prefix `+'.

23 years agoCopyright 2001
Alexandre Oliva [Thu, 29 Nov 2001 18:08:13 +0000 (18:08 +0000)]
Copyright 2001

23 years ago* config/tc-d10v.c (find_opcode): Reject non-SP operand if
Alexandre Oliva [Thu, 29 Nov 2001 18:04:12 +0000 (18:04 +0000)]
* config/tc-d10v.c (find_opcode): Reject non-SP operand if
flags requires SP.

23 years ago* d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
Alexandre Oliva [Thu, 29 Nov 2001 18:04:00 +0000 (18:04 +0000)]
* d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
(RSRC_SP): New macro.
(d10v_operands): Add it.
(d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.

23 years ago* d10v.h (OPERAND_SP): New macro.
Alexandre Oliva [Thu, 29 Nov 2001 18:03:50 +0000 (18:03 +0000)]
* d10v.h (OPERAND_SP): New macro.

23 years ago* values.c (value_being_returned): Make error message a proper
Jim Blandy [Thu, 29 Nov 2001 17:37:38 +0000 (17:37 +0000)]
* values.c (value_being_returned): Make error message a proper
sentence.

23 years ago2001-11-29 H.J. Lu <hjl@gnu.org>
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.

23 years agoPass CC_FOR_TARGET and CFLAGS_FOR_TARGET to runtest in environment.
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.

23 years ago* dwarf2read.c (read_attribute_value): New function to handle DW_FORM_indirect
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

23 years ago * MAINTAINERS (write-after-approval): Add my entry.
Keith Walker [Thu, 29 Nov 2001 11:34:03 +0000 (11:34 +0000)]
    * MAINTAINERS (write-after-approval):  Add my entry.

23 years agoDo not overwite the core signal if it has already been set by another thread.
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.

23 years agoRemove case sensitivity in register names.
Nick Clifton [Thu, 29 Nov 2001 09:41:34 +0000 (09:41 +0000)]
Remove case sensitivity in register names.

23 years ago* s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
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.

23 years ago* Import GNU gettext 0.10.35.
Ben Elliston [Thu, 29 Nov 2001 03:38:59 +0000 (03:38 +0000)]
* Import GNU gettext 0.10.35.

23 years agotouch all source to ease import
Ben Elliston [Thu, 29 Nov 2001 03:20:34 +0000 (03:20 +0000)]
touch all source to ease import

23 years ago * objcopy.c (setup_section): Preserve SEC_RELOC when
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.

23 years ago*** empty log message ***
gdbadmin [Thu, 29 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Wed, 28 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

23 years agoclarify obvious fix.
Andrew Cagney [Wed, 28 Nov 2001 22:47:30 +0000 (22:47 +0000)]
clarify obvious fix.

23 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Jim Blandy [Wed, 28 Nov 2001 21:56:40 +0000 (21:56 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.

23 years agoWhen build != host, create libiberty for the build machine.
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).

23 years ago * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.
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.

23 years agoAdd .cvsignore files to skip .gmo files
Nick Clifton [Wed, 28 Nov 2001 18:57:14 +0000 (18:57 +0000)]
Add .cvsignore files to skip .gmo files

23 years ago * as.c (parse_args): Call md_after_parse_args if defined.
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.

23 years ago* s390-tdep.c: Get frame chains and saved pc values properly from
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.

23 years ago* s390-tdep.c (s390_frame_chain): Remember that the SP's element
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.

23 years agomerge from gcc
DJ Delorie [Wed, 28 Nov 2001 02:11:49 +0000 (02:11 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Wed, 28 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Tue, 27 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

23 years ago* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
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.

23 years ago* s390-tdep.c (register_names): Call the general-purpose registers
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.

23 years ago2001-11-27 H.J. Lu <hjl@gnu.org>
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.

23 years ago2001-11-27 H.J. Lu <hjl@gnu.org>
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.

23 years agofix white space.
Christopher Faylor [Tue, 27 Nov 2001 05:16:39 +0000 (05:16 +0000)]
fix white space.

23 years ago* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
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.

23 years ago * NEWS: Updated.
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.

23 years ago * gdb.texinfo (Command Syntax): Document C-o binding.
Tom Tromey [Tue, 27 Nov 2001 04:14:37 +0000 (04:14 +0000)]
* gdb.texinfo (Command Syntax): Document C-o binding.

23 years ago * NEWS: Update for --args.
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.

23 years ago2001-11-21 Michael Snyder <msnyder@redhat.com>
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.

23 years ago* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
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.

23 years ago*** empty log message ***
gdbadmin [Tue, 27 Nov 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Mon, 26 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

23 years ago * config.sub: Update to version 1.232 on subversion.
Geoffrey Keating [Mon, 26 Nov 2001 22:52:00 +0000 (22:52 +0000)]
* config.sub: Update to version 1.232 on subversion.

23 years agomerge from gcc
DJ Delorie [Mon, 26 Nov 2001 22:25:58 +0000 (22:25 +0000)]
merge from gcc

23 years ago2001-11-26 Fernando Nasser <fnasser@redhat.com>
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.

23 years agomerge from gcc
DJ Delorie [Mon, 26 Nov 2001 21:23:10 +0000 (21:23 +0000)]
merge from gcc

23 years ago* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini use
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.

23 years ago2001-11-26 Fernando Nasser <fnasser@redhat.com>
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.

23 years ago * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
Jeff Law [Mon, 26 Nov 2001 19:31:27 +0000 (19:31 +0000)]
    * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
        prototypes.

23 years ago * sparc-nat.c (fetch_inferior_registers): Don't rely
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.

23 years ago*** empty log message ***
gdbadmin [Mon, 26 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Jim Blandy [Sun, 25 Nov 2001 23:43:43 +0000 (23:43 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.

23 years agodaily update
Alan Modra [Sun, 25 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

23 years ago * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
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.