aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-012002-04-01 Nathan Williams <nathanw@wasabisystems.com>Jason Thorpe2-1/+6
* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro which caused the returned LWP ID to always be 0.
2002-04-01 * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.Richard Henderson3-173/+105
(elf32_sparc_relocate_section): Use it to figure out when to initialize .got entries. * elf64-sparc.c: Similarly.
2002-04-012002-04-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+7
* rs6000-tdep.c: Change #include of "bfd/libcoff.h" and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
2002-04-01*** empty log message ***gdbadmin1-1/+1
2002-04-01daily updateAlan Modra1-1/+1
2002-03-31* NEWS: Mention gcore support on FreeBSD/i386.Mark Kettenis2-0/+6
2002-03-31* fbsd-proc.c: New file.Mark Kettenis4-1/+181
* 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* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO inMark Kettenis2-1/+6
while statement.
2002-03-31daily updateAlan Modra1-1/+1
2002-03-31*** empty log message ***gdbadmin1-1/+1
2002-03-302002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-15/+20
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-302002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-7/+4
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-30merge from gccDJ Delorie2-1/+10
2002-03-30*** empty log message ***gdbadmin1-1/+1
2002-03-29* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerateJim Blandy2-1/+7
unescaped newlines in string literals, but newer ones don't. So escape them.
2002-03-29daily updateAlan Modra1-1/+1
2002-03-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+6
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-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder4-4/+882
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-292002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+82
* gdb.texinfo: Document new commands dump, append, and restore.
2002-03-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder5-8/+554
* 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-292002-03-28 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* symfile.c (symbol_file_add): Move test for null symbols to later.
2002-03-29*** empty log message ***gdbadmin1-1/+1
2002-03-28daily updateAlan Modra1-1/+1
2002-03-28merge from gccDJ Delorie3-6/+110
2002-03-28From veksler at il.ibm.com:Andrew Cagney2-1/+12
* utils.c (gdb_realpath): If canonicalize_file_name fails, return the xstrduped original path. Fix PR gdb/417.
2002-03-28 * linker.c (link_action): Ignore duplicate warning syms.Alan Modra34-116/+407
(_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-282002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-11/+16
* gdb.base/help.exp: Modify expect strings to reflect clean-ups in help messages.
2002-03-282002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder7-8/+17
* 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-282002-03-27 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-20/+128
* 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*** empty log message ***gdbadmin1-1/+1
2002-03-27* symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body intoJim Blandy3-67/+89
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-27daily updateAlan Modra1-1/+1
2002-03-27s/strerror/safe_strerror/Andrew Cagney7-35/+44
2002-03-27 * event-top.c (command_line_handler): Remove useless if.Andreas Schwab2-14/+15
2002-03-27* gdbint.texinfo (Releasing GDB): Revise the section `Before theAndrew Cagney2-39/+29
Branch'.
2002-03-27merge from gccDJ Delorie2-1/+14
2002-03-27 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size ofAndreas Schwab2-18/+36
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 * MAINTAINERS: Update my email address.Peter Targett2-1/+5
2002-03-27 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyrightAndreas Jaeger2-13/+18
comment.
2002-03-27 * configure.host: Set up for generic hosts first, then tweak asAlan Modra2-78/+73
necessary in more specific targets. (HOSTING_LIBS): Include libgcc_eh.a if found.
2002-03-27Copy the r_offset field into and out of the internal reloc strcuture.Nick Clifton2-0/+10
2002-03-27 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.Michal Ludvig6-79/+135
(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-272002-03-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz5-11/+34
* 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-272002-03-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-3/+17
* 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.
2002-03-272002-03-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-2/+10
* signals.c: Moved to... * signals/signals.c: Here. * Makefile (signals.o): Update.
2002-03-27*** empty log message ***gdbadmin1-1/+1
2002-03-27 * somread.c (som_symtab_read): Remove some commented out code andJeff Law3-22/+25
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.
2002-03-27 * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space forAlan Modra2-2/+12
terminating NULL if empty symbol table. (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.
2002-03-26merge from gccDJ Delorie4-39/+57
2002-03-26 2002-03-26 Fred Fish <fnf@redhat.com>Fred Fish2-4/+24
* 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.