# gdb attach <CHVT_PID>
(gdb) bt F #0 0x00007fd01e9c65d7 in ioctl () at ../sysdeps/unix/syscall-template.S:78 No locals. #1 0x000055fbea90bce1 in main (argc=2, argv=<optimized out>) at chvt.c:45 fd = 3 num = <optimized out>
# gdb attach <CHVT_PID>
(gdb) bt F unix/syscall- template. S:78
#0 0x00007fd01e9c65d7 in ioctl () at ../sysdeps/
No locals.
#1 0x000055fbea90bce1 in main (argc=2, argv=<optimized out>) at chvt.c:45
fd = 3
num = <optimized out>