binutils-gdb/gdb/config
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
..
a29k * MAINTAINERS: Mark a29k target as obsolete. 2002-01-06 15:02:01 +00:00
alpha 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
arc
arm 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
cris 2001-12-21 Orjan Friberg <orjanf@axis.com> 2001-12-21 09:53:58 +00:00
d10v
d30v s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
djgpp * config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files. 2001-12-14 09:27:42 +00:00
fr30 s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
h8300 s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
h8500 s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
i386 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
i960 LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
ia64 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
m32r s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
m68hc11
m68k 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
m88k s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
mcore LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
mips 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
mn10200 LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
mn10300 * config/mn10300/mn10300.mt (TM_FILE): Delete. 2001-08-12 03:39:11 +00:00
none
ns32k LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
pa s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
powerpc 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
romp Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
rs6000 Conditionally include solib.h. 2001-12-16 00:59:58 +00:00
s390 * config/s390/s390.mh: Don't use the linux-thread.o module; 2001-12-08 19:17:17 +00:00
sh LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
sparc 2002-01-03 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:02 +00:00
v850 LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
vax Don't include <endian.h> 2002-01-05 22:06:38 +00:00
xstormy16 * Makefile.in: Add support for xstormy16. 2001-12-13 13:34:41 +00:00
z8k s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
nm-gnu.h
nm-linux.h 2002-01-07 Michael Snyder <msnyder@redhat.com> 2002-01-08 22:09:50 +00:00
nm-lynx.h
nm-m3.h
nm-nbsd.h
nm-sysv4.h
tm-linux.h
tm-lynx.h
tm-nbsd.h
tm-sunos.h
tm-sysv4.h
tm-vxworks.h
xm-aix4.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-lynx.h * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h, 2001-08-24 12:19:59 +00:00
xm-nbsd.h Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
xm-sysv4.h * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h, 2001-08-24 12:19:59 +00:00