public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug threads/22925] gdb assumes target can activate threads at will,  causes internal error in infrun.c in 'finish_step_over'
       [not found] <bug-22925-4717@http.sourceware.org/bugzilla/>
@ 2020-10-31 18:00 ` tromey at sourceware dot org
  2022-11-29 19:38 ` tromey at sourceware dot org
  1 sibling, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2020-10-31 18:00 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=22925

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
I'm a little confused on this one.

On the one hand -- the remote protocol doesn't have a way for
a target to explain that it isn't in control of scheduling.
This could be added, but only with some cooperation from gdb as well.

However in the example you did:

(gdb) b
(gdb) c

Doesn't that "b" set a breakpoint?
Then "continue" has to step off the breakpoint.
This is done by single-stepping, I suppose because
setting another breakpoint is difficult -- gdb or gdbserver
would have to decode instructions to find the next instruction.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug threads/22925] gdb assumes target can activate threads at will, causes internal error in infrun.c in 'finish_step_over'
       [not found] <bug-22925-4717@http.sourceware.org/bugzilla/>
  2020-10-31 18:00 ` [Bug threads/22925] gdb assumes target can activate threads at will, causes internal error in infrun.c in 'finish_step_over' tromey at sourceware dot org
@ 2022-11-29 19:38 ` tromey at sourceware dot org
  1 sibling, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-11-29 19:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=22925

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I think this is a dup.
The other bug mentions RISC-V, but if you read through it all
(it's had a lot of comments, some patches, and been closed and
reopened multiple times), in the end you'll see that the
underlying issues have to do with OpenOCD and stepping generically.

*** This bug has been marked as a duplicate of bug 26819 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2022-11-29 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22925-4717@http.sourceware.org/bugzilla/>
2020-10-31 18:00 ` [Bug threads/22925] gdb assumes target can activate threads at will, causes internal error in infrun.c in 'finish_step_over' tromey at sourceware dot org
2022-11-29 19:38 ` tromey at sourceware dot org

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