Skip to content

Instantly share code, notes, and snippets.

@Arnold1
Created June 1, 2015 21:02
Show Gist options
  • Save Arnold1/17fa3d433994b3a38ea9 to your computer and use it in GitHub Desktop.
Save Arnold1/17fa3d433994b3a38ea9 to your computer and use it in GitHub Desktop.
gdb rust_blink
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from rust_blink...done.
(gdb) break main
Breakpoint 1 at 0x4434
(gdb) start
Temporary breakpoint 2 at 0x4434
Starting program: /home/rust_blink
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Breakpoint 1, 0x2a004434 in main ()
(gdb) s
Single stepping until exit from function main,
which has no line number information.
0x2a00ddd0 in rt::lang_start::h22ceb5524653f1ee6mw ()
(gdb) s
Single stepping until exit from function _ZN2rt10lang_start20h22ceb5524653f1ee6mwE,
which has no line number information.
record_sp_limit () at /home/redpitaya/rust/src/rt/arch/arm/record_sp.S:25
25 /home/redpitaya/rust/src/rt/arch/arm/record_sp.S: No such file or directory.
(gdb) s
26 in /home/redpitaya/rust/src/rt/arch/arm/record_sp.S
(gdb) s
28 in /home/redpitaya/rust/src/rt/arch/arm/record_sp.S
(gdb) s
29 in /home/redpitaya/rust/src/rt/arch/arm/record_sp.S
(gdb) s
34 in /home/redpitaya/rust/src/rt/arch/arm/record_sp.S
(gdb) s
37 in /home/redpitaya/rust/src/rt/arch/arm/record_sp.S
(gdb) s
38 in /home/redpitaya/rust/src/rt/arch/arm/record_sp.S
(gdb) s
0x2a00de50 in rt::lang_start::h22ceb5524653f1ee6mw ()
(gdb) s
Single stepping until exit from function _ZN2rt10lang_start20h22ceb5524653f1ee6mwE,
which has no line number information.
s
s
Program received signal SIGBUS, Bus error.
0x36f524a0 in memset () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) s
Single stepping until exit from function memset,
which has no line number information.
0x36f1de84 in ssignal () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) s
Single stepping until exit from function ssignal,
which has no line number information.
0x2a00b054 in sys::stack_overflow::imp::signal_handler::hccc68ea01534bf99AWu
()
(gdb) s
Single stepping until exit from function _ZN3sys14stack_overflow3imp14signal_handler20hccc68ea01534bf99AWuE,
which has no line number information.
Program received signal SIGILL, Illegal instruction.
0x2a00b05c in sys::stack_overflow::imp::signal_handler::hccc68ea01534bf99AWu
()
(gdb) s
Single stepping until exit from function _ZN3sys14stack_overflow3imp14signal_handler20hccc68ea01534bf99AWuE,
which has no line number information.
Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment