Skip to content

Instantly share code, notes, and snippets.

@zzeroo
Last active September 13, 2016 18:34
Show Gist options
  • Save zzeroo/c519e4904e37afb831a8ee39393d172f to your computer and use it in GitHub Desktop.
Save zzeroo/c519e4904e37afb831a8ee39393d172f to your computer and use it in GitHub Desktop.
gdb1
gdb --args rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -g -C metadata=00070c9b9a99d27d -C extra-filename=-00070c9b9a99d27d --out-dir /root/buggy/target/debug/deps --emit=dep-info,link -L dependency=/root/buggy/target/debug/deps --cap-lints allow
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 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 rustc...done.
(gdb) run
Starting program: /root/.cargo/bin/rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -g -C metadata=00070c9b9a99d27d -C extra-filename=-00070c9b9a99d27d --out-dir /root/buggy/target/debug/deps --emit=dep-info,link -L dependency=/root/buggy/target/debug/deps --cap-lints allow
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[Inferior 1 (process 2472) exited with code 01]
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment