From: Pedro Alves <palves@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 0/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"
Date: Wed, 17 Sep 2014 22:47:00 -0000 [thread overview]
Message-ID: <1410994028-24282-1-git-send-email-palves@redhat.com> (raw)
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
next reply other threads:[~2014-09-17 22:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 22:47 Pedro Alves [this message]
2014-09-17 22:47 ` [PATCH v2 1/3] Change parameter type of update_global_location_list from boolean to enum Pedro Alves
2014-09-17 22:47 ` [PATCH v2 2/3] Tell update_global_location_list to insert breakpoints Pedro Alves
2014-09-17 22:47 ` [PATCH v2 3/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto" Pedro Alves
2014-09-18 1:49 ` Yao Qi
2014-09-19 19:05 ` [PATCH v3 " Pedro Alves
2014-09-21 9:45 ` [PATCH v4 " Pedro Alves
2014-09-22 7:48 ` Yao Qi
2014-09-22 9:13 ` Pedro Alves
2014-09-23 8:31 ` Regression for gdb.mi/mi-nsintrall.exp [Re: [PATCH v4 3/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"] Jan Kratochvil
2014-09-23 16:27 ` Pedro Alves
2014-09-25 15:00 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410994028-24282-1-git-send-email-palves@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).