Advertisement
Guest User

Obsidian gdb debugging

a guest
May 8th, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.53 KB | None | 0 0
  1. aleksandr@localhost:~> sudo snap run --gdb obsidian
  2. GNU gdb (GDB; openSUSE Leap 15.2) 8.3.1
  3. Copyright (C) 2019 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 "x86_64-suse-linux".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://bugs.opensuse.org/>.
  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. Reading symbols from /usr/lib/snapd/snap-confine...
  18. (No debugging symbols found in /usr/lib/snapd/snap-confine)
  19. Starting program: /usr/lib/snapd/snap-confine --base core18 snap.obsidian.obsidian /usr/lib/snapd/snap-exec --command=gdb obsidian
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/lib64/libthread_db.so.1".
  22. [Detaching after fork from child process 3508]
  23. [Detaching after fork from child process 3509]
  24. process 3504 is executing new program: /usr/lib/snapd/snap-exec
  25. Missing separate debuginfos, use: zypper install snapd-debuginfo-2.49-lp152.3.1.x86_64
  26. Missing separate debuginfo for target:/usr/lib/snapd/snap-exec
  27. Try: zypper install -C "debuginfo(build-id)=a21be9900959278ff2046d9c2b268b126203cb4a"
  28. [New LWP 3511]
  29. [New LWP 3512]
  30. [New LWP 3513]
  31. [New LWP 3514]
  32. [New LWP 3515]
  33. [New LWP 3516]
  34. [LWP 3516 exited]
  35. [LWP 3515 exited]
  36. [LWP 3514 exited]
  37. [LWP 3513 exited]
  38. [LWP 3512 exited]
  39. [LWP 3511 exited]
  40. process 3504 is executing new program: /usr/lib/snapd/snap-gdb-shim
  41. Missing separate debuginfo for target:/usr/lib/snapd/snap-gdb-shim
  42. Try: zypper install -C "debuginfo(build-id)=eac2aebf8bd1922546ea013e1563b7244ff29c6d"
  43. Missing separate debuginfo for target:/lib64/ld-linux-x86-64.so.2
  44. Try: zypper install -C "debuginfo(build-id)=977c39fe87abfa426d3043f6c8e21f7be3f0e876"
  45. warning: Could not load shared library symbols for linux-vdso.so.1.
  46. Do you need "set solib-search-path" or "set sysroot"?
  47. Missing separate debuginfo for target:/lib/x86_64-linux-gnu/libc.so.6
  48. Try: zypper install -C "debuginfo(build-id)=ce450eb01a5e5acc7ce7b8c2633b02cc1093339e"
  49.  
  50.  
  51. Welcome to `snap run --gdb`.
  52. You are right before your application is execed():
  53. - set any options you may need
  54. - use 'cont' to start
  55.  
  56.  
  57.  
  58. Thread 1 "snap-gdb-shim" received signal SIGTRAP, Trace/breakpoint trap.
  59. 0x00007f753ea86fb7 in raise () from target:/lib/x86_64-linux-gnu/libc.so.6
  60. Catchpoint 1 (exec)
  61. Continuing.
  62. process 3504 is executing new program: /bin/bash
  63. Missing separate debuginfo for target:/bin/bash
  64. Try: zypper install -C "debuginfo(build-id)=12f73d7a8e226c663034529c8dd20efec22dde54"
  65. Missing separate debuginfo for target:/lib64/ld-linux-x86-64.so.2
  66. Try: zypper install -C "debuginfo(build-id)=977c39fe87abfa426d3043f6c8e21f7be3f0e876"
  67.  
  68. Thread 1 "command.sh" hit Catchpoint 1 (exec'd /bin/bash), 0x00007f6f77d49090 in ?? () from target:/lib64/ld-linux-x86-64.so.2
  69. (gdb) run
  70. The program being debugged has been started already.
  71. Start it from the beginning? (y or n) y
  72. `target:/bin/bash' has disappeared; keeping its symbols.
  73. Starting program: target:/bin/bash --base core18 snap.obsidian.obsidian /usr/lib/snapd/snap-exec --command=gdb obsidian
  74. /bin/bash: /home/aleksandr/target:/bin/bash: No such file or directory
  75. During startup program exited with code 127.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement