This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH/RFA] Add detach after breakpoint test to attach.exp
- From: Klee Dienes <klee at apple dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 13 Nov 2002 01:03:17 -0500
- Subject: [PATCH/RFA] Add detach after breakpoint test to attach.exp
In the Darwin GDB implementation, we treat Mach exceptions using a
somewhat different code path than we do signals. So it's possible for
GDB to be able to attach and detach properly via the ptrace mechanism,
but not be able to detach properly after just hitting a breakpoint.
The following patch adds a test for this code path; I suspect it would
be applicable to any Mach-based or similar system.
2002-11-10 Klee Dienes <kdienes@apple.com>
* gdb.base/attach.exp: Add tests to check the ability of GDB to
detach from a process after being stopped at a breakpoint (as
distinct from having stopped at a signal, or from having just
attached).
Attachment:
attach-diffs.txt
Description: Text document