summaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2006-01-04 19:34:58 +0000
committerMichael Snyder <msnyder@specifix.com>2006-01-04 19:34:58 +0000
commite569df3823bbecc007b21a905875f83ff35c0a01 (patch)
tree73e14ab526d1602fca7eb4087803c61f17e3cb4e /gdb/NEWS
parente3e0c8921135358fc6a18191362775c5b762b07b (diff)
downloadgdb-e569df3823bbecc007b21a905875f83ff35c0a01.tar.gz
2006-01-04 Michael Snyder <msnyder@redhat.com>
Checkpoint/Restart for Linux. * linux-nat.c: Add support for debugging multiple forks. Add #include for linux-fork.h (interface spec). (super_mourn_inferior): New function pointer. (child_mourn_inferior): New function / target method. (linux_target): Claim to_mourn_inferior method pointer. (child_follow_fork): Call interface to linux-fork, conditionally add new fork processes to list of debugged processes. (kill_inferior): Use interface to linux-fork to kill multiple processes. * linux-fork.h: New file. * linux-fork.c: New file. Support for debugging multiple forks of the same program. Support for checkpoint and restart commands. * infrun.c (nullify_last_target_wait_ptid): New function. * Makefile.in: Add linux-fork. * config/*/linux.mh: Add linux-fork. * NEWS: Mention new functionality.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS29
1 files changed, 29 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index c882cb32ab4..aa1b9139bdb 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -8,6 +8,35 @@
init-if-undefined Initialize a convenience variable, but
only if it doesn't already have a value.
+The following commands are presently only implemented for native GNU/Linux:
+
+checkpoint Save a snapshot of the program state.
+
+restart <n> Return the program state to a
+ previously saved state.
+
+info checkpoints List currently saved checkpoints.
+
+delete-checkpoint <n> Delete a previously saved checkpoint.
+
+set|show detach-on-fork Tell gdb whether to detach from a newly
+ forked process, or to keep debugging it.
+
+info forks List forks of the user program that
+ are available to be debugged.
+
+fork <n> Switch to debugging one of several
+ forks of the user program that are
+ available to be debugged.
+
+delete-fork <n> Delete a fork from the list of forks
+ that are available to be debugged (and
+ kill the forked process).
+
+detach-fork <n> Delete a fork from the list of forks
+ that are available to be debugged (and
+ allow the process to continue).
+
* New architecture
Morpho Technologies ms2 ms1-elf