external/binutils.git
23 years agomerge from gcc
DJ Delorie [Thu, 2 Aug 2001 23:27:47 +0000 (23:27 +0000)]
merge from gcc

23 years ago2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
Charles Wilson [Thu, 2 Aug 2001 23:12:02 +0000 (23:12 +0000)]
2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
        * ldmain.c (main): initialize link_info.pei386_auto_import
        * pe-dll.c: new tables for auto-export filtering
        (auto_export): change API, pass abfd for contextual filtering.
        Loop thru tables of excluded symbols instead of comparing
        "by hand".
2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
        * pe-dll.c: new variable pe_dll_enable_extra_debug. New
        static variable current_sec (static struct sec *). Add
        forward declaration for add_bfd_to_link.
        (process_def_file): Don't export undefined symbols. Do not
        export symbols starting with  "_imp__".  Call auto_export()
        with new API.
        (pe_walk_relocs_of_symbol): New function.
        (generate_reloc): add optional extra debugging
        (pe_dll_generate_def_file): eliminate extraneous initial blank
        line in output
        (make_one): enlarge symtab to make room for __nm__ symbols
        (DATA auto-import support).
        (make_singleton_name_thunk): New function.
        (make_import_fixup_mark): New function.
        (make_import_fixup_entry): New function.
        (pe_create_import_fixup): New function.
        (add_bfd_to_link): Specify that 'name' argument is a CONST
        char *.
        * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
        declare new functions pe_walk_relocs_of_symbol and
        pe_create_import_fixup.
        * emultempl/pe.em: add new options --enable-auto-import,
        --disable-auto-import, and --enable-extra-pe-debug.
        (make_import_fixup): New function.
        (pe_find_data_imports): New function.
        (pr_sym): New function.
        (gld_${EMULATION_NAME}_after_open): Add optional extra pe
        debugging. Call pe_find_data_imports.  Mark .idata as DATA, not
        CODE.
2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
        * ld.texinfo: add additional documentation for
        --export-all-symbols.  Document --out-implib,
        --enable-auto-image-base, --disable-auto-image-base,
        --dll-search-prefix, --enable-auto-import, and
        --disable-auto-import.
        * ldint.texinfo: Add detailed documentation on auto-import
        implementation.

23 years ago * bfdlink.h (struct bfd_link_info): add new boolean
Charles Wilson [Thu, 2 Aug 2001 23:07:10 +0000 (23:07 +0000)]
    * bfdlink.h (struct bfd_link_info): add new boolean
        field pei386_auto_import.

23 years ago2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
Charles Wilson [Thu, 2 Aug 2001 23:05:54 +0000 (23:05 +0000)]
2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
        * cofflink.c (coff_link_check_ar_symbols): also search for
        __imp__symbol as well as _symbol.
        * linker.c (_bfd_generic_link_add_archive_symbols): also
        search for __imp__symbol as well as _symbol.

23 years ago2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
Charles Wilson [Thu, 2 Aug 2001 23:03:10 +0000 (23:03 +0000)]
2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
        * ldmain.c (main): initialize link_info.pei386_auto_import
        * pe-dll.c: new tables for auto-export filtering
        (auto_export): change API, pass abfd for contextual filtering.
        Loop thru tables of excluded symbols instead of comparing
        "by hand".
2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
        * pe-dll.c: new variable pe_dll_enable_extra_debug. New
        static variable current_sec (static struct sec *). Add
        forward declaration for add_bfd_to_link.
        (process_def_file): Don't export undefined symbols. Do not
        export symbols starting with  "_imp__".  Call auto_export()
        with new API.
        (pe_walk_relocs_of_symbol): New function.
        (generate_reloc): add optional extra debugging
        (pe_dll_generate_def_file): eliminate extraneous initial blank
        line in output
        (make_one): enlarge symtab to make room for __nm__ symbols
        (DATA auto-import support).
        (make_singleton_name_thunk): New function.
        (make_import_fixup_mark): New function.
        (make_import_fixup_entry): New function.
        (pe_create_import_fixup): New function.
        (add_bfd_to_link): Specify that 'name' argument is a CONST
        char *.
        * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
        declare new functions pe_walk_relocs_of_symbol and
        pe_create_import_fixup.
        * emultempl/pe.em: add new options --enable-auto-import,
        --disable-auto-import, and --enable-extra-pe-debug.
        (make_import_fixup): New function.
        (pe_find_data_imports): New function.
        (pr_sym): New function.
        (gld_${EMULATION_NAME}_after_open): Add optional extra pe
        debugging. Call pe_find_data_imports.  Mark .idata as DATA, not
        CODE.
2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
        * ld.texinfo: add additional documentation for
        --export-all-symbols.  Document --out-implib,
        --enable-auto-image-base, --disable-auto-image-base,
        --dll-search-prefix, --enable-auto-import, and
        --disable-auto-import.
        * ldint.texinfo: Add detailed documentation on auto-import
        implementation.

23 years ago * defs.h (SLASH_STRING): If not defined, set
Keith Seitz [Thu, 2 Aug 2001 20:57:19 +0000 (20:57 +0000)]
* defs.h (SLASH_STRING): If not defined, set
to "/", regardless of _WIN32, __CYGWIN__, or
whatnot.

23 years ago* cli/cli-decode.h: Include "gdb_regex.h" instead of
Mark Kettenis [Thu, 2 Aug 2001 20:18:29 +0000 (20:18 +0000)]
* cli/cli-decode.h: Include "gdb_regex.h" instead of
"gnu-regex.h".

23 years ago* NEWS: Update.
Mark Kettenis [Thu, 2 Aug 2001 18:42:18 +0000 (18:42 +0000)]
* NEWS: Update.

23 years ago * config/i386/xm-go32.h: Include xm-i386.h.
Eli Zaretskii [Thu, 2 Aug 2001 15:18:15 +0000 (15:18 +0000)]
* config/i386/xm-go32.h: Include xm-i386.h.
(HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.

23 years ago The following changes avoid polluting global namespace with the
Eli Zaretskii [Thu, 2 Aug 2001 11:58:29 +0000 (11:58 +0000)]
The following changes avoid polluting global namespace with the
`enable' and `disable' identifiers, because some platforms define
in their system headers symbols with global scope that go by those
names.

* breakpoint.h (enum enable_state): Rename from `enum enable'.
Also rename all the enum members to have the "bp_" prefix.
(struct breakpoint): Rename the `enable' member to `enable_state'.
(enum bpdisp): Rename all members to have the "disp_" prefix.

* breakpoint.c: All users of `enum enable' and `enum bpdisp'
changed.
(args_for_catchpoint_enable): Rename the `enable' member to
`enable_p'.  All users changed.

* tracepoint.h (enum enable): Remove.
(struct tracepoint): The member `enabled' is now `int enabled_p'.

* tracepoint.c: All users of the `enabled' member changed.

* printcmd.c (struct display): The `status' member is now an int.

* memattr.h (struct mem_region): Rename the `status' member to
`enabled_p'.
(enum enable): Remove.

* memattr.c: Change all users of the `status' member of struct
mem_region to use `enabled_p' instead.

* infcmd.c (run_stack_dummy): Use disp_del instead of del.

* go32-nat.c: Remove the kludgey work-around for conflicts between
<dos.h> and "breakpoint.h".
* tui/tuiSourceWin.c: Use disp_del instead of del.

* tui/tuiSource.c: Use disp_del instead of del.

* tui/tuiDisassem.c: Use disp_del instead of del.

23 years ago * gdb.texinfo: Explain omitting the hostname in the
Corinna Vinschen [Thu, 2 Aug 2001 10:52:07 +0000 (10:52 +0000)]
    * gdb.texinfo: Explain omitting the hostname in the
        `target remote' command.

23 years ago * gas/mips/mips-gp32-fp32,
Richard Sandiford [Thu, 2 Aug 2001 10:16:50 +0000 (10:16 +0000)]
* gas/mips/mips-gp32-fp32,
* gas/mips/mips-gp32-fp64,
* gas/mips/mips-gp64-fp32,
* gas/mips/mips-gp64-fp64,
* gas/mips/mips-abi32,
* gas/mips/mips-gp32-fp32-pic,
* gas/mips/mips-gp32-fp64-pic,
* gas/mips/mips-gp64-fp32-pic,
* gas/mips/mips-gp64-fp64-pic,
* gas/mips/mips-abi32-pic: New testcases.

* gas/mips/mips.exp: Run them.

23 years ago * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
Richard Sandiford [Thu, 2 Aug 2001 10:15:24 +0000 (10:15 +0000)]
* doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
* config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
(md_long_opts): Add -mfp32 option.
(md_parse_option): Handle it.  Set mips_32bit_abi given -mabi=32.
(md_show_usage): Show usage for -mfp32 and -mgp32.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
(HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
(HAVE_32BIT_ADDRESSES): New macro.
(load_register): Use HAVE_32BIT_GPRS to determine the register width.
(load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
(s_cprestore, s_cpadd): Likewise.
(macro): Use HAVE_32BIT_GPRS to determine the width of registers
used in branch and M_LI_D macros.  Use HAVE_64BIT_FPRS to determine
the width registers used in M_LI_DD macros.  Use HAVE_32BIT_ADDRESSES
to determine the width of addresses in load, store and jump macros.
(macro2): Use HAVE_32BIT_GPRS to determine the width of registers
used in set instructions; do not check the address size for them.
Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
unaligned load and store macros.
(mips_ip): Use the new macros to check the width of a register when
processing float constants.  Force a constant into memory if it is
destined for an FPR and the FPRs are wider than the GPRs.  Warn about
odd FPR numbers if HAVE_32BIT_FPRS.  Use HAVE_32BIT_GPRS rather
than mips_gp32 to select synthetic instructions.
(macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
synthetic instructions.

23 years ago * MAINTAINERS: Add myself to the write-after-approval list.
Corinna Vinschen [Thu, 2 Aug 2001 09:08:03 +0000 (09:08 +0000)]
    * MAINTAINERS: Add myself to the write-after-approval list.
        * ser-tcp.c (tcp_open): Use `localhost' as default host if no
        hostname is given.

23 years agoRemoved a section of code that didn't do anything, but left values in
John R. Moore [Thu, 2 Aug 2001 00:50:38 +0000 (00:50 +0000)]
Removed a section of code that didn't do anything, but left values in
memory. This was labeled as a hack to set r0/r1 with argc/argv.

23 years ago*** empty log message ***
gdbadmin [Thu, 2 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* doublest.h (store_floating, floatformat_to_doublest): Make IN
Andrew Cagney [Wed, 1 Aug 2001 22:11:43 +0000 (22:11 +0000)]
* doublest.h (store_floating, floatformat_to_doublest): Make IN
paramter a const void pointer.
(floatformat_from_doublest): Make IN const, Make OUT a void
pointer.
* doublest.c (floatformat_to_doublest): Update.
(floatformat_from_doublest): Update.
(extract_floating): Update.

23 years ago* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
Andrew Cagney [Wed, 1 Aug 2001 18:39:27 +0000 (18:39 +0000)]
* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
(floatformat_to_doublest, floatformat_from_doublest)
(floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, store_floating)
(extract_floating): Move declaration from here.
* doublest.h: To here.  New file.
* utils.c (get_field, floatformat_to_doublest, put_field)
(ldfrexp, floatformat_from_doublest, floatformat_is_negative)
(floatformat_is_nan, floatformat_mantissa)
(FLOATFORMAT_CHAR_BIT): Move from here.
* doublest.c: To here.  New file.
* findvar.c (store_floating, extract_floating): Move from here.
* doublest.c: To here.
* Makefile.in (SFILES): Add doublest.c.
(COMMON_OBS): Add doublest.o.
(doublest.o): Specify dependencies.
(doublest_h): Define.

* config/m88k/tm-m88k.h: Include "doublest.h".
* config/i960/tm-i960.h: Ditto.
* config/i386/tm-symmetry.h: Ditto.
* rs6000-tdep.c, valarith.c: Ditto.
* valprint.c, stabsread.c, sh-tdep.c: Ditto.
* ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
* values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
* alpha-tdep.c, ax.h, expression.h: Ditto.
* sh-tdep.c, parse.c, top.c, value.h: Ditto.

* Makefile.in (arm-tdep.o): Add $(doublest_h).
(i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
(rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
(values.o, valprint.o, arm-linux-tdep.o): Ditto.
(alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
(parser_defs_h): Ditto.
(expression_h): Add $(doublest_h) and $(symtab_h).

23 years ago* Makefile.in: Sort header definitions.
Andrew Cagney [Wed, 1 Aug 2001 17:41:50 +0000 (17:41 +0000)]
* Makefile.in: Sort header definitions.
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
Replace parser-defs.h with $(parser_defs_h).  Replace $(dis-asm_h)
and $(dis-asm.h) with $(dis_asm_h).  Replace annotate.h with
$(annotate_h).  Replace target.h with $(target_h).  Replace
gdbthread.h with $(gdb_thread_h).  Replace symfile.h with $(symfile_h).

23 years agoReturn zero only as the last step of qsort function.
Nick Clifton [Wed, 1 Aug 2001 16:10:42 +0000 (16:10 +0000)]
Return zero only as the last step of qsort function.

23 years agoUse @command{name} for commands. Use @option{-opt} for options.
Nick Clifton [Wed, 1 Aug 2001 15:54:41 +0000 (15:54 +0000)]
Use @command{name} for commands.  Use @option{-opt} for options.
Use @table @env for list of options.  Remove spaces arround [ | ] in synopsis.
Use 'GNU Development Tools' for the center title.

23 years agoCleanups for z8k target
Nick Clifton [Wed, 1 Aug 2001 15:39:17 +0000 (15:39 +0000)]
Cleanups for z8k target

23 years agoReplace VXWORKS with ARM_COFF_BUGFIX.
Nick Clifton [Wed, 1 Aug 2001 15:18:32 +0000 (15:18 +0000)]
Replace VXWORKS with ARM_COFF_BUGFIX.

23 years agoDo not require any exception support library. Check results against NRV.
Nick Clifton [Wed, 1 Aug 2001 14:37:47 +0000 (14:37 +0000)]
Do not require any exception support library.  Check results against NRV.

23 years agoDo not require any exception support library.
Nick Clifton [Wed, 1 Aug 2001 14:26:18 +0000 (14:26 +0000)]
Do not require any exception support library.

23 years ago2001-08-01 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 1 Aug 2001 11:33:45 +0000 (11:33 +0000)]
2001-08-01  Aldy Hernandez  <aldyh@redhat.com>

* include/opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.

23 years agoFix a typo in my entry from 2001-06-13.
Eli Zaretskii [Wed, 1 Aug 2001 09:23:07 +0000 (09:23 +0000)]
Fix a typo in my entry from 2001-06-13.

23 years ago * config/tc-i386.c (lex_got): Match lower case relocation tokens.
Alan Modra [Wed, 1 Aug 2001 02:27:11 +0000 (02:27 +0000)]
* config/tc-i386.c (lex_got): Match lower case relocation tokens.
Don't allocate more space than necessary for the input line copy.

23 years ago * gas/elf/section2.l: Adjust warning message comparison.
Alan Modra [Wed, 1 Aug 2001 01:51:28 +0000 (01:51 +0000)]
* gas/elf/section2.l: Adjust warning message comparison.

23 years ago * read.c: Standardize error/warning messages - don't capitalise, no
Alan Modra [Wed, 1 Aug 2001 01:44:25 +0000 (01:44 +0000)]
* read.c: Standardize error/warning messages - don't capitalise, no
final period or newline, don't say "ignored" or "zero assumed" for
as_bad messages.  In some cases, change the wording to that used
elsewhere for similar messages.
* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
  ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
  output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
* ecoff.c (ecoff_directive_end): Test for missing name by
comparing input line pointers rather than reading string.
(ecoff_directive_ent): Likewise.
* read.c (s_set): Likewise.
(s_align): Report a warning rather than an error for
alignment too large.
(s_comm): Check for missing symbol name.
(s_lcomm_internal): Likewise.
(s_lsym): Likewise.
(s_globl): Use is_end_of_line instead of looking for '\n'.
(s_lcomm_internal): Likewise.
(ignore_rest_of_line): Report a warning rather than an error.

23 years ago*** empty log message ***
gdbadmin [Wed, 1 Aug 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
Geoffrey Keating [Tue, 31 Jul 2001 19:24:57 +0000 (19:24 +0000)]
* config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
any kind of relocation against a not-loaded section.

23 years ago* config/i386/xm-i386.h: New file.
Mark Kettenis [Tue, 31 Jul 2001 19:22:57 +0000 (19:22 +0000)]
* config/i386/xm-i386.h: New file.
* config/i386/xm-fbsd.h: Removed.
* config/i386/xm-linux.h: Removed.
* config/i386/fbsd.mh: Reorganize a bit.
(XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
* config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
xm-linux.h.

23 years ago * tui.c (tui_enable): Remove call to terminal_save_ours().
Stephane Carrez [Tue, 31 Jul 2001 19:00:50 +0000 (19:00 +0000)]
* tui.c (tui_enable): Remove call to terminal_save_ours().
(tui_disable): Likewise.

23 years ago * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
Daniel Jacobowitz [Tue, 31 Jul 2001 17:30:56 +0000 (17:30 +0000)]
    * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
        and END-INFO-DIR-ENTRY.

23 years agoImplement new switch --rename-section
Nick Clifton [Tue, 31 Jul 2001 13:49:39 +0000 (13:49 +0000)]
Implement new switch --rename-section

23 years ago2001-07-31 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 31 Jul 2001 04:59:59 +0000 (04:59 +0000)]
2001-07-31  Ben Elliston  <bje@redhat.com>

* lib/sim-defs.exp (run_sim_test): Include a description such as
"assembling" or "linking" that identifies the phase a test fails
in, for easier analysis of failures.

23 years ago*** empty log message ***
gdbadmin [Tue, 31 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
Jim Blandy [Mon, 30 Jul 2001 23:16:45 +0000 (23:16 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.

23 years ago * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
Daniel Jacobowitz [Mon, 30 Jul 2001 22:08:41 +0000 (22:08 +0000)]
   * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
       Check for SETPGRP_VOID separately if cross-compiling and ISO C
       headers are available.

23 years ago* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
Mark Kettenis [Mon, 30 Jul 2001 21:45:26 +0000 (21:45 +0000)]
* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.

23 years ago* i386-tdep.c (i386_register_convert_to_virtual): Replace
Mark Kettenis [Mon, 30 Jul 2001 21:09:44 +0000 (21:09 +0000)]
* i386-tdep.c (i386_register_convert_to_virtual): Replace
assertion with a warning if we're asked to convert towards a
non-floating-point type.  Zero out the the buffer where the data
is supposed to be stored in that case.

23 years agomerge from gcc
DJ Delorie [Mon, 30 Jul 2001 20:02:22 +0000 (20:02 +0000)]
merge from gcc

23 years agoFix prototype of _bfd_ecoff_styp_to_sec_flags
Nick Clifton [Mon, 30 Jul 2001 18:38:35 +0000 (18:38 +0000)]
Fix prototype of _bfd_ecoff_styp_to_sec_flags

23 years agoFix computation in SECTIONS example.
Nick Clifton [Mon, 30 Jul 2001 18:12:07 +0000 (18:12 +0000)]
Fix computation in SECTIONS example.

23 years agomerge from gcc
DJ Delorie [Mon, 30 Jul 2001 17:39:28 +0000 (17:39 +0000)]
merge from gcc

23 years ago * gas/mips/mips.exp (el): New variable.
Richard Sandiford [Mon, 30 Jul 2001 13:59:00 +0000 (13:59 +0000)]
* gas/mips/mips.exp (el): New variable.
Use it to pick ELF reloc tests.

23 years agoChange bug-gnu-utils@gcc.org to the mor obvious bug-binutils@gcc.org
Nick Clifton [Mon, 30 Jul 2001 10:57:07 +0000 (10:57 +0000)]
Change bug-gnu-utils@gcc.org to the mor obvious bug-binutils@gcc.org

23 years ago* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
Mark Kettenis [Mon, 30 Jul 2001 10:17:46 +0000 (10:17 +0000)]
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.

23 years ago * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
Alan Modra [Mon, 30 Jul 2001 06:15:49 +0000 (06:15 +0000)]
* config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
to include '@' in symbol names when parsing versioned symbols
rather than calling get_symbol_end multiple times.
* config/tc-i370.c (register_name): Format fixes.  Don't call
get_symbol_end after parsing number.
* config/tc-mn10200.c (data_register_name): Format fixes.  Hoist
code out of conditional.
(address_register_name): Likewise.
(other_register_name): Likewise.
* config/tc-mn10300.c (r_register_name): Likewise.
(xr_register_name): Likewise.
(data_register_name): Likewise.
(address_register_name): Likewise.
(other_register_name): Likewise.
* config/tc-ppc.c (register_name): Likewise.
* config/tc-s390.c (register_name): Likewise.

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

23 years agoUnset CDPATH before doing annything else.
Eli Zaretskii [Sun, 29 Jul 2001 10:12:49 +0000 (10:12 +0000)]
Unset CDPATH before doing annything else.

23 years ago * go32-nat.c (get_cr3): Temporary disable support for page tables
Eli Zaretskii [Sun, 29 Jul 2001 08:06:28 +0000 (08:06 +0000)]
* go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.

23 years ago Support for stepping through longjmp in DJGPP programs:
Eli Zaretskii [Sun, 29 Jul 2001 08:03:36 +0000 (08:03 +0000)]
Support for stepping through longjmp in DJGPP programs:

* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
(GET_LONGJMP_TARGET): Define to call get_longjmp_target.
(get_longjmp_target): Add prototype.

23 years ago * bucomm.c (list_supported_architectures): New function.
Alan Modra [Sun, 29 Jul 2001 05:31:43 +0000 (05:31 +0000)]
* bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
* objdump.c (usage): Call the above.

23 years ago * i386-dis.c: Fix formatting.
Kazu Hirata [Sun, 29 Jul 2001 05:00:14 +0000 (05:00 +0000)]
* i386-dis.c: Fix formatting.

23 years ago*** empty log message ***
gdbadmin [Sun, 29 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFix some PID/TPID fallout for HP/UX.
Andrew Cagney [Sat, 28 Jul 2001 22:44:53 +0000 (22:44 +0000)]
Fix some PID/TPID fallout for HP/UX.
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.

23 years ago(cris): Set --enable-gdb-build-warnings flag to -w.
Andrew Cagney [Sat, 28 Jul 2001 21:21:30 +0000 (21:21 +0000)]
(cris): Set --enable-gdb-build-warnings flag to -w.

23 years ago* MAINTAINERS: Add Orjan Friberg as cris target maintainer.
Andrew Cagney [Sat, 28 Jul 2001 20:23:53 +0000 (20:23 +0000)]
* MAINTAINERS: Add Orjan Friberg as cris target maintainer.

23 years agoFrom 2001-07-23 Andreas Schwab <schwab@suse.de>:
Andrew Cagney [Sat, 28 Jul 2001 20:05:15 +0000 (20:05 +0000)]
From 2001-07-23 Andreas Schwab <schwab@suse.de>:
* config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
(TARGET_LONG_DOUBLE_BIT): Define.
(REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
(MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
(REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
floating point registers.
(REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
(REGISTER_CONVERT_TO_RAW): Remove.
* config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.

23 years agoMove libgdb library functions to gdb.h (new file).
Andrew Cagney [Sat, 28 Jul 2001 19:48:15 +0000 (19:48 +0000)]
Move libgdb library functions to gdb.h (new file).
Update everything related to this.

23 years ago * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
Stephane Carrez [Sat, 28 Jul 2001 19:45:04 +0000 (19:45 +0000)]
* Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
(SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
(SFILES): Likewise.
(tui-out.o): Define dependencies.
(tui-hooks.o): Likewise.

23 years ago * gdb.texinfo (TUI Configuration): Rename tui configuration variables.
Stephane Carrez [Sat, 28 Jul 2001 19:35:20 +0000 (19:35 +0000)]
* gdb.texinfo (TUI Configuration): Rename tui configuration variables.

23 years ago * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
Stephane Carrez [Sat, 28 Jul 2001 19:30:54 +0000 (19:30 +0000)]
* tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
set/show configuration variables.
(show_tui_cmd): New function.
(set_tui_cmd): New function.

23 years ago* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
Mark Kettenis [Sat, 28 Jul 2001 19:30:41 +0000 (19:30 +0000)]
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.

23 years ago * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
Stephane Carrez [Sat, 28 Jul 2001 19:28:04 +0000 (19:28 +0000)]
* config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
and bra relax: update fragP->fr_fix after the fixup.

23 years ago * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
Stephane Carrez [Sat, 28 Jul 2001 19:19:05 +0000 (19:19 +0000)]
* dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
address.
(m68hc11eepr_port_event): Fix detach/attach logic.

23 years ago* MAINTAINERS: Update e-mail address of active @cygnus.com
Andrew Cagney [Sat, 28 Jul 2001 17:24:47 +0000 (17:24 +0000)]
* MAINTAINERS: Update e-mail address of active @cygnus.com
maintainers to @redhat.com.

23 years ago* README (Known bugs): Delete section.
Andrew Cagney [Sat, 28 Jul 2001 17:13:42 +0000 (17:13 +0000)]
* README (Known bugs): Delete section.
(Kernel debugging): Delete section.
(Languages other than C): Delete section.
(Host/target specific installation notes) New section.

23 years ago* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
Mark Kettenis [Sat, 28 Jul 2001 17:03:38 +0000 (17:03 +0000)]
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.

23 years ago* i386-tdep.c: Include "gdb_assert.h"
Mark Kettenis [Sat, 28 Jul 2001 16:48:59 +0000 (16:48 +0000)]
* i386-tdep.c: Include "gdb_assert.h"
(i386_register_convert_to_virtual): Fix such that it can handle
conversion to any floating-point type.  Assert that we are dealing
with a floating-point first.
(i386_register_convert_to_raw): Assert that TYPE is a
floating-point type with length 12.

23 years ago * i386-dis.c: Change formatting conventions for architecture
Alan Modra [Sat, 28 Jul 2001 07:13:34 +0000 (07:13 +0000)]
* i386-dis.c: Change formatting conventions for architecture
i386:intel to better match the format of various intel i386
assemblers, like nasm, tasm or masm.

23 years ago*** empty log message ***
gdbadmin [Sat, 28 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 27 Jul 2001 17:48:27 +0000 (17:48 +0000)]
2001-07-27  H.J. Lu  <hjl@gnu.org>

* ld-selective/selective.exp: Fix the error in the last change.

23 years agoAdded dependency of gdb/insight on tcl and tk libraries.
John R. Moore [Fri, 27 Jul 2001 16:38:32 +0000 (16:38 +0000)]
Added dependency of gdb/insight on tcl and tk libraries.

23 years agoAdded dependency on tcl/tk libraries.
John R. Moore [Fri, 27 Jul 2001 16:35:27 +0000 (16:35 +0000)]
Added dependency on tcl/tk libraries.

23 years ago2001-07-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 27 Jul 2001 16:16:07 +0000 (16:16 +0000)]
2001-07-27  H.J. Lu  <hjl@gnu.org>

* binutils-all/windres/windres.exp: Don't set xfail for
bmpalign (compare) on none-ix86/pe targets.

23 years ago * read.c (s_set): Check for missing symbol name.
Alan Modra [Fri, 27 Jul 2001 08:35:56 +0000 (08:35 +0000)]
* read.c (s_set): Check for missing symbol name.

23 years ago2001-07-26 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 27 Jul 2001 06:26:23 +0000 (06:26 +0000)]
2001-07-26  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/lif-empic.d: Add back dollar signs before floating
        point register names.

23 years ago2001-07-26 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jul 2001 03:29:08 +0000 (03:29 +0000)]
2001-07-26  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
NUM_REGS.
(SH_DEFAULT_NUM_REGS): Define.

23 years ago*** empty log message ***
gdbadmin [Fri, 27 Jul 2001 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***

23 years ago* gdbint.texinfo (libgdb): Rewrite.
Andrew Cagney [Thu, 26 Jul 2001 18:38:29 +0000 (18:38 +0000)]
* gdbint.texinfo (libgdb): Rewrite.

23 years ago * go32-nat.c (read_memory_region): Make sure the segment limit was
Eli Zaretskii [Thu, 26 Jul 2001 14:41:16 +0000 (14:41 +0000)]
* go32-nat.c (read_memory_region): Make sure the segment limit was
indeed set, to work around a Windows 2000 bug.

23 years ago* MAINTAINERS: Clarify libiberty merge rules and procedures.
DJ Delorie [Thu, 26 Jul 2001 14:20:05 +0000 (14:20 +0000)]
* MAINTAINERS: Clarify libiberty merge rules and procedures.

23 years agomerge from gcc
DJ Delorie [Thu, 26 Jul 2001 14:14:49 +0000 (14:14 +0000)]
merge from gcc

23 years agoMakefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted.
Eli Zaretskii [Thu, 26 Jul 2001 07:29:24 +0000 (07:29 +0000)]
Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted.

23 years agoRemoved.
Eli Zaretskii [Thu, 26 Jul 2001 07:26:01 +0000 (07:26 +0000)]
Removed.

23 years ago * gas/i386/relax.s: Test rs_space.
Alan Modra [Thu, 26 Jul 2001 04:14:44 +0000 (04:14 +0000)]
* gas/i386/relax.s: Test rs_space.
* gas/i386/relax.d: Update.

23 years ago * write.c (relax_segment <rs_space>): Account for fr_fix.
Alan Modra [Thu, 26 Jul 2001 03:39:29 +0000 (03:39 +0000)]
* write.c (relax_segment <rs_space>): Account for fr_fix.

23 years ago * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
Daniel Jacobowitz [Thu, 26 Jul 2001 02:23:58 +0000 (02:23 +0000)]
    * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
        * infttrace.c (child_xfer_memory): Likewise.
        * symm-nat.c (child_xfer_memory): Likewise.
        * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-linux.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.

23 years ago*** empty log message ***
gdbadmin [Thu, 26 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 25 Jul 2001 23:16:40 +0000 (23:16 +0000)]
2001-07-25  Michael Snyder  <msnyder@redhat.com>

* gdb.base/consecutive.exp: New file.  Test stepping over
breakpoints on consecutive instructions.
* gdb.base/consecutive.c: New file.

23 years ago2001-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 25 Jul 2001 22:45:25 +0000 (22:45 +0000)]
2001-07-25  Michael Snyder  <msnyder@redhat.com>

* gdb.base/call-rt-st.exp: Use double-backslash to quote
curly braces in regular expressions.

23 years ago2001-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 25 Jul 2001 22:41:43 +0000 (22:41 +0000)]
2001-07-25  Michael Snyder  <msnyder@redhat.com>

* gdb.base/ending-run.exp: Accept "Program exited normally" as
legitimate output from stepping out of main.

23 years ago2001-07-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 25 Jul 2001 22:27:46 +0000 (22:27 +0000)]
2001-07-25  H.J. Lu  <hjl@gnu.org>

* config/tc-mips.c (md_estimate_size_before_relax): Make sure
we treat weak like extern only for ELF.
(mips_fix_adjustable): Make sure we don't adjust extern/weak
symbols only for ELF.

23 years ago2001-07-25 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 25 Jul 2001 20:34:39 +0000 (20:34 +0000)]
2001-07-25  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c: Fix spelling error in comment.

23 years ago2001-07-25 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 25 Jul 2001 15:25:11 +0000 (15:25 +0000)]
2001-07-25  Dave Brolley  <brolley@redhat.com>

* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
(SKIP_ZEROES_AT_END): Only define it if it is not already defined.

23 years ago2001-07-25 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 25 Jul 2001 15:23:19 +0000 (15:23 +0000)]
2001-07-25  Dave Brolley  <brolley@redhat.com>

* app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
(IS_PARALLEL_SEPARATOR): New macro.
(do_scrub_begin): Set up characters in tc_parallel_separator_chars
as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
(do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
been seen).

23 years agoMention how to make the PDF version of the manual.
Eli Zaretskii [Wed, 25 Jul 2001 14:58:38 +0000 (14:58 +0000)]
Mention how to make the PDF version of the manual.