OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * lib/insight-support.exp (_gdbtk_export_target_info): Add
Keith Seitz [Wed, 19 Sep 2001 00:08:43 +0000 (00:08 +0000)]
* lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
(gdbtk_done): Ditto.

22 years ago*** empty log message ***
gdbadmin [Wed, 19 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Tue, 18 Sep 2001 21:02:02 +0000 (21:02 +0000)]
merge from gcc

22 years ago * gdb.base/ending-run.c (main): Set stdout buffersize
Corinna Vinschen [Tue, 18 Sep 2001 17:49:06 +0000 (17:49 +0000)]
    * gdb.base/ending-run.c (main): Set stdout buffersize
        to the same reasonable value for any target.
        * gdb.base/ending-run.exp: Add a regular expression
        to make testsuite happy on Sanyo Stormy16 target.

22 years agos390 assembler improvements and testsuite
Nick Clifton [Tue, 18 Sep 2001 15:41:33 +0000 (15:41 +0000)]
s390 assembler improvements and testsuite

22 years ago * bfdint.texi: Replace reference to bfd_read with bfd_bread.
Alan Modra [Tue, 18 Sep 2001 10:03:38 +0000 (10:03 +0000)]
* bfdint.texi: Replace reference to bfd_read with bfd_bread.
Likewise for bfd_write.

22 years ago * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
Alan Modra [Tue, 18 Sep 2001 10:01:41 +0000 (10:01 +0000)]
* internal.h (elf_internal_rela): Make r_addend a bfd_vma.

22 years ago * external.h (GET_LINENO_LNNO): Use H_GET_32/16.
Alan Modra [Tue, 18 Sep 2001 10:01:08 +0000 (10:01 +0000)]
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(PUT_LINENO_LNNO): Use H_PUT_32/16.
* m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC,
GET_SCN_NLINNO): Use H_GET_32.
(PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO):
Use H_PUT_32.
* ti.h: Formatting fixes.  Make use of H_GET_* and H_PUT_* throughout.
* xcoff.h: White space changes.

22 years ago * aout64.h: Formatting fixes.
Alan Modra [Tue, 18 Sep 2001 10:00:23 +0000 (10:00 +0000)]
* aout64.h: Formatting fixes.
(N_TXTADDR): Evaluate to a bfd_vma.
(N_DATADDR): Avoid negative unsigned warning.
* hp300hpux.h: Formatting fixes.
(N_DATADDR): As above.

22 years ago * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
Alan Modra [Tue, 18 Sep 2001 09:59:28 +0000 (09:59 +0000)]
* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.

22 years agoTouches most files in bfd/, so likely will be blamed for everything..
Alan Modra [Tue, 18 Sep 2001 09:57:26 +0000 (09:57 +0000)]
Touches most files in bfd/, so likely will be blamed for everything..

o  bfd_read and bfd_write lose an unnecessary param and become
   bfd_bread and bfd_bwrite.

o  bfd_*alloc now all take a bfd_size_type arg, and will error if
   size_t is too small.  eg. 32 bit host, 64 bit bfd, verrry big files
   or bugs in linker scripts etc.

o  file_ptr becomes a bfd_signed_vma.  Besides matching sizes with
   various other types involved in handling sections, this should make
   it easier for bfd to support a 64 bit off_t on 32 bit hosts that
   provide it.

o  I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*)
   generally available.  They now cast their args to bfd_vma and
   bfd_byte * as appropriate, which removes a swag of casts from the
   source.

o  Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and
   aout-encap.c.

o  Zillions of formatting and -Wconversion fixes.

22 years agoFix typo
Nick Clifton [Tue, 18 Sep 2001 07:55:39 +0000 (07:55 +0000)]
Fix typo

22 years agoAdd ui_out parameter to libgdb functions.
Andrew Cagney [Tue, 18 Sep 2001 05:00:51 +0000 (05:00 +0000)]
Add ui_out parameter to libgdb functions.

22 years ago*** empty log message ***
gdbadmin [Tue, 18 Sep 2001 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Mon, 17 Sep 2001 23:11:04 +0000 (23:11 +0000)]
merge from gcc

22 years ago * gdb.base/display.c (do_loops): Add float variable `f'.
Corinna Vinschen [Mon, 17 Sep 2001 20:41:22 +0000 (20:41 +0000)]
    * gdb.base/display.c (do_loops): Add float variable `f'.
        Increment f in loop.
        * gdb.base/display.exp: Increment timeout by 60 seconds.
        Change float display test to use variable `f'.

22 years ago* gdb.base/restore.exp: Use temporary breakpoints, to avoid
Jim Blandy [Mon, 17 Sep 2001 19:42:28 +0000 (19:42 +0000)]
* gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).

22 years ago2001-09-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 17 Sep 2001 15:13:13 +0000 (15:13 +0000)]
2001-09-17  H.J. Lu  <hjl@gnu.org>

* dwarf1.c (parse_die): Take a new arg for the end of the
section. Return false if die is beyond the section.
(parse_functions_in_unit): Pass the end of the section to
parse_die ().
(_bfd_dwarf1_find_nearest_line): Likewise.

22 years ago*** empty log message ***
gdbadmin [Mon, 17 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
gdbadmin [Sun, 16 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-09-15 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Sat, 15 Sep 2001 17:11:24 +0000 (17:11 +0000)]
2001-09-15  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
the "-ac" (disable access control) flag.

22 years ago * config.sub: Reverted the earlier change, this version is not the
Thiemo Seufer [Sat, 15 Sep 2001 04:42:11 +0000 (04:42 +0000)]
* config.sub: Reverted the earlier change, this version is not the
master file.

22 years ago*** empty log message ***
gdbadmin [Sat, 15 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoFix bug emitting R_SPARC_UA32 relocs into shared objects
Nick Clifton [Fri, 14 Sep 2001 13:56:45 +0000 (13:56 +0000)]
Fix bug emitting R_SPARC_UA32 relocs into shared objects

22 years agoAdd support for arm-openbsd target
Nick Clifton [Fri, 14 Sep 2001 11:46:39 +0000 (11:46 +0000)]
Add support for arm-openbsd target

22 years agoFix VXA mask bits
Nick Clifton [Fri, 14 Sep 2001 10:52:26 +0000 (10:52 +0000)]
Fix VXA mask bits

22 years ago /bfd/ChangeLog
Thiemo Seufer [Fri, 14 Sep 2001 06:22:46 +0000 (06:22 +0000)]
/bfd/ChangeLog
* config.bfd: Change machine triplets from mips*el*-* to mips*el-*.
Add support for mips64.

/ChangeLog
* config.sub: Change machine triplets from mipsel*-* to mips*el-*.
Add support for mips64.

/gas/ChangeLog
* configure.in: Change machine triplets from mips-*-linux-gnu* to
mips*-*-linux*.

22 years agoCommit Ilya Golubev's clear_solib() fixes.
Kevin Buettner [Fri, 14 Sep 2001 00:40:29 +0000 (00:40 +0000)]
Commit Ilya Golubev's clear_solib() fixes.

22 years ago*** empty log message ***
gdbadmin [Fri, 14 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* monitor.c (monitor_load): Don't delete symtab users, or reset
Jim Blandy [Thu, 13 Sep 2001 22:48:19 +0000 (22:48 +0000)]
* monitor.c (monitor_load): Don't delete symtab users, or reset
inferior_ptid.

22 years ago* elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.
Alexandre Oliva [Thu, 13 Sep 2001 21:02:36 +0000 (21:02 +0000)]
* elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.

22 years ago* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.
Alexandre Oliva [Thu, 13 Sep 2001 21:02:21 +0000 (21:02 +0000)]
* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.

22 years ago(monitor_load): Fix indentation.
Jim Blandy [Thu, 13 Sep 2001 18:53:42 +0000 (18:53 +0000)]
(monitor_load): Fix indentation.

22 years ago* elf.c (prep_headers): Get the machine code from the elf
Alexandre Oliva [Thu, 13 Sep 2001 00:15:54 +0000 (00:15 +0000)]
* elf.c (prep_headers): Get the machine code from the elf
backend data.
* elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200.
* elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
* elf-arc.c (arc_elf_final_write_processing): Don't override
e_machine, it's now properly set in prep_headers.
* elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and
EM_AVR_OLD.
(ELF_MACHINE_ALT1): Define to EM_AVR_OLD.
* elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V.
* elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V.
* elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30.
* elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R.
* elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD.
* elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.

22 years ago*** empty log message ***
gdbadmin [Thu, 13 Sep 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* common.h (EM_AVR_OLD): Renamed from...
Alexandre Oliva [Wed, 12 Sep 2001 23:53:09 +0000 (23:53 +0000)]
* common.h (EM_AVR_OLD): Renamed from...
(EM_AVR): this, redefined as in the current ELF standard.
(EM_PJ_OLD): Renamed from...
(EM_PJ): this, redefined as in the current ELF standard.
(EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300,
EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in
the current ELF standard.
(EM_CYGNUS_ARC): Removed, unused for a long time.

22 years agoRemove incomplete section on overlays, committed by accident.
Jim Blandy [Wed, 12 Sep 2001 19:49:52 +0000 (19:49 +0000)]
Remove incomplete section on overlays, committed by accident.

22 years ago* printcmd.c (print_scalar_formatted): Fix indentation.
Jim Blandy [Wed, 12 Sep 2001 04:18:08 +0000 (04:18 +0000)]
* printcmd.c (print_scalar_formatted): Fix indentation.

22 years ago*** empty log message ***
gdbadmin [Wed, 12 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elf64-alpha.c (elf64_alpha_section_flags): New.
Richard Henderson [Tue, 11 Sep 2001 18:26:27 +0000 (18:26 +0000)]
    * elf64-alpha.c (elf64_alpha_section_flags): New.
        (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Do not
Richard Henderson [Tue, 11 Sep 2001 18:21:11 +0000 (18:21 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Do not
        apply HINT relocations against dynamic symbols.

22 years ago2001-09-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 11 Sep 2001 18:10:20 +0000 (18:10 +0000)]
2001-09-11  H.J. Lu  <hjl@gnu.org>

* inker.c (link_action): Change COMMON_ROW\defw from CREF to
COM.

22 years ago*** empty log message ***
gdbadmin [Tue, 11 Sep 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
Jim Blandy [Mon, 10 Sep 2001 23:54:16 +0000 (23:54 +0000)]
* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
programs running on the board can produce output.

22 years ago * generic/gdbtk.c (gdbtk_init): Set IWIDGETS_LIBRARY if
Ian Roxborough [Mon, 10 Sep 2001 19:21:47 +0000 (19:21 +0000)]
* generic/gdbtk.c (gdbtk_init): Set IWIDGETS_LIBRARY if
Insight is launched from within the build directory.
* library/util.tcl (find_iwidgets_library): Removed.
* library/main.tcl: Don't call find_iwidgets_library, do a
package require instead.

22 years ago2001-09-10 Jason Molenda (jmolenda@apple.com)
Jason Molenda [Mon, 10 Sep 2001 18:13:17 +0000 (18:13 +0000)]
2001-09-10  Jason Molenda  (jmolenda@apple.com)

        * NEWS: "ANS/ISO C" -> "ISO C".
        * MAINTAINERS (write-after-approval):  Update my entry.

22 years ago*** empty log message ***
gdbadmin [Mon, 10 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
Richard Henderson [Sun, 9 Sep 2001 20:50:00 +0000 (20:50 +0000)]
    * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.

22 years ago * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
Richard Henderson [Sun, 9 Sep 2001 20:42:11 +0000 (20:42 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
        following a call to a near function.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
Richard Henderson [Sun, 9 Sep 2001 06:58:06 +0000 (06:58 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
        relocation errors.  Fail gp-relative relocations against
        dynamic symbols.

22 years ago*** empty log message ***
gdbadmin [Sun, 9 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoFix truncated 2001-08-23 entry.
Mark Kettenis [Sat, 8 Sep 2001 23:34:53 +0000 (23:34 +0000)]
Fix truncated 2001-08-23 entry.

22 years ago* gdbint.texinfo (Host Definition): Remove description of
Mark Kettenis [Sat, 8 Sep 2001 10:53:45 +0000 (10:53 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.

22 years ago* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
Mark Kettenis [Sat, 8 Sep 2001 10:50:07 +0000 (10:50 +0000)]
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.

22 years ago* gdbint.texinfo (Host Definition): Remove description of R_OK.
Mark Kettenis [Sat, 8 Sep 2001 10:43:27 +0000 (10:43 +0000)]
* gdbint.texinfo (Host Definition): Remove description of R_OK.

22 years ago* config/arm/xm-linux.h, config/ia64/xm-linux.h,
Mark Kettenis [Sat, 8 Sep 2001 10:39:54 +0000 (10:39 +0000)]
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.

22 years ago* gdbint.texinfo (Host Definition): Remove description of
Mark Kettenis [Sat, 8 Sep 2001 10:28:20 +0000 (10:28 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.

22 years ago* gdbtypes.h (struct block): Add forward declaration.
Mark Kettenis [Sat, 8 Sep 2001 10:16:57 +0000 (10:16 +0000)]
* gdbtypes.h (struct block): Add forward declaration.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
Alan Modra [Sat, 8 Sep 2001 05:47:01 +0000 (05:47 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
as well as DEF_DYNAMIC in test for avoided copy relocs.
(allocate_plt_and_got_and_discard_relocs): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
(allocate_plt_and_got_and_discard_relocs): Likewise.

22 years ago*** empty log message ***
gdbadmin [Sat, 8 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* defs.h (enum return_reason): Renumber so that all values are
Andrew Cagney [Fri, 7 Sep 2001 21:33:08 +0000 (21:33 +0000)]
* defs.h (enum return_reason): Renumber so that all values are
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors.  Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup.  Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.

22 years agoCorrectly parse register values provided by the monitor.
Jim Blandy [Fri, 7 Sep 2001 21:27:36 +0000 (21:27 +0000)]
Correctly parse register values provided by the monitor.
* rom68k-rom.c: #include "value.h".
(is_hex_digit, hex_digit_value, is_whitespace,
rom68k_supply_one_register): New static functions.
(rom68k_supply_register): Call rom68k_supply_one_register, instead
of monitor_supply_register; the latter was incorrectly parsing
the values.
* Makefile.in (rom68k-rom.o): Note that this now #includes value.h.

22 years ago* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
Mark Kettenis [Fri, 7 Sep 2001 15:22:11 +0000 (15:22 +0000)]
* config/rs6000/xm-rs6000.h (setpgrp): Remove macro.  GDB defaults
to using setpgid if available now.

22 years ago * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
Thiemo Seufer [Fri, 7 Sep 2001 05:00:33 +0000 (05:00 +0000)]
* elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
of R_MIPS_PC16.

* config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
(macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
PIC, BFD_RELOC_16_PCREL for the rest.
(mips_ip): Likewise.
        (md_pcrel_from): return the right offset for the differently shifted
        pcrel relocs.
(md_apply_fix): Handle BFD_RELOC_16_PCREL.

* gas/mips/beq.d: Check branches to external labels.
* gas/mips/beq.s: Likewise.
* gas/mips/bge.d: Likewise.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16.
* gas/mips/empic.d: Likewise.
* gas/mips/empic.s: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

22 years ago*** empty log message ***
gdbadmin [Fri, 7 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
Thiemo Seufer [Thu, 6 Sep 2001 21:30:15 +0000 (21:30 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
definitions.
(mips_elf64_howto_table_rel): Likewise.

22 years ago From Ian Roxborough <irox@redhat.com>
Keith Seitz [Thu, 6 Sep 2001 20:59:18 +0000 (20:59 +0000)]
From Ian Roxborough  <irox@redhat.com>
* configure.in: Use ITCL_LIB_FULL_PATH and
ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
for gdb.
* configure: Regenerated.

22 years agoDon't use error result from find_stab_function_addr().
Kevin Buettner [Thu, 6 Sep 2001 20:50:48 +0000 (20:50 +0000)]
Don't use error result from find_stab_function_addr().

22 years agoFix import symbols for AIX.
Tom Rix [Thu, 6 Sep 2001 15:20:00 +0000 (15:20 +0000)]
Fix import symbols for AIX.

22 years ago2001-09-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 6 Sep 2001 12:01:36 +0000 (12:01 +0000)]
2001-09-04  Elena Zannoni  <ezannoni@redhat.com>

        * gdbint.texinfo (Target Architecture Definition): Add
        explanation of TARGET_PRINT_INSN macro.

22 years ago*** empty log message ***
gdbadmin [Thu, 6 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-09-05 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 5 Sep 2001 23:44:44 +0000 (23:44 +0000)]
2001-09-05  Elena Zannoni  <ezannoni@redhat.com>

        * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
        in gdbarch.h.
        (TARGET_PRINT_INSN): Multiarch.
        * gdbarch.h: Regenerate.
        * gdbarch.c: Regenerate.

        * arch-utils.c (legacy_print_insn): New function.
        * arch-utils.h (legacy_print_insn): Export.

        * cris-tdep.c (cris_delayed_get_disassembler): Use
        TARGET_PRINT_INSN, instead of tm_print_insn.
        * d10v-tdep.c (print_insn): Ditto.
        * d30v-tdep.c (print_insn): Ditto.
        * m32r-tdep.c (dump_insn): Ditto.
        * v850-tdep.c (v850_scan_prologue): Ditto.
        * mcore-tdep.c (mcore_dump_insn): Ditto.
        * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.

22 years agoFix typo.
Michael Snyder [Wed, 5 Sep 2001 23:26:21 +0000 (23:26 +0000)]
Fix typo.

22 years ago* gdbtypes.h (struct type): Doc fix.
Jim Blandy [Wed, 5 Sep 2001 23:07:32 +0000 (23:07 +0000)]
* gdbtypes.h (struct type): Doc fix.

22 years ago2001-08-31 Jason Molenda (jmolenda@apple.com)
Michael Snyder [Wed, 5 Sep 2001 23:07:08 +0000 (23:07 +0000)]
2001-08-31  Jason Molenda  (jmolenda@apple.com)

* c-valprint.c (c_val_print):  Second call to check_typedef ()
is no longer necessary.

22 years ago * elf64-alpha.c (SKIP_HOWTO): New.
Richard Henderson [Wed, 5 Sep 2001 03:00:14 +0000 (03:00 +0000)]
    * elf64-alpha.c (SKIP_HOWTO): New.
        (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
        Fix sizes of 16-bit mem format relocs.
        (elf64_alpha_reloc_map): Update to match.
        (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
        (elf64_alpha_relax_without_lituse): Likewise.
        (elf64_alpha_check_relocs): Handle GPREL16.
        (elf64_alpha_relocate_section): Likewise.
        * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
        (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
        * bfd-in2.h, libbfd.h: Rebuild.

22 years ago * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
Richard Henderson [Wed, 5 Sep 2001 02:54:37 +0000 (02:54 +0000)]
    * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
        (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.

22 years ago2001-09-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 5 Sep 2001 02:54:15 +0000 (02:54 +0000)]
2001-09-04  Elena Zannoni  <ezannoni@redhat.com>

From Daniel Jacobowitz  <drow@mvista.com>
* dbxread.c (free_header_files): Make global.
(init_header_files): Likewise.
* stabsread.h (free_header_files): Add prototype.
(init_header_files): Likewise.
* mdebugread.c (mdebug_build_psymtabs): Initialize
properly before using the stabs debug reader.

22 years ago * alpha.h (struct alpha_operand): Pack elements into bitfields.
Richard Henderson [Wed, 5 Sep 2001 02:52:17 +0000 (02:52 +0000)]
    * alpha.h (struct alpha_operand): Pack elements into bitfields.

22 years ago2001-09-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 5 Sep 2001 02:13:11 +0000 (02:13 +0000)]
2001-09-04  Elena Zannoni  <ezannoni@redhat.com>

From Daniel Jacobowitz  <drow@mvista.com>
* dbxread.c (dbx_symfile_read): Only reinitialize
the psymbol list if mainline or if both static
and global lists are empty.
* dwarf2read.c (dwarf2_build_psymtabs): Likewise.
* dwarfread.c (dwarf_build_psymtabs): Likewise.
* xcoffread.c (xcoff_initial_scan): Likewise.
* os9kread.c (os9k_symfile_read): Likewise.

22 years ago2001-09-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 5 Sep 2001 02:02:44 +0000 (02:02 +0000)]
2001-09-04  Elena Zannoni  <ezannoni@redhat.com>

From Daniel Jacobowitz  <drow@mvista.com>
* mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
a name specially.

22 years ago*** empty log message ***
gdbadmin [Wed, 5 Sep 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Tue, 4 Sep 2001 21:33:56 +0000 (21:33 +0000)]
merge from gcc

22 years ago * elf32-h8300.c (elf32_h8_relax_section): New function.
Jeff Law [Tue, 4 Sep 2001 21:06:01 +0000 (21:06 +0000)]
    * elf32-h8300.c (elf32_h8_relax_section): New function.
        (elf32_h8_relax_delete_bytes): Likewise.
        (elf32_h8_symbol_address_p): Likewise.
        (elf32_h8_get_relocated_section_contents): Likewise.
        (bfd_elf32_bfd_relax_section): Define.
        (bfd_elf32_bfd_get_relocated_section_contents): Likewise.

22 years ago * elf32-h8300.c (special): New function.
Jeff Law [Tue, 4 Sep 2001 17:29:36 +0000 (17:29 +0000)]
    * elf32-h8300.c (special): New function.
        (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
        all relocations.
        (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
        relocations.  Fix problems with the true 24bit reloc R_H8_DIR24R8.
        Fix minor problems with 8bit and 16bit PC relative relocations.

22 years ago * i386-dis.c (grps): Don't print the implicit al/ax/eax register
Alan Modra [Tue, 4 Sep 2001 01:58:07 +0000 (01:58 +0000)]
* i386-dis.c (grps): Don't print the implicit al/ax/eax register
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.

22 years ago*** empty log message ***
gdbadmin [Tue, 4 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-30 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Mon, 3 Sep 2001 19:54:33 +0000 (19:54 +0000)]
2001-08-30  Jeff Holcomb  <jeffh@redhat.com>

        * gdb.base/remote.c: Use a small buffer for targets with 16-bit
        ints.

22 years ago2001-09-03 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Mon, 3 Sep 2001 19:47:48 +0000 (19:47 +0000)]
2001-09-03  Jeff Holcomb  <jeffh@redhat.com>

        * configure.in: Enable libstdc++-v3 for h8300 targets.

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

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

22 years agoMake GDB use libiberty regex implementation.
Mark Kettenis [Sat, 1 Sep 2001 21:38:05 +0000 (21:38 +0000)]
Make GDB use libiberty regex implementation.
* gdb_regex.h: Normalize protection against multiple inclusion.
Include "xregex.h" instead of "gnu-regex.h".
* cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* cli/cli-decode.c: Likewise.
* Makefile.in (REGEX): Remove.
(GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
(ADD_FILES, ADD_DEPS): Remove $(REGEX).
(POSSLIBS): Remove.
(TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
(irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
gdb_regex.h in list of dependencies.
(gnu-regex.o): Remove rule.
* gnu-regex.c, gnu-regex.h: Remove files.

22 years ago * vms-tir.c: Add missing prototypes.
Andreas Jaeger [Sat, 1 Sep 2001 10:29:27 +0000 (10:29 +0000)]
* vms-tir.c: Add missing prototypes.
* vms-hdr.c: Likewise.
* vms-gsd.c: Likewise.
* vms-misc.c: Likewise.

22 years ago*** empty log message ***
gdbadmin [Sat, 1 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 31 Aug 2001 21:41:10 +0000 (21:41 +0000)]
2001-08-31  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
with bad relocation.

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 31 Aug 2001 21:24:28 +0000 (21:24 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt  <jle@redhat.com>

* bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
mips32_4k and mips64.
* bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
* bfd/cpu-mips.c: Ditto.
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
* bfd/bfd-in2.h: Regenerate.

22 years agomips3264 support
Eric Christopher [Fri, 31 Aug 2001 21:21:54 +0000 (21:21 +0000)]
mips3264 support

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 31 Aug 2001 21:12:34 +0000 (21:12 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt    <jle@redhat.com>

* mips-dis.c: Add support for bfd_mach_mipsisa32 and
bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.

22 years ago * tic54x-opc.c: Add default initializers to avoid warnings.
Andreas Jaeger [Fri, 31 Aug 2001 20:05:24 +0000 (20:05 +0000)]
* tic54x-opc.c: Add default initializers to avoid warnings.

* arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
* arc-ext.c: Likewise.

22 years agoDon't let a branch unit nop terminate the prologue scan.
Kevin Buettner [Fri, 31 Aug 2001 19:58:41 +0000 (19:58 +0000)]
Don't let a branch unit nop terminate the prologue scan.