This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/20810] GDB crashes when single stepping through seabios code


https://sourceware.org/bugzilla/show_bug.cgi?id=20810

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #3 from Pedro Alves <palves at redhat dot com> ---
Pasting gdb.log to make it easier to see what this is about:

GNU gdb (GDB) 7.12.50.20161112-git
[...]
(gdb) target remote localhost:10000
Remote debugging using localhost:10000
warning: No executable has been specified and target does not support
determining executable automatically.  Try using the "file" command.
0x0000fff0 in ?? ()
(gdb) symbol-file rom.o
Reading symbols from rom.o...done.
(gdb) b *0x0000fff0
Breakpoint 1 at 0xfff0
(gdb) add-symbol-file rom.o 0x000d8de0
add symbol table from file "rom.o" at
        .text_addr = 0xd8de0
(y or n) y
Reading symbols from rom.o...done.
(gdb) si
0x0000e05b in ?? ()
(gdb) 
0x0000e062 in ?? ()
[...]
(gdb) 
0x000fff4c in ?? ()
(gdb) 
handle_post () at ./src/post.c:320

320     {
(gdb) 
0x000f2d2a      320     {
(gdb) 
325         debug_banner();
(gdb) 
debug_banner () at ./src/output.c:34
34          dprintf(1, "SeaBIOS (version %s)\n", VERSION);
(gdb) 
0x000ef849      34          dprintf(1, "SeaBIOS (version %s)\n", VERSION);
(gdb) 
0x000ef84e      34          dprintf(1, "SeaBIOS (version %s)\n", VERSION);
(gdb) 
__dprintf (fmt=<unavailable>) at ./src/output.c:356
356         bvprintf(&debuginfo, fmt, args);
(gdb) 
0x000ef835      356         bvprintf(&debuginfo, fmt, args);
(gdb) 
0x000ef839      356         bvprintf(&debuginfo, fmt, args);
(gdb) 
0x000ef83e      356         bvprintf(&debuginfo, fmt, args);
(gdb) 
bvprintf (action=0xf6058 <debuginfo>, fmt=0xf34fc <_rodata32flat+132> "SeaBIOS
(version %s)\n", 
    args=0x6fd4 "\300`\017") at ./src/output.c:218
218     {
(gdb) 
0x000ef15d      218     {
(gdb) 
0x000ef15e      218     {
(gdb) 
0x000ef15f      218     {
(gdb) 
0x000ef160      218     {
(gdb) 
0x000ef163      218     {
(gdb) 
0x000ef165      218     {
(gdb) 
221             char c = GET_GLOBAL(*(u8*)s);
(gdb) 
222             if (!c)
(gdb) 
0x000ef16c      222             if (!c)
(gdb) 
224             if (c != '%') {
(gdb) 
0x000ef175      224             if (c != '%') {
(gdb) 
0x000ef177      224             if (c != '%') {
(gdb) 
0x000ef17a      224             if (c != '%') {
(gdb) 
0x000ef35a      315                 putc(action, '%');
(gdb) 
0x000ef35c      315                 putc(action, '%');
(gdb) 
putc (action=0xf6058 <debuginfo>, c=83 'S') at ./src/output.c:115
115         func(action, c);
(gdb) 
0x000ed9b6      115         func(action, c);
(gdb) 
debug_putc (action=0xf6058 <debuginfo>, c=83 'S') at ./src/output.c:41
41      {
(gdb) 
inline-frame.c:171: internal-error: void inline_frame_this_id(frame_info*,
void**, frame_id*): Assertion `!frame_id_eq (*this_id, outer_frame_id)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]