Discussion:
[Bug mi/23706] New: An argument to make -exec-jump not continue
malaperle at gmail dot com
2018-09-25 02:51:35 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23706

Bug ID: 23706
Summary: An argument to make -exec-jump not continue
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: mi
Assignee: unassigned at sourceware dot org
Reporter: malaperle at gmail dot com
Target Milestone: ---

-exec-jump sets the PC and continues. For a client that wants to jump to a line
and *not* continue, it has to:
1. insert a temporary bp
2. -exec-jump to a line
3. Stop at the breakpoint

Instead, it would be useful to be able to do -exec-jump without continuing and
not have to resort to a breakpoint. Of course, it would be possible to set the
PC register but this isn't as friendly for the case of jumping to a line and
not an address.
So I suggest something like "-exec-jump --stop". Other suggestions are welcome!
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...