diff options
author | Tom de Vries <tdevries@suse.de> | 2024-01-10 11:27:34 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-01-10 11:27:34 +0100 |
commit | 83094d3de44846071cc2e3e42366ea782b3e4027 (patch) | |
tree | d10feb9093dbd48a21980dbcde833db2a3b42b93 /gprofng/src | |
parent | cdf2a0febd8a20ef74e782bdf4493536535d33a8 (diff) | |
download | binutils-83094d3de44846071cc2e3e42366ea782b3e4027.zip binutils-83094d3de44846071cc2e3e42366ea782b3e4027.tar.gz binutils-83094d3de44846071cc2e3e42366ea782b3e4027.tar.bz2 |
[gdb] Fix assertion failure for checkpoint delete 0
When doing "checkpoint delete 0" we run into an assertion failure:
...
+delete checkpoint 0
inferior.c:406: internal-error: find_inferior_pid: Assertion `pid != 0' failed.
...
Fix this by handling the "pptid == null_ptid" case in
delete_checkpoint_command.
Tested on x86_64-linux.
Approved-By: Kevin Buettner <kevinb@redhat.com>
PR gdb/31209
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31209
Diffstat (limited to 'gprofng/src')
0 files changed, 0 insertions, 0 deletions