external/binutils.git
22 years ago2002-03-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 28 Mar 2002 01:35:56 +0000 (01:35 +0000)]
2002-03-27  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (_initialize_breakpoint): Clean up help string.
* infcmd.c (_initialize_infcmd): Ditto.
* language.c (_initialize_language): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* top.c (_init_main): Ditto.
* cli/cli-cmds.c (init_cli_cmds): Ditto.

22 years ago2002-03-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 28 Mar 2002 00:48:41 +0000 (00:48 +0000)]
2002-03-27  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
vector registers handling.
(skip_prologue): Handle new AltiVec instructions.  Fill in new
fields of frame data.
(frame_get_saved_regs): Fill in information for AltiVec registers.

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

22 years ago* symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
Jim Blandy [Wed, 27 Mar 2002 23:10:24 +0000 (23:10 +0000)]
* symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
a function; leave this macro here to invoke that function.
(symbol_init_mangled_name): Declaration for that function.
* symtab.c (symbol_init_mangled_name): New function.

22 years agodaily update
Alan Modra [Wed, 27 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years agos/strerror/safe_strerror/
Andrew Cagney [Wed, 27 Mar 2002 21:35:35 +0000 (21:35 +0000)]
s/strerror/safe_strerror/

22 years ago * event-top.c (command_line_handler): Remove useless if.
Andreas Schwab [Wed, 27 Mar 2002 21:20:15 +0000 (21:20 +0000)]
* event-top.c (command_line_handler): Remove useless if.

22 years ago* gdbint.texinfo (Releasing GDB): Revise the section `Before the
Andrew Cagney [Wed, 27 Mar 2002 21:16:33 +0000 (21:16 +0000)]
* gdbint.texinfo (Releasing GDB): Revise the section `Before the
Branch'.

22 years agomerge from gcc
DJ Delorie [Wed, 27 Mar 2002 19:17:34 +0000 (19:17 +0000)]
merge from gcc

22 years ago * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
Andreas Schwab [Wed, 27 Mar 2002 16:22:04 +0000 (16:22 +0000)]
* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
field for pc-relative fixups.
(output_disp): Likewise.
(md_estimate_size_before_relax): Likewise.
(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
pc-relative fixups in 64bit mode.

22 years ago * MAINTAINERS: Update my email address.
Peter Targett [Wed, 27 Mar 2002 16:04:12 +0000 (16:04 +0000)]
* MAINTAINERS: Update my email address.

22 years ago * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
Andreas Jaeger [Wed, 27 Mar 2002 14:32:08 +0000 (14:32 +0000)]
* dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
comment.

22 years ago * configure.host: Set up for generic hosts first, then tweak as
Alan Modra [Wed, 27 Mar 2002 14:07:50 +0000 (14:07 +0000)]
* configure.host: Set up for generic hosts first, then tweak as
necessary in more specific targets.
(HOSTING_LIBS): Include libgcc_eh.a if found.

22 years agoCopy the r_offset field into and out of the internal reloc strcuture.
Nick Clifton [Wed, 27 Mar 2002 11:28:19 +0000 (11:28 +0000)]
Copy the r_offset field into and out of the internal reloc strcuture.

22 years ago * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
Michal Ludvig [Wed, 27 Mar 2002 10:21:29 +0000 (10:21 +0000)]
* x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
(x86_64_num_regs, x86_64_num_gregs): Added extern variables.
* x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
(x86_64_linux_dr_get_status, supply_gregset),
(fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
* x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
(x86_64_register_info_table): Add.
(X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
(x86_64_register_raw_size, x86_64_register_virtual_type),
(x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
general x86_64_register_info_table.
(i386_gdbarch_init): gdbarch_register_bytes is now set
dynamicaly during initialization.
* regformats/reg-x86-64.dat: Synced with changes to registers above.
* gdbserver/linux-x86-64-low.c: Ditto.

22 years ago2002-03-27 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 27 Mar 2002 05:15:49 +0000 (05:15 +0000)]
2002-03-27  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/server.c (main): Call target_signal_to_host_p
        and target_signal_to_host on signals received from the remote.
        * gdbserver/remote-utils.c (prepare_resume_reply): Call
        target_signal_from_host on signals sent to the remote.
        * gdbserver/server.h: Add prototypes.  Include "gdb/signals.h".
        * gdbserver/Makefile.in: Add signals.o.  Add -I${INCLUDE_DIR}.

22 years ago2002-03-27 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 27 Mar 2002 05:12:35 +0000 (05:12 +0000)]
2002-03-27  Daniel Jacobowitz  <drow@mvista.com>

        * signals/signals.c: Include "server.h" in gdbserver build.
        (target_signal_from_name): Don't use STREQ.
        (_initialize_signals): Likewise.  Don't include function in
        gdbserver build.

22 years ago2002-03-27 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 27 Mar 2002 05:10:40 +0000 (05:10 +0000)]
2002-03-27  Daniel Jacobowitz  <drow@mvista.com>

        * signals.c: Moved to...
        * signals/signals.c: Here.
        * Makefile (signals.o): Update.

22 years ago*** empty log message ***
gdbadmin [Wed, 27 Mar 2002 00:22:35 +0000 (00:22 +0000)]
*** empty log message ***

22 years ago * somread.c (som_symtab_read): Remove some commented out code and
Jeff Law [Wed, 27 Mar 2002 00:21:51 +0000 (00:21 +0000)]
    * somread.c (som_symtab_read): Remove some commented out code and
        updated related comments.  Do not set the minimal symbol table to
        mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
        in a dynamic executable.
        * hppa-tdep.c (find_proc_framesize): Sanely handle the case
        where we are unable to find the minimal symbol for the given
        PC value.

22 years ago * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
Alan Modra [Wed, 27 Mar 2002 00:16:54 +0000 (00:16 +0000)]
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
terminating NULL if empty symbol table.
(_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.

22 years agomerge from gcc
DJ Delorie [Tue, 26 Mar 2002 23:29:30 +0000 (23:29 +0000)]
merge from gcc

22 years ago 2002-03-26 Fred Fish <fnf@redhat.com>
Fred Fish [Tue, 26 Mar 2002 23:02:30 +0000 (23:02 +0000)]
2002-03-26  Fred Fish  <fnf@redhat.com>
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
have debugging info for those functions and the compiler uses them
internally to copy structs around.

22 years agodaily update
Alan Modra [Tue, 26 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-26 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 26 Mar 2002 18:13:54 +0000 (18:13 +0000)]
2002-03-26  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Revert the last change since
the gcc exception handling isn't fixed yet.

22 years ago2002-03-26 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 26 Mar 2002 16:01:04 +0000 (16:01 +0000)]
2002-03-26  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Complain about relocations
against local symbols in discarded sections.

22 years ago 2002-03-26 Fred Fish <fnf@redhat.com>
Fred Fish [Tue, 26 Mar 2002 14:54:27 +0000 (14:54 +0000)]
2002-03-26  Fred Fish  <fnf@redhat.com>
* gdb.base/list.exp: Revert the change made yesterday and add note
about why we don't list the default lines for remote targets.

22 years ago * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.
Alan Modra [Tue, 26 Mar 2002 11:54:12 +0000 (11:54 +0000)]
* elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.

22 years ago2002-03-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 26 Mar 2002 05:10:26 +0000 (05:10 +0000)]
2002-03-25  Michael Snyder  <msnyder@redhat.com>

* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.

22 years ago 2002-03-25 Fred Fish <fnf@redhat.com>
Fred Fish [Tue, 26 Mar 2002 00:36:07 +0000 (00:36 +0000)]
2002-03-25  Fred Fish  <fnf@redhat.com>
* gdb.base/list.exp: This test works on remote targets so remove
the short circuit for remote targets.  Update copyright.

22 years agoSigh, should have updated the copyright date in the
Fred Fish [Tue, 26 Mar 2002 00:17:38 +0000 (00:17 +0000)]
Sigh, should have updated the copyright date in the
change I just checked in.  Fix it here.

22 years ago 2002-03-25 Fred Fish <fnf@redhat.com>
Fred Fish [Tue, 26 Mar 2002 00:13:22 +0000 (00:13 +0000)]
2002-03-25  Fred Fish  <fnf@redhat.com>
* gdb.base/attach.exp: Fix logic error that was suppressing this
test for all non hppa*-*-hpux* targets, instead of the hp target.
Move comments closer to the suppression point.  Also now need to
check that we are running natively.

22 years ago*** empty log message ***
gdbadmin [Tue, 26 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 25 Mar 2002 23:00:02 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-25 Jeff Law (law@redhat.com)
Michael Snyder [Mon, 25 Mar 2002 19:47:41 +0000 (19:47 +0000)]
2002-03-25  Jeff Law (law@redhat.com)

* linux-proc.c (read_mapping): Scan up to end of line for filename.

22 years ago * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
Michal Ludvig [Mon, 25 Mar 2002 07:59:16 +0000 (07:59 +0000)]
* x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.

22 years ago2002-03-24 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Mon, 25 Mar 2002 04:39:20 +0000 (04:39 +0000)]
2002-03-24  David O'Brien  <obrien@FreeBSD.org>
* ppc/hw_disk.c: Export a disk device property.

This is needed by the FreeBSD/powerpc porting effort.

22 years ago*** empty log message ***
gdbadmin [Mon, 25 Mar 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 24 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* gen.c (format_name_cmp): New function.
Andrew Cagney [Sun, 24 Mar 2002 00:43:28 +0000 (00:43 +0000)]
* gen.c (format_name_cmp): New function.
(insn_list_insert): Use the instruction field name as an
additional key.  Different field names indicate different
semantics.

22 years ago* command.h: Update copyright.
Andrew Cagney [Sun, 24 Mar 2002 00:40:35 +0000 (00:40 +0000)]
* command.h: Update copyright.
(struct cmd_list_element): Replace definition with opaque
declaration.
(enum cmd_types): Document that it will eventually be moved to
cli/cli-decode.h
(CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
(MALLOCED_REPLACEMENT): Delete macro.
* Makefile.in (cli_decode_h): Add $(command_h).
(top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
* top.c: Include "cli/cli-decode.h".
* completer.c: Include "cli/cli-decode.h".
* maint.c: Include "cli/cli-decode.h".
* cli/cli-decode.h: Include "command.h".
(enum command_class): Delete.
(enum cmd_types): Comment out.
(enum cmd_auto_boolean): Delete.
(enum var_types): Delete.

22 years ago* cli/cli-decode.c: Include "gdb_assert.h".
Andrew Cagney [Sun, 24 Mar 2002 00:24:35 +0000 (00:24 +0000)]
* cli/cli-decode.c: Include "gdb_assert.h".
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
all fields, such as func, from the set command.

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

22 years agodaily update
Alan Modra [Sat, 23 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years agoFrom 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
Andrew Cagney [Sat, 23 Mar 2002 21:18:31 +0000 (21:18 +0000)]
From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
* ppc-instructions (lswx): Do the register control with the
register count.  Initialize the right register in the loop.
(mtfsfi) : Correct prefix for the instruction.

22 years ago* MAINTAINERS (sh-elf): Change warning flag to -w.
Andrew Cagney [Sat, 23 Mar 2002 18:52:46 +0000 (18:52 +0000)]
* MAINTAINERS (sh-elf): Change warning flag to -w.

22 years ago * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
Andreas Jaeger [Sat, 23 Mar 2002 18:15:32 +0000 (18:15 +0000)]
* emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.

22 years ago* defs.h (error): Add printf format attribute.
Andrew Cagney [Sat, 23 Mar 2002 17:38:13 +0000 (17:38 +0000)]
* defs.h (error): Add printf format attribute.
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.

22 years ago* ppc-opc.c (vmaddfp): Fix operand order.
Matthew Green [Sat, 23 Mar 2002 14:14:30 +0000 (14:14 +0000)]
* ppc-opc.c (vmaddfp): Fix operand order.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
Alan Modra [Sat, 23 Mar 2002 13:14:33 +0000 (13:14 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
section file offset for !SEC_LOAD sections.

22 years ago* gdbtypes.c (append_composite_type_field): New function.
Andrew Cagney [Sat, 23 Mar 2002 01:24:54 +0000 (01:24 +0000)]
* gdbtypes.c (append_composite_type_field): New function.
(init_composite_type): New function.
* gdbtypes.h (append_composite_type_field): Declare.
(init_composite_type): Ditto.

22 years ago2002-03-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 23 Mar 2002 00:05:29 +0000 (00:05 +0000)]
2002-03-22  Michael Snyder  <msnyder@redhat.com>

* gdb.base/default.exp: Add test for gcore.  Update copyright.
* gdb.base/help.exp: Add test for gcore.  Update copyright.

22 years ago2002-03-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 23 Mar 2002 00:03:01 +0000 (00:03 +0000)]
2002-03-22  Michael Snyder  <msnyder@redhat.com>

* gdb.base/default.exp: Add test for gcore.
* gdb.base/help.exp: Add test for gcore.

22 years ago*** empty log message ***
gdbadmin [Sat, 23 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 22 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 22 Mar 2002 21:58:16 +0000 (21:58 +0000)]
2002-03-22  Elena Zannoni  <ezannoni@redhat.com>

        * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
        function.
* ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
        * rs6000-tdep.c (rs6000_gdbarch_init): Use different
        structure returning convention for SYSV ABI case, but not
        for GNU/Linux, FreeBSD, or NetBSD.

22 years ago2002-03-22 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 22 Mar 2002 18:57:08 +0000 (18:57 +0000)]
2002-03-22  Daniel Jacobowitz  <drow@mvista.com>

        * symtab.h (lookup_block_symbol): Add mangled_name argument
        to prototype.

        * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
        with new mangled_name argument.
        * linespec.c (decode_line_1): Likewise.
        * valops (value_of_this): Likewise.
        * symtab.c (lookup_transparent_type): Likewise.
        (lookup_symbol_aux): Likewise.  Accept new mangled_name argument.
        (lookup_symbol): If we are given a mangled name, pass it down
        to lookup_symbol_aux.
        (lookup_block_symbol): If we are given a mangled name to check
        against, only return symbols which match it.

22 years ago* win32-nat.c (child_create_inferior): Check for proper shell to use here, in
Christopher Faylor [Fri, 22 Mar 2002 05:03:22 +0000 (05:03 +0000)]
* win32-nat.c (child_create_inferior): Check for proper shell to use here, in
case the user changes it on the fly.
(_initialize_inftarg): Remove shell path considerations.

22 years ago * config/te-aix5.h: Typo fix.
Alan Modra [Fri, 22 Mar 2002 02:07:36 +0000 (02:07 +0000)]
* config/te-aix5.h: Typo fix.

22 years ago2002-03-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 22 Mar 2002 00:19:02 +0000 (00:19 +0000)]
2002-03-21  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
for gdbarch_max_register_raw_size and max_register_virtual_size.
Adjust copyright year.

22 years ago*** empty log message ***
gdbadmin [Fri, 22 Mar 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 21 Mar 2002 23:01:32 +0000 (23:01 +0000)]
daily update

22 years ago2002-03-21 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 21 Mar 2002 19:48:54 +0000 (19:48 +0000)]
2002-03-21  Daniel Jacobowitz  <drow@mvista.com>

         * dbxread.c (process_one_symbol): Extend the first N_SLINE
         in a function to cover the entire beginning of the function
         as well if it does not already.

22 years ago* elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
Richard Earnshaw [Thu, 21 Mar 2002 15:26:03 +0000 (15:26 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
(case R_ARM_GOT): Handle relocations to Thumb functions.

22 years agoRename ptrace32 and ptrace64 to fix build problem with Aix 5.1
Tom Rix [Thu, 21 Mar 2002 13:52:57 +0000 (13:52 +0000)]
Rename ptrace32 and ptrace64 to fix build problem with Aix 5.1

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:53:45 +0000 (09:53 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:52:14 +0000 (09:52 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:42:38 +0000 (09:42 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:40:17 +0000 (09:40 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:23:41 +0000 (09:23 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Alan Modra [Thu, 21 Mar 2002 09:15:18 +0000 (09:15 +0000)]
* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Whitespace changes.
* archive.c: Update copyright date.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years agoFix typo
Nick Clifton [Thu, 21 Mar 2002 09:13:34 +0000 (09:13 +0000)]
Fix typo

22 years ago * ppc-opc.c: Add optional field to mtmsrd.
Alan Modra [Thu, 21 Mar 2002 09:01:49 +0000 (09:01 +0000)]
* ppc-opc.c: Add optional field to mtmsrd.
(MTMSRD_L, XRLARB_MASK): Define.

22 years ago * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
Alan Modra [Thu, 21 Mar 2002 05:35:39 +0000 (05:35 +0000)]
* genscripts.sh (LIB_SEARCH_DIRS): Quote path.

22 years ago2002-03-20 Daniel Berlin <dan@dberlin.org>
Daniel Berlin [Thu, 21 Mar 2002 05:00:58 +0000 (05:00 +0000)]
2002-03-20  Daniel Berlin  <dan@dberlin.org>

* readelf.c: Add support for displaying dwarf2 location lists.
(do_debug_loc, debug_loc_section, debug_loc_size): New.
(parse_args): Use 'O' as shorthand for displaying location list
section.
(process_section_headers): Handle debug_loc as well.
(load_debug_loc): New.
(free_debug_loc): New.
(fetch_location_list): New.
(display_debug_loc): New.
(display_debug_info): Call load_debug_loc and free_debug_loc.
(debug_displays): We can display .debug_loc now, too.
(usage): Update usage string.
(read_and_display_attr_value): Note location lists, but don't
display them inline.

22 years ago2002-03-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 21 Mar 2002 02:13:05 +0000 (02:13 +0000)]
2002-03-20  Martin M. Hunt  <hunt@redhat.com>

* regcache.c (_initialize_regcache): No need to call
build_regcache() at this time; it gets called whenever
the gdbarch changes.

22 years ago2002-03-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 21 Mar 2002 02:11:03 +0000 (02:11 +0000)]
2002-03-20  Martin M. Hunt  <hunt@redhat.com>

* gdbserver/remote-utils.c (remote_open): Don't call
getprotobyname, we're all using TCP here so just use
IPPROTO_TCP.
* gdbserver/gdbreplay.c (remote_open): Ditto.

22 years ago2002-03-20 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Thu, 21 Mar 2002 02:03:13 +0000 (02:03 +0000)]
2002-03-20  David O'Brien  <obrien@FreeBSD.org>
* sparc-nat.c:  Include sys/param.h where possible.

Approved by:  Michael Snyder <msnyder@redhat.com>
              Message-ID: <3C98FF43.46ABDC1C@redhat.com>

22 years ago2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 21 Mar 2002 00:53:44 +0000 (00:53 +0000)]
2002-03-20  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/422.
        * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
        FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
        * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
        complex types.
        * stabsread.c (rs6000_builtin_type): Likewise.
        (read_sun_floating_type): Likewise.

22 years ago*** empty log message ***
gdbadmin [Thu, 21 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 20 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)]
2002-03-20  Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2.c (struct funcinfo): Move up.
        (lookup_address_in_function_table): New argument function_ptr.
        Set it.
        (lookup_address_in_line_table): New argument function.  If function
        is non-NULL, use it to handle ``addr'' before the first line note of
        the function.
        (comp_unit_find_nearest_line): Update and swap calls to
        lookup_address_in_function_table and lookup_address_in_line_table.
        * syms.c (_bfd_stab_section_find_nearest_line): Use the first
        N_SLINE encountered if we see an N_FUN before any N_SLINE.

22 years agoFix extracting from AIX big archives.
Tom Rix [Wed, 20 Mar 2002 16:49:10 +0000 (16:49 +0000)]
Fix extracting from AIX big archives.

22 years agoFix problem with linking shared libstdc++-v3 on AIX.
Tom Rix [Wed, 20 Mar 2002 12:03:27 +0000 (12:03 +0000)]
Fix problem with linking shared libstdc++-v3 on AIX.

22 years ago * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
Alan Modra [Wed, 20 Mar 2002 07:49:53 +0000 (07:49 +0000)]
* ldlang.c (ldlang_add_undef): If the output bfd has been opened,
add the symbol to the linker hash table immediately.
(lang_place_undefineds): Split symbol creation out..
(insert_undefined): ..to here.

22 years ago2002-03-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 07:24:20 +0000 (07:24 +0000)]
2002-03-19  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c (FP_S_s, FP_D_s, FP_S_be, FP_D_be, FP_S_e, FP_D_e, FP_S_f)
        (FP_D_f, FP_S_fb, FP_D_fb, FPINF_SINGLE, FPINF_DOUBLE): Remove
        unused definitions.

22 years ago2002-03-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 07:10:37 +0000 (07:10 +0000)]
2002-03-19  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c: Fix many formatting issues.

22 years ago2002-03-19 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 06:42:05 +0000 (06:42 +0000)]
2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>

        * cp1.c (fpu_format_name): New function to replace...
        (DOFMT): This.  Delete, and update all callers.
        (fpu_rounding_mode_name): New function to replace...
        (RMMODE): This.  Delete, and update all callers.

22 years ago2002-03-19 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 01:35:13 +0000 (01:35 +0000)]
2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>

        * interp.c: Move FPU support routines from here to...
        * cp1.c: Here.  New file.
        * Makefile.in (SIM_OBJS): Add cp1.o to object list.
        (cp1.o): New target.

22 years ago*** empty log message ***
gdbadmin [Wed, 20 Mar 2002 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * ld-cris/ldsym1.d: New test.
Hans-Peter Nilsson [Tue, 19 Mar 2002 23:49:51 +0000 (23:49 +0000)]
* ld-cris/ldsym1.d: New test.

22 years agodaily update
Alan Modra [Tue, 19 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
Hans-Peter Nilsson [Tue, 19 Mar 2002 22:48:15 +0000 (22:48 +0000)]
* ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
longer set to object.
* ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.

22 years ago2002-03-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 19 Mar 2002 21:03:43 +0000 (21:03 +0000)]
2002-03-18  David O'Brien  <obrien@FreeBSD.org>
* emultempl/elf32.em: Use lbasename vs. basename to fix problem where
the contents of the buffer returned from basename function will are
getting overwritten while still being used.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020318032031.GD1089@bubble.sa.bigpond.net.au>

22 years ago * stabsread.c (read_member_functions): Remove skip code for duplicate
Peter Schauer [Tue, 19 Mar 2002 20:27:04 +0000 (20:27 +0000)]
* stabsread.c (read_member_functions): Remove skip code for duplicate
constructor/destructor methods.  Use standard parsing for these
methods and just do not chain them to the list of methods after
parsing.

22 years ago * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
Hans-Peter Nilsson [Tue, 19 Mar 2002 20:21:54 +0000 (20:21 +0000)]
* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
STT_NOTYPE symbols to STT_OBJECT.

22 years ago* coffread.c: Remove redundant static declarations. Replace
Alexandre Oliva [Tue, 19 Mar 2002 19:00:04 +0000 (19:00 +0000)]
* coffread.c: Remove redundant static declarations.  Replace
occurrences of `PTR' with `void *'.
* elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
* top.h (quit_cover): Likewise.
* defs.h (catch_errors): Likewise.

22 years ago * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
Andreas Jaeger [Tue, 19 Mar 2002 12:17:58 +0000 (12:17 +0000)]
* gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
* gas/i386/x86-64-opcode.s: Likewise

22 years ago2002-03-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 19 Mar 2002 03:51:06 +0000 (03:51 +0000)]
2002-03-14  Michael Snyder  <msnyder@redhat.com>

* symfile.c (syms_from_objfile): Return immediately if no syms.
(symbol_file_add): Return immediately if no syms.
(find_sym_fns): Return immediately if no syms.

22 years ago* defs.h (XMALLOC): Define.
Andrew Cagney [Tue, 19 Mar 2002 02:51:09 +0000 (02:51 +0000)]
* defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.

* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.