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/20143] ARM (rPi2): Debugging "top" fails: /build/gdb-nrlhe3/gdb-7.7.1+dfsg/gdb/frame.c:472: internal-error: get_frame_id: Assertion `fi->this_id.p' failed


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

--- Comment #1 from Arnout <arre_diels at hotmail dot com> ---
By the way, this is also sort of a regression.

On the old debian on rpi, I don't see the assertions. However, there, if you do
stepi too many times, gdb is stuck, and cannot continue the program execution
anymore:


pi@raspberrypi ~ $ gdb /usr/bin/top
GNU gdb (GDB) 7.4.1-debian <================ Old version for reference
Copyright (C) 2012 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 "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/top...(no debugging symbols found)...done.
(gdb)

(gdb) run > /dev/null
Starting program: /usr/bin/top > /dev/null

Program received signal SIGINT, Interrupt.
0x76eb8d50 in select () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) stepi
0x76eb8d54 in select () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) stepi
0x76eb8d58 in select () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) stepi
Cannot access memory at address 0xe
(gdb) stepi
0x76eb8d60 in select () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) stepi
Cannot access memory at address 0xe
(gdb) stepi
Cannot access memory at address 0xe
(gdb) c    <========================== At this point, even continue fails!
Continuing.
Cannot access memory at address 0xe
(gdb)

-- 
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]