Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aleksandr@localhost:~> sudo snap run --gdb obsidian
- GNU gdb (GDB; openSUSE Leap 15.2) 8.3.1
- Copyright (C) 2019 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 "x86_64-suse-linux".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://bugs.opensuse.org/>.
- 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 /usr/lib/snapd/snap-confine...
- (No debugging symbols found in /usr/lib/snapd/snap-confine)
- Starting program: /usr/lib/snapd/snap-confine --base core18 snap.obsidian.obsidian /usr/lib/snapd/snap-exec --command=gdb obsidian
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib64/libthread_db.so.1".
- [Detaching after fork from child process 3508]
- [Detaching after fork from child process 3509]
- process 3504 is executing new program: /usr/lib/snapd/snap-exec
- Missing separate debuginfos, use: zypper install snapd-debuginfo-2.49-lp152.3.1.x86_64
- Missing separate debuginfo for target:/usr/lib/snapd/snap-exec
- Try: zypper install -C "debuginfo(build-id)=a21be9900959278ff2046d9c2b268b126203cb4a"
- [New LWP 3511]
- [New LWP 3512]
- [New LWP 3513]
- [New LWP 3514]
- [New LWP 3515]
- [New LWP 3516]
- [LWP 3516 exited]
- [LWP 3515 exited]
- [LWP 3514 exited]
- [LWP 3513 exited]
- [LWP 3512 exited]
- [LWP 3511 exited]
- process 3504 is executing new program: /usr/lib/snapd/snap-gdb-shim
- Missing separate debuginfo for target:/usr/lib/snapd/snap-gdb-shim
- Try: zypper install -C "debuginfo(build-id)=eac2aebf8bd1922546ea013e1563b7244ff29c6d"
- Missing separate debuginfo for target:/lib64/ld-linux-x86-64.so.2
- Try: zypper install -C "debuginfo(build-id)=977c39fe87abfa426d3043f6c8e21f7be3f0e876"
- warning: Could not load shared library symbols for linux-vdso.so.1.
- Do you need "set solib-search-path" or "set sysroot"?
- Missing separate debuginfo for target:/lib/x86_64-linux-gnu/libc.so.6
- Try: zypper install -C "debuginfo(build-id)=ce450eb01a5e5acc7ce7b8c2633b02cc1093339e"
- Welcome to `snap run --gdb`.
- You are right before your application is execed():
- - set any options you may need
- - use 'cont' to start
- Thread 1 "snap-gdb-shim" received signal SIGTRAP, Trace/breakpoint trap.
- 0x00007f753ea86fb7 in raise () from target:/lib/x86_64-linux-gnu/libc.so.6
- Catchpoint 1 (exec)
- Continuing.
- process 3504 is executing new program: /bin/bash
- Missing separate debuginfo for target:/bin/bash
- Try: zypper install -C "debuginfo(build-id)=12f73d7a8e226c663034529c8dd20efec22dde54"
- Missing separate debuginfo for target:/lib64/ld-linux-x86-64.so.2
- Try: zypper install -C "debuginfo(build-id)=977c39fe87abfa426d3043f6c8e21f7be3f0e876"
- Thread 1 "command.sh" hit Catchpoint 1 (exec'd /bin/bash), 0x00007f6f77d49090 in ?? () from target:/lib64/ld-linux-x86-64.so.2
- (gdb) run
- The program being debugged has been started already.
- Start it from the beginning? (y or n) y
- `target:/bin/bash' has disappeared; keeping its symbols.
- Starting program: target:/bin/bash --base core18 snap.obsidian.obsidian /usr/lib/snapd/snap-exec --command=gdb obsidian
- /bin/bash: /home/aleksandr/target:/bin/bash: No such file or directory
- During startup program exited with code 127.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement