Skip to content

Instantly share code, notes, and snippets.

@Arnold1
Created June 1, 2015 20:59
Show Gist options
  • Save Arnold1/8ce83b41ed5a5006551f to your computer and use it in GitHub Desktop.
Save Arnold1/8ce83b41ed5a5006551f 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) c
Continuing.
Program received signal SIGBUS, Bus error.
0x36f524a0 in memset () from /lib/arm-linux-gnueabihf/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment