old-cross-binutils/gdb/config/i386
Michael Snyder be4d133316 2002-01-03 Michael Snyder <msnyder@redhat.com>
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 00:37:02 +00:00
..
cygwin.mh * win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied 2000-08-27 04:21:35 +00:00
cygwin.mt
embed.mt Zap config/i386/tm-embed.h. 2001-11-18 21:28:20 +00:00
fbsd.mh * config/i386/xm-i386.h: New file. 2001-07-31 19:22:57 +00:00
fbsd.mt * i386bsd-nat.c: Include <signal.h>, <stddef.h> and 2001-07-13 18:27:21 +00:00
gdbserve.mt
go32.mh * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h, 2001-03-22 09:35:19 +00:00
go32.mt
i386aix.mh
i386aix.mt
i386aout.mt
i386bsd.mh
i386bsd.mt
i386dgux.mh Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
i386gnu.mh * i386gnu-nat.c: Include "i387-nat.h". 2001-07-22 20:35:14 +00:00
i386gnu.mt * i386gnu-nat.c: Include "i387-nat.h". 2001-07-22 20:35:14 +00:00
i386lynx.mh
i386lynx.mt
i386m3.mh
i386m3.mt
i386mach.mh
i386mk.mh
i386mk.mt
i386nw.mt
i386os9k.mt
i386sco.mh
i386sco4.mh
i386sco5.mh Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
i386sco5.mt
i386sol2.mh * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve 2000-10-09 19:40:37 +00:00
i386sol2.mt Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
i386v.mh
i386v.mt
i386v4.mh Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
i386v4.mt
i386v32.mh
i386v42mp.mh Fix ``make'' problems when building cross debugger. 2001-03-20 02:37:55 +00:00
i386v42mp.mt
linux.mh 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
linux.mt Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
nbsd.mh * acconfig.h (HAVE_PT_GETXMMREGS): New. 2002-01-05 18:36:32 +00:00
nbsd.mt * acconfig.h (HAVE_PT_GETXMMREGS): New. 2002-01-05 18:36:32 +00:00
nbsdelf.mh * acconfig.h (HAVE_PT_GETXMMREGS): New. 2002-01-05 18:36:32 +00:00
nbsdelf.mt * acconfig.h (HAVE_PT_GETXMMREGS): New. 2002-01-05 18:36:32 +00:00
ncr3000.mh
ncr3000.mt Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
nm-fbsd.h * i386bsd-nat.c: Do not include <sys/sysctl.h>. 2001-07-21 20:16:44 +00:00
nm-gnu.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-go32.h * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h, 2001-03-22 09:35:19 +00:00
nm-i386.h * config/i386/nm-i386.h: Fix formatting and change reference to 2001-03-23 16:17:45 +00:00
nm-i386aix.h
nm-i386bsd.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-i386lynx.h
nm-i386mach.h Include regcache.h 2001-03-14 23:23:16 +00:00
nm-i386sco.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-i386sco4.h
nm-i386sco5.h
nm-i386sol2.h Phase 1 of the ptid_t changes. 2001-05-04 04:15:33 +00:00
nm-i386v.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-i386v4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-i386v42mp.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-linux.h * config/nm-linux.h (struct objfile): Remove forward declaration. 2001-10-14 20:42:07 +00:00
nm-m3.h
nm-nbsd.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-nbsdelf.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-obsd.h Add x86 OpenBSD native configuration. 2001-11-23 23:01:54 +00:00
nm-ptx4.h Phase 1 of the ptid_t changes. 2001-05-04 04:15:33 +00:00
nm-symmetry.h Phase 1 of the ptid_t changes. 2001-05-04 04:15:33 +00:00
nm-x86-64.h * config/i386/x86-64linux.mh: New file. 2001-09-21 12:19:15 +00:00
obsd.mh Add x86 OpenBSD native configuration. 2001-11-23 23:01:54 +00:00
obsd.mt Add x86 OpenBSD native configuration. 2001-11-23 23:01:54 +00:00
ptx.mh
ptx.mt
ptx4.mh Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
ptx4.mt
symmetry.mh
symmetry.mt
tm-cygwin.h * config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if 2001-11-27 05:15:58 +00:00
tm-fbsd.h * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, 2001-07-28 17:03:38 +00:00
tm-go32.h * i386-tdep.c (i386go32_frame_saved_pc): New function. 2001-12-02 18:29:08 +00:00
tm-i386.h * config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM, 2001-12-27 15:22:27 +00:00
tm-i386aix.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386bsd.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386gnu.h * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, 2001-07-28 17:03:38 +00:00
tm-i386lynx.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386m3.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386mk.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386nw.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386os9k.h * config/i386/tm-i386.h (REGISTER_NAMES): Remove. 2001-10-31 22:24:06 +00:00
tm-i386sco5.h Phase 1 of the ptid_t changes. 2001-05-04 04:15:33 +00:00
tm-i386sol2.h * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call 2001-07-30 21:45:26 +00:00
tm-i386v.h * config/i386/tm-i386v.h: Don't include "regcache.h". 2001-10-29 23:54:56 +00:00
tm-i386v4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-i386v42mp.h Redefine ptid_t to be a struct rather than an int. 2001-05-15 00:03:38 +00:00
tm-linux.h * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in 2001-11-08 00:03:52 +00:00
tm-nbsd.h * acconfig.h (HAVE_PT_GETXMMREGS): New. 2002-01-05 18:36:32 +00:00
tm-nbsdelf.h
tm-obsd.h Add x86 OpenBSD native configuration. 2001-11-23 23:01:54 +00:00
tm-ptx.h * config/i386/tm-i386.h (REGISTER_NAMES): Remove. 2001-10-31 22:24:06 +00:00
tm-ptx4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-symmetry.h * config/i386/tm-i386.h (REGISTER_NAMES): Remove. 2001-10-31 22:24:06 +00:00
tm-vxworks.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
vxworks.mt
x86-64linux.mh 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
x86-64linux.mt * config/i386/x86-64linux.mh: New file. 2001-09-21 12:19:15 +00:00
xm-cygwin.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-go32.h * config/i386/xm-go32.h: Include xm-i386.h. 2001-08-02 15:18:15 +00:00
xm-i386.h * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed. 2001-08-30 21:53:47 +00:00
xm-i386aix.h * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h, 2001-08-24 12:19:59 +00:00
xm-i386bsd.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-i386gnu.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-i386lynx.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-i386m3.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-i386mach.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-i386mk.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
xm-i386sco.h * configure.in (AC_CHECK_FUNCS): Add setpggrp. 2001-07-23 19:21:57 +00:00
xm-i386v.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-i386v4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
xm-i386v32.h
xm-nbsd.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
xm-ptx.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-ptx4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
xm-symmetry.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-windows.h