This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]