public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
[not found] <bug-10852-4717@http.sourceware.org/bugzilla/>
@ 2012-05-10 23:07 ` ppluzhnikov at google dot com
2020-10-31 17:47 ` tromey at sourceware dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: ppluzhnikov at google dot com @ 2012-05-10 23:07 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=10852
--- Comment #3 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-05-10 23:06:39 UTC ---
Over on stackoverflow, someone suggested a workaround:
http://stackoverflow.com/a/10529068/50617
A 2nd work around that doesn't require python appears to be defining a new gdb
command and running that in commands:
define foo
print *i
set $addrOfI = i
finish
print *$addrOfI
end
break doSomething
commands
foo
end
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
[not found] <bug-10852-4717@http.sourceware.org/bugzilla/>
2012-05-10 23:07 ` [Bug breakpoints/10852] command sequences interrupted unexpectedly ppluzhnikov at google dot com
@ 2020-10-31 17:47 ` tromey at sourceware dot org
2020-10-31 17:49 ` tromey at sourceware dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: tromey at sourceware dot org @ 2020-10-31 17:47 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=10852
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I'm fairly surprised that the workaround works.
On the one hand, if it works and doesn't cause problems,
then maybe we can fix the original bug. However I thought
fixing the bug was problematic, though I don't recall the
details.
I came here to mention another idea, which is to add new
commands so that scripts could add continuations, like:
commands 5
print i
after finish
print i
end
end
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
[not found] <bug-10852-4717@http.sourceware.org/bugzilla/>
2012-05-10 23:07 ` [Bug breakpoints/10852] command sequences interrupted unexpectedly ppluzhnikov at google dot com
2020-10-31 17:47 ` tromey at sourceware dot org
@ 2020-10-31 17:49 ` tromey at sourceware dot org
2023-10-27 18:31 ` ratmice at gmail dot com
2023-10-27 21:45 ` g_sauthoff at web dot de
4 siblings, 0 replies; 7+ messages in thread
From: tromey at sourceware dot org @ 2020-10-31 17:49 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=10852
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrewg at felinemenace dot org
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
*** Bug 8965 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
[not found] <bug-10852-4717@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2020-10-31 17:49 ` tromey at sourceware dot org
@ 2023-10-27 18:31 ` ratmice at gmail dot com
2023-10-27 21:45 ` g_sauthoff at web dot de
4 siblings, 0 replies; 7+ messages in thread
From: ratmice at gmail dot com @ 2023-10-27 18:31 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=10852
matt rice <ratmice at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ratmice at gmail dot com
--- Comment #6 from matt rice <ratmice at gmail dot com> ---
I'd posted that workaround on SO, I believe it only works in a subset of
situations,
consider the case where `finish` ends up hitting another breakpoint itself with
commands.
That is I believe it will only work in cases which don't involve any reentrancy
which in practice turns out to be most common.
It is also perhaps worth mentioning python `FinishBreakpoint`s here as someone
running into this issue might be able to see if those run into the same issue
or not (I haven't looked).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
[not found] <bug-10852-4717@http.sourceware.org/bugzilla/>
` (3 preceding siblings ...)
2023-10-27 18:31 ` ratmice at gmail dot com
@ 2023-10-27 21:45 ` g_sauthoff at web dot de
4 siblings, 0 replies; 7+ messages in thread
From: g_sauthoff at web dot de @ 2023-10-27 21:45 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=10852
abandoned account please delete <g_sauthoff at web dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|g_sauthoff at web dot de |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
2009-10-26 19:08 [Bug breakpoints/10852] New: " ppluzhnikov at google dot com
2009-10-31 17:55 ` [Bug breakpoints/10852] " ppluzhnikov at google dot com
@ 2010-02-26 3:08 ` tyl dot ero dot d dot erkirk at gmail dot com
1 sibling, 0 replies; 7+ messages in thread
From: tyl dot ero dot d dot erkirk at gmail dot com @ 2010-02-26 3:08 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tyl dot ero dot d dot erkirk at gmail dot com 2010-02-26 03:08 -------
*** Bug 11285 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |g_sauthoff at web dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=10852
------- 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] 7+ messages in thread
* [Bug breakpoints/10852] command sequences interrupted unexpectedly
2009-10-26 19:08 [Bug breakpoints/10852] New: " ppluzhnikov at google dot com
@ 2009-10-31 17:55 ` ppluzhnikov at google dot com
2010-02-26 3:08 ` tyl dot ero dot d dot erkirk at gmail dot com
1 sibling, 0 replies; 7+ messages in thread
From: ppluzhnikov at google dot com @ 2009-10-31 17:55 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From ppluzhnikov at google dot com 2009-10-31 17:55 -------
PR10227 is possibly related.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
http://sourceware.org/bugzilla/show_bug.cgi?id=10852
------- 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] 7+ messages in thread
end of thread, other threads:[~2023-10-27 21:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-10852-4717@http.sourceware.org/bugzilla/>
2012-05-10 23:07 ` [Bug breakpoints/10852] command sequences interrupted unexpectedly ppluzhnikov at google dot com
2020-10-31 17:47 ` tromey at sourceware dot org
2020-10-31 17:49 ` tromey at sourceware dot org
2023-10-27 18:31 ` ratmice at gmail dot com
2023-10-27 21:45 ` g_sauthoff at web dot de
2009-10-26 19:08 [Bug breakpoints/10852] New: " ppluzhnikov at google dot com
2009-10-31 17:55 ` [Bug breakpoints/10852] " ppluzhnikov at google dot com
2010-02-26 3:08 ` tyl dot ero dot d dot erkirk at gmail 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).