binutils-gdb/gdb/config/m68k
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
..
3b1.mh
3b1.mt
apollo68b.mh
apollo68b.mt
apollo68v.mh
cisco.mt
delta68.mh
delta68.mt
dpx2.mh
dpx2.mt
es1800.mt
hp300bsd.mh
hp300bsd.mt
hp300hpux.mh
hp300hpux.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
m68klynx.mh Set SER_HARDWIRE using autoconf instead of via XDEPFILES. Include 2000-06-12 06:09:06 +00:00
m68klynx.mt
m68kv4.mh Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
m68kv4.mt
monitor.mt
nbsd.mh Split SVR4/SunOS solib support. 2001-10-02 23:11:24 +00:00
nbsd.mt * ns32k-tdep.c: #include "frame.h" 2001-01-22 20:23:25 +00:00
nm-apollo68b.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-apollo68v.h
nm-delta68.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-dpx2.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-hp300bsd.h Phase 1 of the ptid_t changes. 2001-05-04 04:15:33 +00:00
nm-hp300hpux.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-linux.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
nm-m68klynx.h
nm-nbsd.h
nm-sun2.h
nm-sun3.h Include regcache.h 2001-03-14 23:23:16 +00:00
nm-sysv4.h
os68k.mt
st2000.mt
sun2os3.mh
sun2os3.mt
sun2os4.mh
sun2os4.mt Split SVR4/SunOS solib support. 2001-10-02 23:11:24 +00:00
sun3os3.mh
sun3os3.mt
sun3os4.mh
sun3os4.mt Split SVR4/SunOS solib support. 2001-10-02 23:11:24 +00:00
tm-3b1.h
tm-apollo68b.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-cisco.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-delta68.h Include regcache.h 2001-03-14 23:23:16 +00:00
tm-dpx2.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-es1800.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-hp300bsd.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-hp300hpux.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-linux.h Include regcache.h 2001-03-14 23:23:16 +00:00
tm-m68k.h s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
tm-m68klynx.h
tm-m68kv4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-mac.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-monitor.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-nbsd.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-os68k.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-st2000.h
tm-sun2.h
tm-sun2os4.h
tm-sun3.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
tm-sun3os4.h
tm-vx68.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
vxworks68.mt
xm-3b1.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-apollo68b.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-apollo68v.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-delta68.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-dpx2.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-hp300bsd.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-hp300hpux.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-linux.h * config/arm/xm-linux.h, config/ia64/xm-linux.h, 2001-09-08 10:39:54 +00:00
xm-m68k.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-m68klynx.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-m68kv4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
xm-nbsd.h
xm-sun2.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-sun3.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-sun3os4.h Update/correct copyright notices. 2001-03-06 08:22:02 +00:00