external/binutils.git
22 years ago * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
Richard Henderson [Mon, 1 Apr 2002 10:00:49 +0000 (10:00 +0000)]
    * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
        (elf32_sparc_relocate_section): Use it to figure out when to
        initialize .got entries.
        * elf64-sparc.c: Similarly.

22 years ago2002-04-01 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 1 Apr 2002 05:58:45 +0000 (05:58 +0000)]
2002-04-01  Daniel Jacobowitz  <drow@mvista.com>

        * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
        and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".

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

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

22 years ago* NEWS: Mention gcore support on FreeBSD/i386.
Mark Kettenis [Sun, 31 Mar 2002 17:53:00 +0000 (17:53 +0000)]
* NEWS: Mention gcore support on FreeBSD/i386.

22 years ago* fbsd-proc.c: New file.
Mark Kettenis [Sun, 31 Mar 2002 17:47:17 +0000 (17:47 +0000)]
* fbsd-proc.c: New file.
* config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
* config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.

22 years ago* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
Mark Kettenis [Sun, 31 Mar 2002 15:10:38 +0000 (15:10 +0000)]
* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
while statement.

22 years agodaily update
Alan Modra [Sun, 31 Mar 2002 00:00:09 +0000 (00:00 +0000)]
daily update

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

22 years ago2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 30 Mar 2002 23:47:18 +0000 (23:47 +0000)]
2002-03-30  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/452
        * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
        when finished.  Make gdb_file_cmd send "exec-file" when
        appropriate.

22 years ago2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 30 Mar 2002 18:54:38 +0000 (18:54 +0000)]
2002-03-30  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/attach.exp: Remove extra setup_xfail.

22 years agomerge from gcc
DJ Delorie [Sat, 30 Mar 2002 06:17:57 +0000 (06:17 +0000)]
merge from gcc

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

22 years ago* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
Jim Blandy [Fri, 29 Mar 2002 23:34:43 +0000 (23:34 +0000)]
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't.  So
escape them.

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

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 29 Mar 2002 01:32:20 +0000 (01:32 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>
            Andrew Cagney <cagney@redhat.com>

* cli/cli-dump.c: New file.  Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.
        * NEWS: Mention new commands.

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 29 Mar 2002 01:22:41 +0000 (01:22 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>
    Andrew Cagney <cagney@redhat.com>

* cli/cli-dump.c: New file.  Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.

22 years ago2002-03-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 29 Mar 2002 01:19:37 +0000 (01:19 +0000)]
2002-03-27  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo: Document new commands dump, append, and restore.

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 29 Mar 2002 01:19:11 +0000 (01:19 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>

* gdb.base/default.exp: Add tests for dump, append, and restore.
* gdb.base/help.exp: Add tests for dump, append, and restore.
* gdb.base/dump.exp: New file, test dump, append and restore.
* gdb.base/dump.c: New file.

22 years ago2002-03-28 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 29 Mar 2002 01:09:27 +0000 (01:09 +0000)]
2002-03-28  Michael Snyder  <msnyder@redhat.com>

* symfile.c (symbol_file_add): Move test for null symbols to later.

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

22 years agodaily update
Alan Modra [Thu, 28 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Thu, 28 Mar 2002 04:06:38 +0000 (04:06 +0000)]
merge from gcc

22 years agoFrom veksler at il.ibm.com:
Andrew Cagney [Thu, 28 Mar 2002 03:43:37 +0000 (03:43 +0000)]
From veksler at il.ibm.com:
* utils.c (gdb_realpath): If canonicalize_file_name fails, return
the xstrduped original path.
Fix PR gdb/417.

22 years ago * linker.c (link_action): Ignore duplicate warning syms.
Alan Modra [Thu, 28 Mar 2002 03:27:46 +0000 (03:27 +0000)]
* linker.c (link_action): Ignore duplicate warning syms.
(_bfd_generic_link_write_global_symbol): Follow warning symbol link.
* elflink.h (elf_adjust_dynstr_offsets): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_export_symbol): Likewise.
(elf_link_find_version_dependencies): Likewise.
(elf_link_assign_sym_version): Likewise.
(elf_link_sec_merge_syms): Likewise.
(elf_link_output_extsym): Likewise.
(elf_gc_sweep_symbol): Likewise.
(elf_gc_propagate_vtable_entries_used): Likewise.
(elf_gc_smash_unused_vtentry_relocs): Likewise.
(elf_gc_allocate_got_offsets): Likewise.
(elf_collect_hash_codes): Likewise.
* elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise.
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise.
* elf32-arm.h (elf32_arm_discard_copies): Likewise.
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise.
(elf_cris_discard_excess_dso_dynamics): Likewise.
* elf32-hppa.c (clobber_millicode_symbols): Likewise.
(mark_PIC_calls): Likewise.
(allocate_plt_static): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i386.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i370.c (i370_elf_adjust_dynindx): Likewise.
* elf32-m68k.c (elf_m68k_discard_copies): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_sort_hash_table_f): Likewise.
(mips_elf_check_mips16_stubs): Likewise.
* elf32-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-sh.c (sh_elf_discard_copies): Likewise.
* elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise.
(xstormy16_relax_plt_realloc): Likewise.
* elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise.
(elf64_alpha_output_extsym): Likewise.
* elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise.
(mips_elf64_check_mips16_stubs): Likewise.
(mips_elf64_output_extsym): Likewise.
* elf64-ppc.c (func_desc_adjust): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-sh64.c (sh64_elf64_discard_copies): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise.
* aoutx.h (aout_link_write_other_symbol): Likewise.
* cofflink.c (_bfd_coff_write_task_globals): Likewise.
(_bfd_coff_write_global_sym): Likewise.
* i386linux.c (linux_tally_symbols): Likewise.
* m68klinux.c (linux_tally_symbols): Likewise.
* sparclinux.c (linux_tally_symbols): Likewise.
* pdp11.c (aout_link_write_other_symbol): Likewise.
* sunos.c (sunos_scan_dynamic_symbol): Likewise.
* xcofflink.c (xcoff_build_ldsyms): Likewise.
(xcoff_write_global_symbol): Likewise.

* cofflink.c (_bfd_coff_final_link): Formatting.
* cpu-mips.c (mips_compatible): Make static, prototype.
* elf32-i386.c (elf_i386_check_relocs): Formatting.
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_output_extsym): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table): Likewise.
(mips_elf64_final_link): Likewise.
* elflink.h (elf_link_find_version_dependencies): Remove duplicate
prototype.

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

* gdb.base/help.exp: Modify expect strings to reflect
clean-ups in help messages.

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.