public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Prevent combining 'task' and 'thread' keywords
@ 2023-02-08 15:16 Andrew Burgess
  2023-02-08 15:16 ` [PATCH 1/2] gdb: only allow one of thread or task on breakpoints or watchpoints Andrew Burgess
  2023-02-08 15:16 ` [PATCH 2/2] gdb: use -1 for breakpoint::task default value Andrew Burgess
  0 siblings, 2 replies; 10+ messages in thread
From: Andrew Burgess @ 2023-02-08 15:16 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

Inspired by a recent conversation about the expected behaviour of the
'thread' and 'task' keywords when combined together, this series
prohibits such combinations.  And then does a related code cleanup.

---

Andrew Burgess (2):
  gdb: only allow one of thread or task on breakpoints or watchpoints
  gdb: use -1 for breakpoint::task default value

 gdb/NEWS                        |  6 +++
 gdb/breakpoint.c                | 56 ++++++++++++++++------
 gdb/breakpoint.h                | 14 +++++-
 gdb/guile/scm-breakpoint.c      | 14 +++++-
 gdb/python/py-breakpoint.c      | 18 ++++++-
 gdb/testsuite/gdb.ada/tasks.exp | 85 +++++++++++++++++++++++++++++++--
 6 files changed, 169 insertions(+), 24 deletions(-)


base-commit: 1947a4a4bb7651a4656edceb1f9b246f96f89ebd
-- 
2.25.4


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

end of thread, other threads:[~2023-02-13 11:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 15:16 [PATCH 0/2] Prevent combining 'task' and 'thread' keywords Andrew Burgess
2023-02-08 15:16 ` [PATCH 1/2] gdb: only allow one of thread or task on breakpoints or watchpoints Andrew Burgess
2023-02-08 15:52   ` Eli Zaretskii
2023-02-08 18:10   ` Pedro Alves
2023-02-12  5:50     ` Andrew Burgess
2023-02-12 22:58       ` Tom Tromey
2023-02-13 11:26         ` Andrew Burgess
2023-02-08 15:16 ` [PATCH 2/2] gdb: use -1 for breakpoint::task default value Andrew Burgess
2023-02-08 18:10   ` Pedro Alves
2023-02-12  7:23     ` Andrew Burgess

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