public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"
@ 2014-09-17 22:47 Pedro Alves
  2014-09-17 22:47 ` [PATCH v2 1/3] Change parameter type of update_global_location_list from boolean to enum Pedro Alves
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Pedro Alves @ 2014-09-17 22:47 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-09-25 15:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17 22:47 [PATCH v2 0/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto" Pedro Alves
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 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
2014-09-17 22:47 ` [PATCH v2 2/3] Tell update_global_location_list to insert breakpoints Pedro Alves

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).