Commit Graph

34002 Commits

Author SHA1 Message Date
gdbadmin 40954583a1 *** empty log message *** 2002-04-03 00:00:33 +00:00
Alan Modra 88eaec8b86 daily update 2002-04-03 00:00:05 +00:00
Nick Clifton 9e81ee6719 Do not allow records to cross a 64K boundary - wrap if necessary. 2002-04-02 14:08:51 +00:00
Richard Henderson 5f44c186d7 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
in 32-bit mode.
2002-04-02 00:32:41 +00:00
Alan Modra d24bbf0666 daily update 2002-04-02 00:00:07 +00:00
gdbadmin 7d798d03fe *** empty log message *** 2002-04-02 00:00:03 +00:00
DJ Delorie 0c4460bb3c merge from gcc 2002-04-01 22:01:20 +00:00
Jason Thorpe d2b645005b 2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro
which caused the returned LWP ID to always be 0.
2002-04-01 18:31:46 +00:00
Richard Henderson e36f7d5326 * 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.
2002-04-01 10:00:49 +00:00
Daniel Jacobowitz 2fccf04a44 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".
2002-04-01 05:58:45 +00:00
gdbadmin 4a36419c3c *** empty log message *** 2002-04-01 00:00:32 +00:00
Alan Modra 74ebceb12b daily update 2002-04-01 00:00:06 +00:00
Mark Kettenis a5941fbf4a * NEWS: Mention gcore support on FreeBSD/i386. 2002-03-31 17:53:00 +00:00
Mark Kettenis a90cd31de1 * 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.
2002-03-31 17:47:17 +00:00
Mark Kettenis 2d1bfe2ed3 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
while statement.
2002-03-31 15:10:38 +00:00
Alan Modra 3b83b064b0 daily update 2002-03-31 00:00:09 +00:00
gdbadmin 651307b367 *** empty log message *** 2002-03-31 00:00:03 +00:00
Daniel Jacobowitz 1e50cda1d1 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.
2002-03-30 23:47:18 +00:00
Daniel Jacobowitz 24015922ff 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-30 18:54:38 +00:00
DJ Delorie f2160d2bd1 merge from gcc 2002-03-30 06:17:57 +00:00
gdbadmin 03c7bc89c0 *** empty log message *** 2002-03-30 00:00:03 +00:00
Jim Blandy 9eb6e5a1a5 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't.  So
escape them.
2002-03-29 23:34:43 +00:00
Alan Modra f00ef9ead4 daily update 2002-03-29 23:00:07 +00:00
Michael Snyder 89743e04ff 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.
2002-03-29 01:32:20 +00:00
Michael Snyder f02df580ce 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.
2002-03-29 01:22:41 +00:00
Michael Snyder 16d9dec687 2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Document new commands dump, append, and restore.
2002-03-29 01:19:37 +00:00
Michael Snyder dd7dfd64a3 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.
2002-03-29 01:19:11 +00:00
Michael Snyder 109f874e46 2002-03-28 Michael Snyder <msnyder@redhat.com>
* symfile.c (symbol_file_add): Move test for null symbols to later.
2002-03-29 01:09:27 +00:00
gdbadmin 35ad82f95b *** empty log message *** 2002-03-29 00:00:04 +00:00
Alan Modra 3a0bd4a71b daily update 2002-03-28 23:00:05 +00:00
DJ Delorie 7dd4d42a60 merge from gcc 2002-03-28 04:06:38 +00:00
Andrew Cagney 520f6ade4a From veksler at il.ibm.com:
* utils.c (gdb_realpath): If canonicalize_file_name fails, return
the xstrduped original path.
Fix PR gdb/417.
2002-03-28 03:43:37 +00:00
Alan Modra e92d460e59 * 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.
2002-03-28 03:27:46 +00:00
Michael Snyder 48b2f8d70e 2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Modify expect strings to reflect
	clean-ups in help messages.
2002-03-28 01:36:23 +00:00
Michael Snyder d4654627e1 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.
2002-03-28 01:35:56 +00:00
Elena Zannoni 6be8bc0c92 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.
2002-03-28 00:48:41 +00:00
gdbadmin 96b0714f37 *** empty log message *** 2002-03-28 00:00:32 +00:00
Jim Blandy 12af6855fb * 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.
2002-03-27 23:10:24 +00:00
Alan Modra fd74cc6bd4 daily update 2002-03-27 23:00:01 +00:00
Andrew Cagney dc6728652c s/strerror/safe_strerror/ 2002-03-27 21:35:35 +00:00
Andreas Schwab d96429cda9 * event-top.c (command_line_handler): Remove useless if. 2002-03-27 21:20:15 +00:00
Andrew Cagney 9ae8b82c04 * gdbint.texinfo (Releasing GDB): Revise the section `Before the
Branch'.
2002-03-27 21:16:33 +00:00
DJ Delorie 38e57a35dc merge from gcc 2002-03-27 19:17:34 +00:00
Andreas Schwab 3458b54ce7 * 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.
2002-03-27 16:22:04 +00:00
Peter Targett 96f959e587 * MAINTAINERS: Update my email address. 2002-03-27 16:04:12 +00:00
Andreas Jaeger 7e336ba170 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
comment.
2002-03-27 14:32:08 +00:00
Alan Modra 6f12f4cad7 * configure.host: Set up for generic hosts first, then tweak as
necessary in more specific targets.
	(HOSTING_LIBS): Include libgcc_eh.a if found.
2002-03-27 14:07:50 +00:00
Nick Clifton 2106126f87 Copy the r_offset field into and out of the internal reloc strcuture. 2002-03-27 11:28:19 +00:00
Michal Ludvig de220d0ff6 * 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.
2002-03-27 10:21:29 +00:00
Daniel Jacobowitz 0e98d0a751 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}.
2002-03-27 05:15:49 +00:00