Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shadeslayer/69aa6c6fee41974194b091a387b29766 to your computer and use it in GitHub Desktop.
Save shadeslayer/69aa6c6fee41974194b091a387b29766 to your computer and use it in GitHub Desktop.
neon@neon:~$ sudo gdb -p $(pidof kwin_wayland)
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 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:
<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".
Attaching to process 876
[New LWP 877]
[New LWP 878]
[New LWP 879]
[New LWP 896]
[New LWP 897]
[New LWP 898]
[New LWP 899]
[New LWP 900]
[New LWP 901]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
0x0000ffffb6c43154 in __GI_ppoll (fds=0xaaab0055c208, nfds=281473753582116, timeout=<optimized out>, sigmask=0xfffffc010a30) at ../sysdeps/unix/sysv/linux/ppoll.c:39
39 ../sysdeps/unix/sysv/linux/ppoll.c: No such file or directory.
(gdb) b lima_resource_from_handle
Breakpoint 1 at 0xffffaa39c3e4: file ../../../../.././src/gallium/drivers/lima/lima_resource.c, line 200.
(gdb) c
Continuing.
Thread 2 "QDBusConnection" received signal SIGINT, Interrupt.
[Switching to Thread 0xffffb0f660c0 (LWP 877)]
0x0000ffffb6c43048 in __GI___poll (fds=0xffffac014f80, nfds=281473713159852, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
41 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) quit
A debugging session is active.
Inferior 1 [process 876] will be detached.
Quit anyway? (y or n) y
Detaching from program: /usr/bin/kwin_wayland, process 876
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment