public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/10523] New: "commands" after "rbreak" should apply to all newly set breakpoints
@ 2009-08-14 14:16 mnemo at minimum dot se
2009-08-14 16:41 ` [Bug gdb/10523] " tromey at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mnemo at minimum dot se @ 2009-08-14 14:16 UTC (permalink / raw)
To: gdb-prs
Currently, if you set 10 breakpoints using "rbreak SomeClass::*" and then
subsequently type "commands" to do like "bt 1", "c", "end" or similar.... then,
what happens is that the commands only get setup on the _last_ BP which is both
unintuitive and not very useful. I can't think of any use case when this is the
desired effect.
--
Summary: "commands" after "rbreak" should apply to all newly set
breakpoints
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: mnemo at minimum dot se
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10523
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/10523] "commands" after "rbreak" should apply to all newly set breakpoints
2009-08-14 14:16 [Bug gdb/10523] New: "commands" after "rbreak" should apply to all newly set breakpoints mnemo at minimum dot se
@ 2009-08-14 16:41 ` tromey at redhat dot com
2009-08-14 16:42 ` tromey at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2009-08-14 16:41 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2009-08-14 16:41 -------
See also PR 9523. Though arguably this one is different in that
perhaps rbreak should make a single breakpoint with many locations (?).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2009-08-14 16:41:00
date| |
http://sourceware.org/bugzilla/show_bug.cgi?id=10523
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/10523] "commands" after "rbreak" should apply to all newly set breakpoints
2009-08-14 14:16 [Bug gdb/10523] New: "commands" after "rbreak" should apply to all newly set breakpoints mnemo at minimum dot se
2009-08-14 16:41 ` [Bug gdb/10523] " tromey at redhat dot com
@ 2009-08-14 16:42 ` tromey at redhat dot com
2009-08-14 16:52 ` pedro at codesourcery dot com
2009-08-14 18:17 ` tromey at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2009-08-14 16:42 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2009-08-14 16:42 -------
Oops, I meant PR 9532.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10523
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/10523] "commands" after "rbreak" should apply to all newly set breakpoints
2009-08-14 14:16 [Bug gdb/10523] New: "commands" after "rbreak" should apply to all newly set breakpoints mnemo at minimum dot se
2009-08-14 16:41 ` [Bug gdb/10523] " tromey at redhat dot com
2009-08-14 16:42 ` tromey at redhat dot com
@ 2009-08-14 16:52 ` pedro at codesourcery dot com
2009-08-14 18:17 ` tromey at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: pedro at codesourcery dot com @ 2009-08-14 16:52 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pedro at codesourcery dot com 2009-08-14 16:52 -------
Subject: Re: "commands" after "rbreak" should apply to all newly set breakpoints
On Friday 14 August 2009 17:41:01, tromey at redhat dot com wrote:
> perhaps rbreak should make a single breakpoint with many locations (?).
By design, all locations of a multi-location breakpoint point at
the same file:lineno.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10523
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/10523] "commands" after "rbreak" should apply to all newly set breakpoints
2009-08-14 14:16 [Bug gdb/10523] New: "commands" after "rbreak" should apply to all newly set breakpoints mnemo at minimum dot se
` (2 preceding siblings ...)
2009-08-14 16:52 ` pedro at codesourcery dot com
@ 2009-08-14 18:17 ` tromey at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2009-08-14 18:17 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2009-08-14 18:17 -------
Thanks.
Closing as duplicate.
*** This bug has been marked as a duplicate of 9532 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://sourceware.org/bugzilla/show_bug.cgi?id=10523
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-14 18:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-14 14:16 [Bug gdb/10523] New: "commands" after "rbreak" should apply to all newly set breakpoints mnemo at minimum dot se
2009-08-14 16:41 ` [Bug gdb/10523] " tromey at redhat dot com
2009-08-14 16:42 ` tromey at redhat dot com
2009-08-14 16:52 ` pedro at codesourcery dot com
2009-08-14 18:17 ` tromey at redhat dot com
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).