sudo gdb -p 4495 GNU gdb (GDB) 8.3 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 4495 [New LWP 4496] [New LWP 4497] [New LWP 4498] [New LWP 4499] [New LWP 4500] [New LWP 4501] [New LWP 4502] [New LWP 4503] [New LWP 4504] [New LWP 4505] [New LWP 4506] [New LWP 4507] [New LWP 4508] [New LWP 4509] [New LWP 4510] [New LWP 4511] [New LWP 4512] [New LWP 4513] [New LWP 4514] [New LWP 4515] [New LWP 4516] [New LWP 4517] [New LWP 4518] [New LWP 4519] [New LWP 4520] [New LWP 4521] [New LWP 4522] [New LWP 4523] [New LWP 4524] [New LWP 4525] [New LWP 4526] [New LWP 4527] [New LWP 4528] [New LWP 4529] [New LWP 4530] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007f5e987b641e in epoll_wait () from /usr/lib/libc.so.6 (gdb) break drmModeConnectorSetProperty Breakpoint 1 at 0x7f5e988bde20 (gdb) break drmModeObjectSetProperty Breakpoint 2 at 0x7f5e988be9d0 (gdb) continue Continuing. Thread 1 "Xorg" hit Breakpoint 2, 0x00007f5e988be9d0 in drmModeObjectSetProperty () from /usr/lib/libdrm.so.2 (gdb) bt #0 0x00007f5e988be9d0 in drmModeObjectSetProperty () at /usr/lib/libdrm.so.2 #1 0x00007f5e993043f0 in () at /usr/lib/xorg/modules/drivers/amdgpu_drv.so #2 0x00007f5e99305a44 in () at /usr/lib/xorg/modules/drivers/amdgpu_drv.so #3 0x00007f5e99305af5 in () at /usr/lib/xorg/modules/drivers/amdgpu_drv.so #4 0x0000558a8b1709db in () #5 0x0000558a8b142e7a in () #6 0x0000558a8b080da5 in () #7 0x0000558a8b04b899 in () #8 0x0000558a8b04e16d in () #9 0x0000558a8b052473 in () #10 0x00007f5e986e0ee3 in __libc_start_main () at /usr/lib/libc.so.6 #11 0x0000558a8b01575e in _start () (gdb)