This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 0/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 17 Sep 2014 23:47:05 +0100
- Subject: [PATCH v2 0/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"
- Authentication-results: sourceware.org; auth=none
Here's v2 of the patch originally sent at:
https://sourceware.org/ml/gdb-patches/2014-09/msg00562.html
In a nutshell, this is another step towards making all-stop / non-stop
closer in behavior. It fixes "breakpoint always-inserted off" to work
correctly in non-stop mode. As non-stop no longer needs to force
"breakpoint always-inserted on", the "breakpoint always-inserted auto"
mode becomes unnecessary, and thus this removes it.
v2:
- Split in 3 patches.
- Add test.
- Docs unchanged, and already approved by Eli.
Tested on x86_64 Fedora 20.
Pedro Alves (3):
Change parameter type of update_global_location_list from boolean to
enum
Tell update_global_location_list to insert breakpoints
Fix "breakpoint always-inserted off"; remove "breakpoint
always-inserted auto"
gdb/NEWS | 7 +
gdb/breakpoint.c | 241 +++++++++++++---------
gdb/breakpoint.h | 2 +-
gdb/doc/gdb.texinfo | 13 +-
gdb/infrun.c | 5 +-
gdb/remote.c | 5 +-
gdb/testsuite/gdb.threads/break-while-running.c | 51 +++++
gdb/testsuite/gdb.threads/break-while-running.exp | 87 ++++++++
8 files changed, 297 insertions(+), 114 deletions(-)
create mode 100644 gdb/testsuite/gdb.threads/break-while-running.c
create mode 100644 gdb/testsuite/gdb.threads/break-while-running.exp
--
1.9.3