aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-10Add myself as ARM sim maintainerNick Clifton2-0/+6
2002-01-10Fix parameters passed to CPRead[13] and CPRead[14].Nick Clifton4-423/+478
2002-01-10 * completer.c (command_completer): New function.Eli Zaretskii4-1/+21
* 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 Merrill3-1/+8
2002-01-10*** empty log message ***gdbadmin1-1/+1
2002-01-09daily updateAlan Modra1-1/+1
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+6
* i386-linux-nat.c (fill_fpxregset): Make global. (store_fpxregset): Ditto.
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+19
* gregset.h (gdb_fpxregset_t): Define. (supply_fpxregset): Prototype. (fill_fpxregset): Prototype.
2002-01-09include/elf:Jason Thorpe6-17/+47
* common.h: Update copyright years. (NT_NETBSDCORE_PROCINFO): Define. (NT_NETBSDCORE_FIRSTMACH): Define. bfd: * elf.c: Update copyright years. (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH. Improve a comment. bintuils: * readelf.c (get_netbsd_elfcore_note_type): Use NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-26/+5
* 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 Earnshaw4-3/+9
* 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 Cagney2-5/+14
2002-01-09Fix formatting of ChangeLog entry in previous commit.Richard Earnshaw1-2/+2
2002-01-09MAINTAINERS (write-after-approval): Add myself.Richard Earnshaw3-1/+9
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to IN_SIGTRAMP.
2002-01-09* readelf.c: Update copyright years.Jason Thorpe2-4/+91
(get_note_type): Return a const char *. (get_netbsd_elfcore_note_type): New function. (process_note): Use get_netbsd_elfcore_note_type to get the note type string for NetBSD ELF core files.
2002-01-09* gas/arm/float.s: Don't use VFP register names in fpa instructions.Richard Earnshaw2-11/+15
2002-01-09General format tidy upsNick Clifton2-45/+51
2002-01-09Fix bug detected by GDB testsuite - when fetching registers more than 4Nick Clifton2-5/+19
bytes wide return 0 for the other bytes.
2002-01-092002-01-08 H.J. Lu <hjl@gnu.org>H.J. Lu4-16/+60
* gas/mips/elf-rel.s: New tests for nested (). * gas/mips/elf-rel.d: Modified for nested () tests. * gas/mips/elfel-rel.d: Likewise.
2002-01-092002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+17
* 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-08 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+464
* gdb.base/gcore.exp: New test for generate-core-file command. * gdb.base/gcore.c: Testcase for above. * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2002-01-092002-01-03 Michael Snyder <msnyder@redhat.com>Michael Snyder20-59/+1148
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-09*** empty log message ***gdbadmin1-1/+1
2002-01-08daily updateAlan Modra1-1/+1
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-12/+17
* 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 Snyder13-11/+67
* 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-08Fix typo.Michael Snyder1-1/+1
2002-01-082002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+161
Add capability to write corefile note sections, for gdb. * elf.c (elfcore_write_note): New function. (elfcore_write_prpsinfo): New function. (elfcore_write_prstatus): New function. (elfcore_write_pstatus): New function. (elfcore_write_prfpreg): New function. (elfcore_write_prxfpreg): New function. * elf-bfd.h: Add prototypes for above functions.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-16/+8
* 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-08* elf.c (elf_fake_sections): Propagate errors fromAlexandre Oliva2-3/+9
elf_backend_fake_section.
2002-01-08 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.Jason Merrill2-1/+7
2002-01-08* ldlang.c (walk_wild_section): Exclude object file if enclosingAlexandre Oliva2-1/+21
archive is excluded.
2002-01-082002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-0/+6
* win32-nat.c: Add i386-tdep.h dependency.
2002-01-08Approved by mec@shout.net.Fred Fish2-43/+29
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/overload.exp: Remove unconditional xfails for: print foo_instance1.overloadargs(1) print foo_instance1.overloadargs(1, 2) print foo_instance1.overloadargs(1, 2, 3) print foo_instance1.overloadargs(1, 2, 3, 4) print foo_instance1.overloadargs(1, 2, 3, 4, 5) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) print foo_instance1.overload1arg() print foo_instance1.overload1arg((char)arg2) print foo_instance1.overload1arg((signed char)arg3) print foo_instance1.overload1arg((unsigned char)arg4) print foo_instance1.overload1arg((int)arg7) print foo_instance1.overload1arg((unsigned int)arg8) print foo_instance1.overload1arg((float)arg11) print foo_instance1.overload1arg((double)arg12)
2002-01-08bfd:Jason Thorpe19-349/+474
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. (elf32-sh-nbsd.lo): New rule. * Makefile.in: Regenerate. * config.bfd (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. (bfd_elf32_shnbsd_vec): New vector. (bfd_elf32_shlnbsd_vec): New vector. * configure: Regenerate. * elf32-sh-nbsd.c: New file. * targets.c: Update copyright years. (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and bfd_elf32_shnbsd_vec. gas: * configure.in (sh*le): Set cpu_type=sh and endian=little. (sh*-*-netbsdelf*): New target. * configure: Regenerate. * tc-sh.h: Update copyright years. (TARGET_FORMAT): Add version for TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. (eshelf_nbsd.c): New rule. (eshlelf_nbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. * ld/emulparams/shelf_nbsd.sh: New emulation. * ld/emulparams/shlelf_nbsd.sh: New emulation.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder6-0/+12
* 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
* 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-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+10
* 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 Snyder2-3/+5
* thread-db.c (thread_db_new_objfile): Indendation fix.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+84
* gdb.base/huge.exp: New test. Print a very large target data object. (skip_huge_test): New test variable. Define if you want to skip this test. The test reads an 8 megabyte data object from the target, so it might be very time consuming on remote targets with a slow connection. * gdb.base/huge.c: New file. Test case for above.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder5-6/+44
* 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-08* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.Aldy Hernandez2-1/+5
2002-01-08*** empty log message ***gdbadmin1-1/+1
2002-01-07daily updateAlan Modra1-1/+1
2002-01-07Approved by med@shout.net:Fred Fish2-7/+6
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo, g_instance.bfoo, and g_instance.cfoo.
2002-01-072002-01-07 Jackie Smith Cashion <jsmith@redhat.com>Jackie Smith Cashion2-1/+6
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 Snyder2-1/+11
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't use exec_bfd if it's NULL.
2002-01-072002-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* Change reference to Cygnus Solutions to be Red Hat.
2002-01-072002-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* COPYING.NEWLIB: Update generic copyright date.
2002-01-07 * gdb.base/break.c (multi_line_if_conditional): New function.Jeff Law3-1/+51
(multi_ilne_while_conditional): Likewise. * gdb.base/break.exp: Verify that a breakpoint on a multi-line IF or WHILE condition puts the breakpoint at the start of the condition.