GNU gdb (GDB) 126.96.36.19990716-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/keiths/tmp/exited...
(gdb) target remote | /usr/libexec/valgrind/../../bin/vgdb
Remote debugging using | /usr/libexec/valgrind/../../bin/vgdb
relaying data between gdb and process 24045
warning: remote target does not support file transfer, attempting to access
files from local filesystem.
Reading symbols from /lib64/ld-linux-x86-64.so.2...
(No debugging symbols found in /lib64/ld-linux-x86-64.so.2)
0x0000000004001110 in _start () from /lib64/ld-linux-x86-64.so.2
(gdb) b main
Breakpoint 1 at 0x401138: file exited.c, line 12.
Breakpoint 1, main () at exited.c:12
12 foo ();
foo () at exited.c:6
6 exit (0);
[Inferior 1 (Remote target) exited normally]
You can't do that without a process to debug.
../../src/gdb/inferior.c:291: internal-error: inferior* find_inferior_pid(int):
Assertion `pid != 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
I believe this is the same issue (different assertion) as rhbz#1729277.
You are receiving this mail because:
You are on the CC list for the bug.