Next: , Up: Custom Debug Info


29.4.1 Using JIT Debug Info Readers

Readers can be loaded and unloaded using the jit-reader-load and jit-reader-unload commands.

jit-reader-load reader-name
Load the JIT reader named reader-name. On a UNIX system, this will usually load libdir/gdb/reader-name, where libdir is the system library directory, usually /usr/local/lib. Only one reader can be active at a time; trying to load a second reader when one is already loaded will result in gdb reporting an error. A new JIT reader can be loaded by first unloading the current one using jit-reader-load and then invoking jit-reader-load.
jit-reader-unload
Unload the currently loaded JIT reader.