From ac264b3b9cf16064cea9011faf07ec61babb0ef8 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 4 Jan 2006 19:34:58 +0000 Subject: 2006-01-04 Michael Snyder 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. --- gdb/config/m32r/linux.mh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/config/m32r/linux.mh') diff --git a/gdb/config/m32r/linux.mh b/gdb/config/m32r/linux.mh index 0986bab..0f94bd8 100644 --- a/gdb/config/m32r/linux.mh +++ b/gdb/config/m32r/linux.mh @@ -3,6 +3,6 @@ NAT_FILE= nm-linux.h NATDEPFILES= inf-ptrace.o fork-child.o corelow.o \ m32r-linux-nat.o gcore.o proc-service.o linux-thread-db.o \ - linux-nat.o + linux-nat.o linux-fork.o LOADLIBES= -ldl -rdynamic -- cgit v1.1