diff options
author | Michael Snyder <msnyder@specifix.com> | 2006-01-04 19:34:58 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2006-01-04 19:34:58 +0000 |
commit | e569df3823bbecc007b21a905875f83ff35c0a01 (patch) | |
tree | 73e14ab526d1602fca7eb4087803c61f17e3cb4e /gdb/config/pa | |
parent | e3e0c8921135358fc6a18191362775c5b762b07b (diff) | |
download | gdb-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/config/pa')
-rw-r--r-- | gdb/config/pa/linux.mh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/pa/linux.mh b/gdb/config/pa/linux.mh index 59b4c58d2bd..b0362e49cc1 100644 --- a/gdb/config/pa/linux.mh +++ b/gdb/config/pa/linux.mh @@ -3,6 +3,6 @@ XDEPFILES= NAT_FILE= nm-linux.h NATDEPFILES= inf-ptrace.o fork-child.o corelow.o gcore.o \ core-regset.o hppa-linux-nat.o \ - proc-service.o linux-thread-db.o linux-nat.o + proc-service.o linux-thread-db.o linux-nat.o linux-fork.o LOADLIBES = -ldl -rdynamic |