gdb 11 doesn't work on impish/s390x: internal-error: displaced_step_prepare_status linux_displaced_step_prepare(gdbarch*, thread_info*, CORE_ADDR&): Assertion `gdbarch_data->num_disp_step_buffers > 0' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb |
Fix Released
|
Medium
|
|||
gdb (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
gdb doesn't work on impish/s390x at the minute. Even if you say 'no' to both questions you still can't debug:
ubuntu@
GNU gdb (Ubuntu 11.0.50.
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ls...
(No debugging symbols found in ls)
(gdb) run
Starting program: /usr/bin/ls
/build/
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n
This is a bug, please report it. For instructions, see:
<https:/
/build/
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Command aborted.
(gdb)
Changed in gdb: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
summary: |
- gdb 11 doesn't work on impish: internal-error: + gdb 11 doesn't work on impish/s390x: internal-error: displaced_step_prepare_status linux_displaced_step_prepare(gdbarch*, thread_info*, CORE_ADDR&): Assertion `gdbarch_data->num_disp_step_buffers > 0' failed. |
Changed in gdb: | |
status: | Confirmed → Fix Released |
seen with the trunk 20210630, and the gdb-12 branch 20210705 on s390x-linux-gnu:
$ gdb /bin/ls 20210705- 0ubuntu1) 11.0.90. 20210705- git gnu.org/ licenses/ gpl.html> /www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
GNU gdb (Ubuntu 11.0.90.
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help". tmp/gdb- 11.0.90. 20210705/ gdb/linux- tdep.c: 2550: internal-error: displaced_ step_prepare_ status linux_displaced _step_prepare( gdbarch* , thread_info*, CORE_ADDR&): Assertion `gdbarch_ data->num_ disp_step_ buffers > 0' failed.
Type "apropos word" to search for commands related to "word"...
Reading symbols from /bin/ls...
(No debugging symbols found in /bin/ls)
(gdb) run
Starting program: /usr/bin/ls
/home/ubuntu/
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Command aborted.
(gdb)