public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/27020] New: Stepping over a breakpoint over an exec syscall crashes GDBserver
@ 2020-12-04 20:37 simark at simark dot ca
2023-03-28 20:22 ` [Bug server/27020] " vries at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: simark at simark dot ca @ 2020-12-04 20:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27020
Bug ID: 27020
Summary: Stepping over a breakpoint over an exec syscall
crashes GDBserver
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: simark at simark dot ca
Target Milestone: ---
Running the (soon to be merged, proposed here [1])
gdb.threads/step-over-exec.exp results in failures with the
native-extended-gdbserver board.
To reproduce manually, I run gdbserver with:
$ ../gdbserver/gdbserver --once :1235
./testsuite/outputs/gdb.threads/step-over-exec/step-over-exec-execr-thread-leader-diff-text-segs-false
and GDB with:
$ ./gdb -iex "set confirm off" -iex "set pagination off" -nx
--data-directory=data-directory
./testsuite/outputs/gdb.threads/step-over-exec/step-over-exec-execr-thread-leader-diff-text-segs-false
-ex "set sysroot /" -ex "tar ext :1235" -ex "b main" -ex c -ex "b
my_execve_syscall if 0" -ex c
GDBserver then prints:
Leader going in exec.
Exec-ing
./testsuite/outputs/gdb.threads/step-over-exec/step-over-exec-execr-thread-leader-diff-text-segs-false-execd
/home/smarchi/src/binutils-gdb/gdbserver/linux-low.cc:3665: A problem internal
to GDBserver has been detected.
ptid_t linux_process_target::wait_1(ptid_t, target_waitstatus*,
target_wait_flags): Assertion `step_over_bkpt == null_ptid' failed.
[1] https://sourceware.org/pipermail/gdb-patches/2020-December/173681.html
--
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 server/27020] Stepping over a breakpoint over an exec syscall crashes GDBserver
2020-12-04 20:37 [Bug server/27020] New: Stepping over a breakpoint over an exec syscall crashes GDBserver simark at simark dot ca
@ 2023-03-28 20:22 ` vries at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-28 20:22 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27020
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vries at gcc dot gnu.org
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
*** Bug 30222 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] 2+ messages in thread
end of thread, other threads:[~2023-03-28 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 20:37 [Bug server/27020] New: Stepping over a breakpoint over an exec syscall crashes GDBserver simark at simark dot ca
2023-03-28 20:22 ` [Bug server/27020] " vries at gcc dot gnu.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).