Skip to content

Instantly share code, notes, and snippets.

@Nokius
Created April 11, 2015 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nokius/0cffc0f03fd606c0e169 to your computer and use it in GitHub Desktop.
Save Nokius/0cffc0f03fd606c0e169 to your computer and use it in GitHub Desktop.
sh-3.2# gdb test_sensors
sh-3.2# gdb test_sensors
GNU gdb (GDB) Mer (7.5.1+git3)
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 "armv7hl-meego-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/test_sensors...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/test_sensors
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0xb6dc2576 in ?? ()
(gdb) source
source command requires file name of file to source.
(gdb) source load_sym_files.py
(gdb) source /home/nemo/Downloads/load_sym_files.py
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/test_sensors
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0xb6dc2576 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment