binutils-gdb.git
22 years ago2002-08-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 5 Aug 2002 17:12:56 +0000 (17:12 +0000)]
2002-08-05  Andrew Cagney  <ac131313@redhat.com>
* mcore-tdep.c (mcore_gdbarch_init): Use
generic_unwind_get_saved_register instead of
generic_get_saved_register.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto.
* config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto.

22 years ago * objfiles.h: Add missing #include "symfile.h"
Joel Brobecker [Mon, 5 Aug 2002 16:17:41 +0000 (16:17 +0000)]
    * objfiles.h: Add missing #include "symfile.h"
        * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.

22 years ago * prdbg.c (pr_fix_visibility): Remove assert.
Alan Modra [Mon, 5 Aug 2002 00:54:11 +0000 (00:54 +0000)]
* prdbg.c (pr_fix_visibility): Remove assert.

22 years agodaily update
Alan Modra [Mon, 5 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Mon, 5 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-08-04 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sun, 4 Aug 2002 23:15:52 +0000 (23:15 +0000)]
2002-08-04  H.J. Lu  (hjl@gnu.org)

* configure.in (mips*-*-linux*): Don't skip target-libffi.

22 years agoFrom 2002-08-01 david carlton <carlton@math.stanford.edu>:
Andrew Cagney [Sun, 4 Aug 2002 19:11:12 +0000 (19:11 +0000)]
From 2002-08-01 david carlton <carlton@math.stanford.edu>:
* hpread.c (hpread_read_struct_type): Deleted superfluous setting
of FIELD_BITSIZE.

22 years ago * NEWS: Cleanup and nitpick.
Daniel Jacobowitz [Sun, 4 Aug 2002 15:12:09 +0000 (15:12 +0000)]
    * NEWS: Cleanup and nitpick.

22 years agoNEWS cleanups
Andrew Cagney [Sun, 4 Aug 2002 00:02:49 +0000 (00:02 +0000)]
NEWS cleanups

22 years agodaily update
Alan Modra [Sun, 4 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 4 Aug 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-08-03 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 3 Aug 2002 23:37:07 +0000 (23:37 +0000)]
2002-08-03  Andrew Cagney  <ac131313@redhat.com>
* gdb.texinfo (Dump/Restore Files): Move `[]' to outside of @var.

22 years agoIndex: ChangeLog
Andrew Cagney [Sat, 3 Aug 2002 16:22:06 +0000 (16:22 +0000)]
Index: ChangeLog
2002-08-03  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (gdbtk-bp.o): Update dependencies.
(gdbtk-register.o): Ditto.
(gdbtk-varobj.o): Ditto.

Index: gdbtk/ChangeLog
2002-08-03  Andrew Cagney  <ac131313@redhat.com>

* generic/gdbtk-bp.c: Include "gdb_string.h".
* generic/gdbtk-register.c: Ditto.
* generic/gdbtk-varobj.c: Ditto.

22 years ago2002-08-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 3 Aug 2002 15:56:23 +0000 (15:56 +0000)]
2002-08-03  Andrew Cagney  <cagney@redhat.com>

* m68hc11-tdep.c (m68hc11_pseudo_register_read): Replace
m68hc11_fetch_pseudo_register.
(m68hc11_pseudo_register_write): Replace
m68hc11_store_pseudo_register.
(m68hc11_gdbarch_init): Update.

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

22 years agodaily update
Alan Modra [Sat, 3 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoFri Aug 2 15:53:50 2002 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 2 Aug 2002 20:51:21 +0000 (20:51 +0000)]
Fri Aug  2 15:53:50 2002  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Include "gdb_string.h".
* gdbarch.c: Regenerate.

* regcache.c: Include "gdb_string.h".
* ax-general.c: Ditto.
* varobj.c: Ditto.
* std-regs.c: Ditto.
* fbsd-proc.c: Ditto.
* thread.c: Ditto.

* Makefile.in (regcache.o): Update dependencies.
(thread.o, gdbarch.o): Ditto.
(ax-general.o, gdbarch.o): Ditto.
(varobj.o, std-regs.o): Ditto.
(fbsd-proc.o): Specify dependencies.

22 years ago2002-08-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 2 Aug 2002 19:06:21 +0000 (19:06 +0000)]
2002-08-02  Andrew Cagney  <cagney@redhat.com>
* regcache.c (regcache_cooked_read): Rename rawnum parameter to
regnum.
(regcache_cooked_write): Ditto.

22 years agoAdd the cooked register interface.
Andrew Cagney [Fri, 2 Aug 2002 18:08:31 +0000 (18:08 +0000)]
Add the cooked register interface.

22 years ago2002-08-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 2 Aug 2002 14:48:19 +0000 (14:48 +0000)]
2002-08-02  Andrew Cagney  <cagney@redhat.com>
* gdbarch.sh (pseudo_register_read, pseudo_register_write):
Replace the architecture methods register_read and register_write.
* gdbarch.h, gdbarch.c: Regenerate.
* regcache.c (init_regcache_descr): Update.
(read_register_gen): Update.
(write_register_gen): Update.
(supply_register): Update comment.
* sh-tdep.c (sh_gdbarch_init): Update.
(sh_pseudo_register_read, sh64_pseudo_register_read): Add
`regcache' and `gdbarch' parameters.  Make `buffer' a void
pointer.  Update code.
(sh_pseudo_register_write, sh64_pseudo_register_write): Add
`regcache' and `gdbarch' parameters.  Make `buffer' a constant
void pointer.  Update code.
(sh64_register_write): Delete.
(sh4_register_read): Delete.
(sh64_register_read): Delete.
(sh4_register_write): Delete.
(sh_sh4_register_convert_to_raw): Make `from' parameter a constant
void pointer, `to' parameter a void pointer.
(sh_sh64_register_convert_to_raw): Ditto.

22 years ago2002-08-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 2 Aug 2002 02:33:48 +0000 (02:33 +0000)]
2002-08-01  H.J. Lu <hjl@gnu.org>

* gas/mips/elf-rel6.s: Add ".p2align 4".
* gas/mips/elf-rel6.d: Check nop.

22 years agoMore obsolete CHILL.
Andrew Cagney [Fri, 2 Aug 2002 00:25:23 +0000 (00:25 +0000)]
More obsolete CHILL.

22 years ago*** empty log message ***
gdbadmin [Fri, 2 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 2 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * mips-tdep.c (mips_register_virtual_type): Use architecture
Kevin Buettner [Thu, 1 Aug 2002 23:10:34 +0000 (23:10 +0000)]
* mips-tdep.c (mips_register_virtual_type): Use architecture
invariant return values.

22 years ago* linux-proc.c: Include "gdb_string.h".
Andrew Cagney [Thu, 1 Aug 2002 22:55:36 +0000 (22:55 +0000)]
* linux-proc.c: Include "gdb_string.h".
* Makefile.in (linux-proc.o): Update dependency list.

22 years ago* lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
Andrew Cagney [Thu, 1 Aug 2002 22:06:49 +0000 (22:06 +0000)]
* lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
supress message.

22 years ago * mips-tdep.c (mips_gdbarch_init): Add comments. Fix typo in
Kevin Buettner [Thu, 1 Aug 2002 21:36:27 +0000 (21:36 +0000)]
* mips-tdep.c (mips_gdbarch_init): Add comments.  Fix typo in
comment.

22 years ago * target.h: Add to_insert_hw_breakpoint, to_remove_hw_breakpoint,
Grace Sainsbury [Thu, 1 Aug 2002 21:20:14 +0000 (21:20 +0000)]
* target.h: Add to_insert_hw_breakpoint, to_remove_hw_breakpoint,
to_insert_watchpoint, to_remove_watchpoint,
to_stopped_by_watchpoint, to_stopped_data_address,
to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint to
target vecctor. Define their corresponding macros so they call
them.

* target.c: Add default and debug versions of for
to_insert_hw_breakpoint, to_remove_hw_breakpoint,
to_insert_watchpoint, to_remove_watchpoint,
to_stopped_by_watchpoint, to_stopped_data_address,
to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint.

22 years ago[gas/]
Richard Sandiford [Thu, 1 Aug 2002 20:14:49 +0000 (20:14 +0000)]
[gas/]
* config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
handling to BFD_RELOC_MIPS16_GPREL.

[gas/testsuite/]
* gas/mips/elf-rel6.[sd]: New test.
* gas/mips/mips.exp: Run it.

22 years agoMultiarch REGISTER_VIRTUAL_TYPE for Irix 6.
Kevin Buettner [Thu, 1 Aug 2002 19:57:41 +0000 (19:57 +0000)]
Multiarch REGISTER_VIRTUAL_TYPE for Irix 6.

22 years ago * elf32-ip2k.c: Processor manufacturer changed to Ubicom.
Denis Chertykov [Thu, 1 Aug 2002 18:29:09 +0000 (18:29 +0000)]
* elf32-ip2k.c: Processor manufacturer changed to Ubicom.
(struct misc): New field isymbuf. All free_* fields removed.
(symbol_value): Pass in internal syms. No need to swap syms in.
(ip2k_elf_relax_section): Use bfd_elf_get_elf_syms. Properly free
possibly cached info.
(tidyup_after_error): Removed.
(ip2k_elf_relax_section_pass1): Don't use removed fields of struct
misc. Use new field.
(adjust_all_relocations): Use internal syms. No need to swap syms
in and out.
(add_page_insn): Don't use removed fields of struct misc.

22 years ago2002-08-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 1 Aug 2002 17:18:35 +0000 (17:18 +0000)]
2002-08-01  Andrew Cagney  <cagney@redhat.com>

* NEWS: Menion that CHILL has been made obsolete.

* gdbtypes.c (chill_varying_type): Make chill references obsolete.
* gdbserver/Makefile.in: Ditto.
* stabsread.c (read_range_type): Ditto.
* gdbtypes.h: Ditto.
* language.c (binop_type_check): Ditto.
(binop_result_type): Ditto.
(integral_type): Ditto.
(character_type): Ditto.
(string_type): Ditto.
(boolean_type): Ditto.
(structured_type): Ditto.
(lang_bool_type): Ditto.
(binop_type_check): Ditto.
* language.h (_LANG_chill): Ditto.
* dwarfread.c (set_cu_language): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
* dwarfread.c (handle_producer): Ditto.
* expression.h (enum exp_opcode): Ditto.
* eval.c: Ditto for comments.
* typeprint.c (typedef_print) [_LANG_chill]: Ditto.
* expprint.c (print_subexp): Ditto.
(print_subexp): Ditto.
* valops.c (value_cast): Ditto.
(search_struct_field): Ditto.
* value.h (COERCE_VARYING_ARRAY): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* valarith.c (value_binop): Ditto.
(value_neg): Ditto.
* valops.c (value_slice): Ditto.
* symtab.h (union language_specific): Ditto.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
(SYMBOL_DEMANGLED_NAME): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* defs.h (enum language): Ditto.
* symtab.c (got_symtab): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.

* ch-typeprint.c: Make file obsolete.
* ch-valprint.c: Make file obsolete.
* ch-lang.h: Make file obsolete.
* ch-exp.c: Make file obsolete.
* ch-lang.c: Make file obsolete.

* Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
CHILL_LIB.
(TARGET_FLAGS_TO_PASS): Ditto.
(CHILLFLAGS): Obsolete.
(CHILL): Obsolete.
(CHILL_FOR_TARGET): Obsolete.
(CHILL_LIB): Obsolete.
(SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
ch-valprint.c.
(HFILES_NO_SRCDIR): Remove ch-lang.h.
(COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
ch-lang.o.
(ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
targets.

2002-08-01  Andrew Cagney  <cagney@redhat.com>

* stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references
to CHILL.

2002-08-01  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.

22 years ago2002-08-01 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 1 Aug 2002 16:49:25 +0000 (16:49 +0000)]
2002-08-01  Andrew Cagney  <ac131313@redhat.com>
* gdbint.texinfo (Coding): Revise section "Include Files".

22 years agoEnsure that offset to literal pool is computed using signed arithmetic so that
Nick Clifton [Thu, 1 Aug 2002 16:31:16 +0000 (16:31 +0000)]
Ensure that offset to literal pool is computed using signed arithmetic so that
proper sign extension is performed if X_add_number is a 64-bit integer.

22 years ago2002-08-01 H.J. Lu <hjl@gnu.org>
Daniel Jacobowitz [Thu, 1 Aug 2002 15:04:41 +0000 (15:04 +0000)]
2002-08-01  H.J. Lu  <hjl@gnu.org>
            Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
        .debug_line section unless it has line information.

22 years agoRevert Adam Nemet's THUMB PLT patch
Nick Clifton [Thu, 1 Aug 2002 14:03:01 +0000 (14:03 +0000)]
Revert Adam Nemet's THUMB PLT patch

22 years agoFix typo.
Andreas Schwab [Thu, 1 Aug 2002 12:16:36 +0000 (12:16 +0000)]
Fix typo.

22 years agoBump version number.
Nick Clifton [Thu, 1 Aug 2002 06:47:58 +0000 (06:47 +0000)]
Bump version number.

22 years ago2002-07-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 1 Aug 2002 06:29:44 +0000 (06:29 +0000)]
2002-07-31  H.J. Lu <hjl@gnu.org>

* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
--enable-64-bit-bfd.

22 years agoEnable x86-64 for Linux/i386 if 64bit BFD is selected.
H.J. Lu [Thu, 1 Aug 2002 06:24:53 +0000 (06:24 +0000)]
Enable x86-64 for Linux/i386 if 64bit BFD is selected.

22 years ago*** empty log message ***
gdbadmin [Thu, 1 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
Joel Brobecker [Wed, 31 Jul 2002 22:35:48 +0000 (22:35 +0000)]
   * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
       This does not change anything at the moment, but will be helpful
       later when full Ada support is integrated.

22 years agoEnable 64bit emulations for Linux/mips if 64bit BFD is selected.
H.J. Lu [Wed, 31 Jul 2002 22:26:53 +0000 (22:26 +0000)]
Enable 64bit emulations for Linux/mips if 64bit BFD is selected.

22 years ago * mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
Kevin Buettner [Wed, 31 Jul 2002 20:26:49 +0000 (20:26 +0000)]
* mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
help message.

22 years ago * mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
Kevin Buettner [Wed, 31 Jul 2002 20:08:20 +0000 (20:08 +0000)]
* mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
and save it in a local variable.  Use variable in later test.

22 years ago * mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
Kevin Buettner [Wed, 31 Jul 2002 19:08:46 +0000 (19:08 +0000)]
* mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
test.  (Thanks to Daniel Jacobowitz.)

22 years ago * mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
Kevin Buettner [Wed, 31 Jul 2002 18:13:24 +0000 (18:13 +0000)]
* mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
(mips_abi_strings): Add "n64".
(mips_gdbarch_init): Add test for n64 abi.  Add MIPS_ABI_N64 case.

22 years ago * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
Kevin Buettner [Wed, 31 Jul 2002 17:22:06 +0000 (17:22 +0000)]
* config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
(REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.

22 years ago * utils.c (host_pointer_to_address, address_to_host_pointer):
Kevin Buettner [Wed, 31 Jul 2002 17:01:01 +0000 (17:01 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Use gdb_assert() instead of explicit call to internal_error().

22 years agoFix bugs and remove compile time warnings for N"32K port.
Nick Clifton [Wed, 31 Jul 2002 16:23:29 +0000 (16:23 +0000)]
Fix bugs and remove compile time warnings for N"32K port.

22 years ago * elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type
Jakub Jelinek [Wed, 31 Jul 2002 15:04:06 +0000 (15:04 +0000)]
* elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type
if _bfd_elf_link_hash_copy_indirect will swap got.refcount.

22 years agoAdd new field to bfd_link structure and use it to control how common symbols
Nick Clifton [Wed, 31 Jul 2002 12:50:09 +0000 (12:50 +0000)]
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.

22 years agoAdd support for Thumb PLT entries with interworking
Nick Clifton [Wed, 31 Jul 2002 12:04:47 +0000 (12:04 +0000)]
Add support for Thumb PLT entries with interworking

22 years agoRetroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
Nick Clifton [Wed, 31 Jul 2002 09:59:03 +0000 (09:59 +0000)]
Retroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
2.11BSD a.out support.

22 years agoRename function arguments to avoid shadowing global symbols of the same name.
Nick Clifton [Wed, 31 Jul 2002 09:38:04 +0000 (09:38 +0000)]
Rename function arguments to avoid shadowing global symbols of the same name.

22 years agoFix range check for immediate operand.
Nick Clifton [Wed, 31 Jul 2002 09:17:52 +0000 (09:17 +0000)]
Fix range check for immediate operand.

22 years ago2002-07-30 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 31 Jul 2002 05:48:31 +0000 (05:48 +0000)]
2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
        to Broadcom SB-1 core support.

22 years ago2002-07-30 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 31 Jul 2002 05:44:54 +0000 (05:44 +0000)]
2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_load_double, do_store_double): New functions.
        (LDC1, SDC1): Rename to...
        (LDC1b, SDC1b): respectively.
        (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.

22 years ago * Makefile.am: Add n32 ABI support.
Thiemo Seufer [Wed, 31 Jul 2002 00:32:10 +0000 (00:32 +0000)]
* Makefile.am: Add n32 ABI support.
* Makefile.in: Regenerate.
* config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64
bit vectors for mips*-*-linux targets as optional.
* configure.in: Add n32 ABI vectors.
* configure: Regenerate.
* elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files.
* elfn32-mips.c: New file, n32 ABI support.
* targets.c: Add n32 ABI vectors.

22 years agodaily update
Alan Modra [Wed, 31 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 31 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * config/tc-mips.c (mips_target_format): Fix formatting.
Thiemo Seufer [Tue, 30 Jul 2002 23:56:28 +0000 (23:56 +0000)]
* config/tc-mips.c (mips_target_format): Fix formatting.
Add recognition of n32 ABI formats.

22 years ago * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
Thiemo Seufer [Tue, 30 Jul 2002 23:48:30 +0000 (23:48 +0000)]
* Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
for n32 ABI support.
* Makefile.in: Regenerate.
* configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
n32 ABI emulations for these 64 bit targets.
* emulparams/elf32bmipn32.sh: Expand comment.
* emulparams/elf32btsmipn32.sh: New file, for traditional big endian
n32 ABI.
* emulparams/elf32ltsmipn32.sh: Likewise for little endian.

22 years ago* configure.in: Move generic linux case to end. Copy generic
DJ Delorie [Tue, 30 Jul 2002 23:15:26 +0000 (23:15 +0000)]
* configure.in: Move generic linux case to end.  Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry.  Add target-libffi for the latter.

22 years agoConfigury changes to enable recently added AIX thread support.
Kevin Buettner [Tue, 30 Jul 2002 19:59:06 +0000 (19:59 +0000)]
Configury changes to enable recently added AIX thread support.

22 years ago* tc-mips.c (load_address): Don't clobber $at when loading a
Maciej W. Rozycki [Tue, 30 Jul 2002 19:27:31 +0000 (19:27 +0000)]
* tc-mips.c (load_address): Don't clobber $at when loading a
64-bit address in non-PIC code if noat is in effect.
(macro): Likewise.

22 years ago* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
Maciej W. Rozycki [Tue, 30 Jul 2002 19:24:54 +0000 (19:24 +0000)]
* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
used in division/multiply macro expansions similarly to how they
are used in the variants with break instructions.
(macro2): Likewise.

22 years ago * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
Daniel Jacobowitz [Tue, 30 Jul 2002 19:03:49 +0000 (19:03 +0000)]
    * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
        (ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
        (fetch_core_registers, ppc_linux_supply_gregset)
        (ppc_linux_supply_fpregset): New functions.
        (ppc_linux_regset_core_fns): New.
        (_initialize_ppc_linux_tdep): Call add_core_fns.
        * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
        and ppc_linux_supply_gregset.
        * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
        (supply_fpregset): Call ppc_linux_supply_fpregset.
        * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
        corelow.o.
        * config/powerpc/linux.mt (TDEPFILES): Add corelow.o.

22 years ago * gdb.base/shlib-call.exp (additional_flags): Conditionally
Kevin Buettner [Tue, 30 Jul 2002 18:51:23 +0000 (18:51 +0000)]
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.

22 years agoAdd arm-*-nto port.
Nick Clifton [Tue, 30 Jul 2002 17:32:30 +0000 (17:32 +0000)]
Add arm-*-nto port.

22 years agoUpdated Translations
Nick Clifton [Tue, 30 Jul 2002 15:53:18 +0000 (15:53 +0000)]
Updated Translations

22 years ago * symtab.c (lookup_symbol): Demangle before lowercasing.
Daniel Jacobowitz [Tue, 30 Jul 2002 15:42:07 +0000 (15:42 +0000)]
* symtab.c (lookup_symbol): Demangle before lowercasing.

22 years ago * readelf.c (OPTION_DEBUG_DUMP): Define.
Jakub Jelinek [Tue, 30 Jul 2002 14:33:40 +0000 (14:33 +0000)]
* readelf.c (OPTION_DEBUG_DUMP): Define.
(options): Use it.
(usage): Update help.
(parse_args): Handle --debug-dump separately from -w.
* doc/binutils.texi (readelf): Update documentation.

22 years ago * elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.
Jakub Jelinek [Tue, 30 Jul 2002 14:28:55 +0000 (14:28 +0000)]
* elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.

* ldlang.c (lang_add_section): Don't turn .tbss into normal sections
for relocatable link.
(lang_size_sections_1): Don't make .tbss zero size for relocatable
link.

22 years ago2002-07-30 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 30 Jul 2002 13:45:15 +0000 (13:45 +0000)]
2002-07-30  Andrew Cagney  <ac131313@redhat.com>

* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).

22 years agoAdd per-section and per-sub-section literal pools.
Nick Clifton [Tue, 30 Jul 2002 10:56:04 +0000 (10:56 +0000)]
Add per-section and per-sub-section literal pools.

22 years agoUpdate copyright notice
Nick Clifton [Tue, 30 Jul 2002 09:07:00 +0000 (09:07 +0000)]
Update copyright notice

22 years ago * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
Alan Modra [Tue, 30 Jul 2002 07:41:15 +0000 (07:41 +0000)]
* ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
* ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
ld-linkonce/linkonce.exp, ld-shared/shared.exp,
ld-undefined/weak-undef.exp:  Test hppa*64*-*-hpux* and hppa*-*-linux*
targets.
* ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
ld-discard/static.s: Add whitespace before assembler directives.

22 years ago(Executing the Program): Add documentation on how to use bbconv.pl.
Ulrich Drepper [Tue, 30 Jul 2002 07:02:54 +0000 (07:02 +0000)]
(Executing the Program): Add documentation on how to use bbconv.pl.

22 years agoPatch from David Carlton <carlton@math.stanford.edu>:
Jim Blandy [Tue, 30 Jul 2002 07:01:23 +0000 (07:01 +0000)]
Patch from David Carlton <carlton@math.stanford.edu>:
* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.

22 years ago * aoutx.h (some_aout_object_p): Clean up tdata properly on error.
Alan Modra [Tue, 30 Jul 2002 05:49:24 +0000 (05:49 +0000)]
* aoutx.h (some_aout_object_p): Clean up tdata properly on error.
* archive.c (bfd_generic_archive_p): Likewise.
* coff-rs6000.c (_bfd_xcoff_archive_p): Likewise.
(_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol.
* coff64-rs6000.c (xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_archive_p): Clean up tdata properly on error.
* coffgen.c (coff_real_object_p): Likewise.
(coff_object_p): Release filehdr and opthdr.
* ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error.
* ieee.c (ieee_archive_p): Likewise.
* ihex.c (ihex_object_p): Likewise.
(ihex_mkobject): Always allocate tdata.
* peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error.
* srec.c (srec_mkobject): Always allocate tdata.
(srec_object_p): Clean up tdata properly on error.
(symbolsrec_object_p): Likewise.
* versados.c (versados_object_p): Likewise.
* vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc,
and bfd_realloc instead of realloc.
(add_new_contents): Use bfd_alloc instead of bfd_malloc for sections.
* vms.c (vms_initialize): Always allocate tdata.  Use bfd_alloc in
place of bfd_malloc, simplifying error freeing.  Free hash table too.
(vms_object_p): Clean up tdata on error.
(vms_mkobject): Don't complain on stderr if vms_initialize fails.
(vms_close_and_cleanup): Adjust for bfd_alloc use.

22 years ago * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags.
Alan Modra [Tue, 30 Jul 2002 05:40:20 +0000 (05:40 +0000)]
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags.

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

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

22 years ago * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
Kevin Buettner [Mon, 29 Jul 2002 23:35:56 +0000 (23:35 +0000)]
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
source files.  The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.

22 years ago2002-07-29 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 29 Jul 2002 23:17:10 +0000 (23:17 +0000)]
2002-07-29  Michael Snyder  <msnyder@redhat.com>

* cp1.c (fp_recip2): Modify initialization expression so that
GCC will recognize it as constant.

22 years ago2002-07-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 29 Jul 2002 22:55:26 +0000 (22:55 +0000)]
2002-07-29  Andrew Cagney  <ac131313@redhat.com>

* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).

* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.

* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.

22 years ago[ gas/testsuite/ChangeLog ]
Chris Demetriou [Mon, 29 Jul 2002 21:07:12 +0000 (21:07 +0000)]
[ gas/testsuite/ChangeLog ]
2002-07-26  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking.
        * gas/mips/elf_ase_mips16.s: Likewise.
        * gas/mips/mips.exp: Run the new test.

[ ld/testsuite/ChangeLog ]
2002-07-26  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.

22 years ago2002-07-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 29 Jul 2002 19:54:42 +0000 (19:54 +0000)]
2002-07-25  Andrew Cagney  <cagney@redhat.com>

* regcache.c (struct regcache_descr): Rename nr_registers to
nr_cooked_registers.  Revise comments describing the structure
member fields.
(init_regcache_descr): Update.
(init_legacy_regcache_descr): Update.
(read_register_gen, write_register_gen): When a cooked register in
the raw register range, directly access the value from the raw
register cache.

22 years agomerge from gcc
DJ Delorie [Mon, 29 Jul 2002 18:01:19 +0000 (18:01 +0000)]
merge from gcc

22 years agoAdd dependences to Makefile.in and include sim-h8300 in compile.c
Andrey Volkov [Mon, 29 Jul 2002 17:01:57 +0000 (17:01 +0000)]
Add dependences to Makefile.in and include sim-h8300 in compile.c

22 years agosim-h8300.h: Rename all enums from H8300_ to SIM_H8300_
Andrey Volkov [Mon, 29 Jul 2002 16:57:18 +0000 (16:57 +0000)]
sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_

22 years ago2002-07-26 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 29 Jul 2002 16:34:07 +0000 (16:34 +0000)]
2002-07-26  Andrew Cagney  <ac131313@redhat.com>

* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.

* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.

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

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

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

22 years ago*** empty log message ***
gdbadmin [Sun, 28 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * utils.c (host_pointer_to_address, address_to_host_pointer):
Kevin Buettner [Sat, 27 Jul 2002 02:03:45 +0000 (02:03 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Change internal_error() message to indicate function responsible
for the error.