aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2006-01-04 19:34:58 +0000
committerMichael Snyder <msnyder@vmware.com>2006-01-04 19:34:58 +0000
commitac264b3b9cf16064cea9011faf07ec61babb0ef8 (patch)
tree02269be136dcba8affaec7ce4be33ba4c35ff827 /gdb/config/powerpc
parent5c95884b4cb77d6a902ade2f566eb71f9a322dd0 (diff)
downloadgdb-ac264b3b9cf16064cea9011faf07ec61babb0ef8.zip
gdb-ac264b3b9cf16064cea9011faf07ec61babb0ef8.tar.gz
gdb-ac264b3b9cf16064cea9011faf07ec61babb0ef8.tar.bz2
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/powerpc')
-rw-r--r--gdb/config/powerpc/linux.mh2
-rw-r--r--gdb/config/powerpc/ppc64-linux.mh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/powerpc/linux.mh b/gdb/config/powerpc/linux.mh
index 8b3cbbb..9a6a2a4 100644
--- a/gdb/config/powerpc/linux.mh
+++ b/gdb/config/powerpc/linux.mh
@@ -5,6 +5,6 @@ XM_CLIBS=
NAT_FILE= nm-linux.h
NATDEPFILES= inf-ptrace.o fork-child.o \
ppc-linux-nat.o proc-service.o linux-thread-db.o \
- gcore.o linux-nat.o
+ gcore.o linux-nat.o linux-fork.o
LOADLIBES = -ldl -rdynamic
diff --git a/gdb/config/powerpc/ppc64-linux.mh b/gdb/config/powerpc/ppc64-linux.mh
index 0a4a4ab..6cee590 100644
--- a/gdb/config/powerpc/ppc64-linux.mh
+++ b/gdb/config/powerpc/ppc64-linux.mh
@@ -5,7 +5,7 @@ XM_CLIBS=
NAT_FILE= nm-ppc64-linux.h
NATDEPFILES= inf-ptrace.o fork-child.o \
ppc-linux-nat.o proc-service.o linux-thread-db.o \
- gcore.o linux-nat.o
+ gcore.o linux-nat.o linux-fork.o
# The PowerPC has severe limitations on TOC size, and uses them even
# for non-PIC code. GDB overflows those tables when compiling with