Advertisement
Guest User

Untitled

a guest
Feb 7th, 2022
42
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gdb
  2. GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
  3. Copyright (C) 2021 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.
  7. Type "show copying" and "show warranty" for details.
  8. This GDB was configured as "aarch64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <https://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14.  
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word".
  17. (gdb) target remote localhost:8080
  18. Remote debugging using localhost:8080
  19. Reading /tmp/a.out from remote target...
  20. warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead.
  21. Reading /tmp/a.out from remote target...
  22. Reading symbols from target:/tmp/a.out...
  23. (No debugging symbols found in target:/tmp/a.out)
  24. Reading /lib/ld-linux-aarch64.so.1 from remote target...
  25. Reading /lib/ld-linux-aarch64.so.1 from remote target...
  26. Reading symbols from target:/lib/ld-linux-aarch64.so.1...
  27. Reading symbols from /usr/lib/debug/.build-id/73/68ab49979bd38b1708290d9d22f6bd4fbe2e45.debug...
  28. 0x0000fffff7fcd140 in _start () from target:/lib/ld-linux-aarch64.so.1
  29. (gdb) b main
  30. Breakpoint 1 at 0xaaaaaaaa0784
  31. (gdb) c
  32. Continuing.
  33. Reading /lib/aarch64-linux-gnu/libc.so.6 from remote target...
  34.  
  35. Breakpoint 1, 0x0000aaaaaaaa0784 in main ()
  36. (gdb) stepi
  37. __GI___fxstat (vers=<optimized out>, fd=1, buf=0xfffffffff308) at ../sysdeps/unix/sysv/linux/wordsize-64/fxstat.c:35
  38. 35 ../sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: No such file or directory.
  39. (gdb) stepi
  40. __brk (addr=addr@entry=0x0) at ../sysdeps/unix/sysv/linux/generic/brk.c:36
  41. 36 ../sysdeps/unix/sysv/linux/generic/brk.c: No such file or directory.
  42. (gdb) c
  43. Continuing.
  44. [Inferior 1 (process 511) exited normally]
  45. (gdb)
Advertisement
RAW Paste Data Copied
Advertisement