aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2002-01-13From 2002-01-09 John Marshall <johnm@falch.net>:Andrew Cagney1-0/+7
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to sources.redhat.com, and tweak some related URLs which had suffered from linkrot.
2002-01-13* hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byteAndrew Cagney1-0/+6
structures passed in registers.
2002-01-13 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneousEli Zaretskii1-0/+6
white space which prevented compilation. Reported by DSK <dsk@student.unsw.edu.au>.
2002-01-132002-01-11 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+13
* symfile.c (build_section_addr_info_from_section_tab): Use bfd access method instead of manipulating bfd directly. (syms_from_objfile): Ditto. (simple_overlay_update_1): Ditto. (simple_overlay_update): Ditto. (generic_load): Ditto. (overlay_unmapped_address): FIXME comment, bfd access methods. (sections_overlap): FIXME comment, bfd access methods. (pc_in_mapped_range): FIXME comment, bfd access methods. (pc_in_unmapped_range): FIXME comment, bfd access methods. (section_is_mapped): FIXME comment, bfd access methods. (section_is_overlay): FIXME comment, bfd access methods.
2002-01-122002-01-11 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+7
* symfile.c (generic_load): Whitespace and long line cleanups. Remove duplicate variable, change several local variables to more appropriate data types. (print_transfer_performance): Use %lu instead of %ld for ulongs.
2002-01-12Use phex_nz() not printfAndrew Cagney1-0/+6
2002-01-12Update Copyright year.Elena Zannoni1-0/+1
2002-01-122002-01-12 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+5
* sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in the function.
2002-01-12* language.c (longest_raw_hex_string): Delete unused function.Andrew Cagney1-0/+4
2002-01-111) Handling of the DW_AT_byte_size attribute when processing aPetr Sorfa1-0/+9
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0 standard.) 2) In read_tag_string_type(), a fix for FORTRAN that propagates the first string length to all string types. This is important as FORTRAN strings are not delimited as in C/C++. 3) Handling of the DW_LANG_Fortran95.
2002-01-11* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->Richard Earnshaw1-0/+6
GETPID(inferior_ptid). (store_inferior_registers): Likewise.
2002-01-11 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.Jason Merrill1-0/+5
Fix DW_OP_minus.
2002-01-112002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+2
* NEWS: Mention --pid and corefile/proc-id behavior change.
2002-01-11* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001Andrew Cagney1-0/+5
and bfd/elf32-sh-nbsd.c.
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+3
* Makefile.in: Add rules for gcore.o and linux-proc.o. * gcore.c: Include cli/cli-decode.h instead of command.h.
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+8
* main.c (captured_main): Add new command line option "--pid". If the second command line argument (following the symbol-file) begins with a digit, try to attach to it before trying to open it as a corefile. (print_gdb_help): Document the "--pid" argument.
2002-01-10 * completer.c (command_completer): New function.Eli Zaretskii1-0/+9
* completer.h <command_completer>: Add prototype. * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the completer for the "help" command.
2002-01-10 * c-typeprint.c (is_type_conversion_operator): Fix thinko.Jason Merrill1-0/+4
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+3
* i386-linux-nat.c (fill_fpxregset): Make global. (store_fpxregset): Ditto.
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* gregset.h (gdb_fpxregset_t): Define. (supply_fpxregset): Prototype. (fill_fpxregset): Prototype.
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2002-01-09* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.Richard Earnshaw1-0/+6
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2002-01-09Update target section.Andrew Cagney1-0/+6
2002-01-09Fix formatting of ChangeLog entry in previous commit.Richard Earnshaw1-2/+2
2002-01-09MAINTAINERS (write-after-approval): Add myself.Richard Earnshaw1-0/+7
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to IN_SIGTRAMP.
2002-01-092002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+5
* linux-proc.c (child_pid_to_exec_file): Use readlink to get the real name of the executable, rather than the /proc name.
2002-01-092002-01-03 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+44
Implement a "generate-core-file" command in gdb, save target state. * gcore.c: New file. Implement new command 'generate-core-file'. Save a corefile image of the current state of the inferior. * linux-proc.c: Add linux-specific code for saving corefiles. * target.h (struct target_ops): Add new target vectors for saving corefiles; to_find_memory_regions and to_make_corefile_notes. (target_find_memory_regions): New macro. (target_make_corefile_notes): New macro. * target.c (update_current_target): Inherit new target methods. (dummy_find_memory_regions): New place-holder method. (dummy_make_corefile_notes): New place-holder method. (init_dummy_target): Initialize new dummy target vectors. * exec.c (exec_set_find_memory_regions): New function. Allow the exec_ops vector for memory regions to be taken over. (exec_make_note_section): New function, target vector method. * defs.h (exec_set_find_memory_regions): Export prototype. * procfs.c (proc_find_memory_regions): New function, corefile method. (procfs_make_note_section): New function, corefile method. (init_procfs_ops): Set new target vector pointers. (find_memory_regions_callback): New function. (procfs_do_thread_registers): New function. (procfs_corefile_thread_callback): New function. * sol-thread.c (sol_find_memory_regions): New function. (sol_make_note_section): New function. (init_sol_thread_ops): Initialize new target vectors. * inftarg.c (inftarg_set_find_memory_regions): New function. Allow to_find_memory_regions vector to be taken over. (inftarg_set_make_corefile_notes): New function. Allow to_make_corefile_notes vector to be taken over. * thread-db.c (thread_db_new_objfile): Don't activate thread-db interface layer if not target_has_execution (may be a corefile). * config/i386/linux.mh: Add gcore.o to NATDEPFILES. * config/sparc/sun4sol2.mh: Ditto. * config/alpha/alpha-linux.mh: Ditto. * config/arm/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+5
* arm-linux-nat.c: Remove references to regcache.c internal data (registers[] and register_valid[]).
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+17
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT instead of bfd_get_arch_size. Don't bail out just because there's no exec_bfd.
2002-01-082002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-0/+4
* win32-nat.c: Add i386-tdep.h dependency.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+6
* cp-valprint.c (cp_print_value): FIXME comment, alloca size. * p-valprint.c (pascal_object_print_value): Ditto. * somread.c (som_symtab_read): Ditto. * symfile.c (simple_free_overlay_region_table): Ditto. * valops.c (value_assign): Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+3
* tracepoint.c (tracepoint_save_command): From Klee Deines -- use tilde_expand and strerror for opening save-tracepoints file.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+2
* thread-db.c (thread_db_new_objfile): Indendation fix.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+12
* infptrace.c (GDB_MAX_ALLOCA): New define. (child_xfer_memory): Use xmalloc/xfree instead of alloca if the size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, can be overridden with whatever value is appropriate to the host). * infttrace.c (child_xfer_memory): Add FIXME warning about use of alloca to allocate potentially large buffer. * rs6000-nat.c (child_xfer_memory): Ditto. * symm-nat.c (child_xfer_memory): Ditto. * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2002-01-072002-01-07 Jackie Smith Cashion <jsmith@redhat.com>Jackie Smith Cashion1-0/+5
From Nick Clifton <nickc@redhat.com> * d10v-tdep.c: Set STACK_START to 0x200bffe.
2002-01-072002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+5
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't use exec_bfd if it's NULL.
2002-01-06* valops.c (value_arg_coerce): Fix formatting.Mark Kettenis1-0/+4
2002-01-06<string.h> -> "gdb_string.h"Andrew Cagney1-0/+5
2002-01-06Doco which targets are not multi-arch.Andrew Cagney1-0/+9
2002-01-06* MAINTAINERS: Mark a29k target as obsolete.Andrew Cagney1-0/+21
* Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) (remote-mm.o, remote-udi.o): Obsolete. Remove references in comments. * NEWS: Note that a29k targets are obsolete. * a29k-tdep.c: Mark as obsolete. * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and a29k-*-vxworks* targets as obsolete. * remote-adapt.c: Obsolete. * remote-eb.c: Obsolete. * remote-mm.c: Obsolete. * remote-udi.c: Obsolete. * config/a29k/a29k-udi.mt: Obsolete. * config/a29k/a29k.mt: Obsolete. * config/a29k/tm-a29k.h: Obsolete. * config/a29k/tm-vx29k.h: Obsolete. * config/a29k/vx29k.mt: Obsolete.
2002-01-06last? remaining BIG_ENDIAN switchAndrew Cagney1-0/+5
2002-01-06Move changelog to correct position.Andrew Cagney1-0/+13
2002-01-05Don't include <endian.h>Andrew Cagney1-0/+7
2002-01-05* acconfig.h (HAVE_PT_GETXMMREGS): New.Jason Thorpe1-0/+34
* config.in: Regenerate. * configure.in: Update copyright years. Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. * configure: Regenerate. * i386bsd-nat.c: Update copyright years. (fill_gregset): Use regcache_collect. (fetch_inferior_registers): Only fetch integer registers if requested to do so. Add support for XMM registers using PT_GETXMMREGS. (store_inferior_registers): Only store integer registers if requested to do so. Add support for XMM registers using PT_SETXMMREGS. * i386nbsd-nat.c (fetch_inferior_registers): Remove. (store_inferior_registers): Remove. (fetch_core_registers): Use supply_gregset and i387_supply_fsave. (fetch_elfcore_registers): New function. (i386nbsd_elfcore_fns): New. (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and i386bsd-nat.o. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. * config/i386/nbsdelf.mt (TDEPFILES): Likewise. * config/i386/tm-nbsd.h: Update copyright years. (HAVE_SSE_REGS): Define. (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. (SIGCONTEXT_PC_OFFSET): Remove. (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2002-01-05Remove obsolete MacOS support.Andrew Cagney1-0/+23
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney1-0/+19
2002-01-052002-01-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+5
* thread-db.c (thread_db_new_objfile): Do not enable thread_db for core files.
2002-01-04* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.Jason Thorpe1-0/+4
2002-01-04Move value_ptr typedef to gdbtk-wrapper from value.h.Andrew Cagney1-0/+4