Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gdb
- GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
- Copyright (C) 2021 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 "aarch64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://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".
- (gdb) target remote localhost:8080
- Remote debugging using localhost:8080
- Reading /tmp/a.out from remote target...
- warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead.
- Reading /tmp/a.out from remote target...
- Reading symbols from target:/tmp/a.out...
- (No debugging symbols found in target:/tmp/a.out)
- Reading /lib/ld-linux-aarch64.so.1 from remote target...
- Reading /lib/ld-linux-aarch64.so.1 from remote target...
- Reading symbols from target:/lib/ld-linux-aarch64.so.1...
- Reading symbols from /usr/lib/debug/.build-id/73/68ab49979bd38b1708290d9d22f6bd4fbe2e45.debug...
- 0x0000fffff7fcd140 in _start () from target:/lib/ld-linux-aarch64.so.1
- (gdb) b main
- Breakpoint 1 at 0xaaaaaaaa0784
- (gdb) c
- Continuing.
- Reading /lib/aarch64-linux-gnu/libc.so.6 from remote target...
- Breakpoint 1, 0x0000aaaaaaaa0784 in main ()
- (gdb) stepi
- __GI___fxstat (vers=<optimized out>, fd=1, buf=0xfffffffff308) at ../sysdeps/unix/sysv/linux/wordsize-64/fxstat.c:35
- 35 ../sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: No such file or directory.
- (gdb) stepi
- __brk (addr=addr@entry=0x0) at ../sysdeps/unix/sysv/linux/generic/brk.c:36
- 36 ../sysdeps/unix/sysv/linux/generic/brk.c: No such file or directory.
- (gdb) c
- Continuing.
- [Inferior 1 (process 511) exited normally]
- (gdb)
Advertisement
RAW Paste Data
Copied
Advertisement