Skip to content

Instantly share code, notes, and snippets.

@umpirsky
Created October 28, 2017 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umpirsky/ee7de70576aa5e58d5393eaa6fb5d428 to your computer and use it in GitHub Desktop.
Save umpirsky/ee7de70576aa5e58d5393eaa6fb5d428 to your computer and use it in GitHub Desktop.
sudo gdb -p `pgrep -u $USER -x gnome-shell` <<<"print /r _cogl_pango_renderer_clear_glyph_cache((CoglPangoRenderer*)(_cogl_pango_font_map_get_priv(clutter_context_get_pango_fontmap())->renderer))"
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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-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 29991
[New LWP 11303]
[New LWP 11305]
[New LWP 11312]
[New LWP 11341]
[New LWP 11342]
[New LWP 11343]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f13469b270d in poll () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) $1 = void
(gdb) quit
A debugging session is active.
Inferior 1 [process 29991] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/bin/gnome-shell, process 29991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment