diff options
author | Sanjoy Das <sanjoyd@sourceware.org> | 2013-01-17 14:17:16 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoyd@sourceware.org> | 2013-01-17 14:17:16 +0000 |
commit | c9fb1240f2fce4fe8808181dcd961dfc45008087 (patch) | |
tree | be2f43dc3b494dac69b080a8d7c68ede3b2efac2 /gdb/doc/gdb.texinfo | |
parent | db334a01640a2f0e927e824d0d9f5d83d18d942d (diff) | |
download | gdb-c9fb1240f2fce4fe8808181dcd961dfc45008087.zip gdb-c9fb1240f2fce4fe8808181dcd961dfc45008087.tar.gz gdb-c9fb1240f2fce4fe8808181dcd961dfc45008087.tar.bz2 |
* jit.c (jit_reader_load_command): Interpret the jit reader name as an
absolute path if it begins with a forward slash.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r-- | gdb/doc/gdb.texinfo | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0fb6601..728e44b 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -33973,15 +33973,19 @@ Readers can be loaded and unloaded using the @code{jit-reader-load} and @code{jit-reader-unload} commands. @table @code -@item jit-reader-load @var{reader-name} -Load the JIT reader named @var{reader-name}. On a UNIX system, this -will usually load @file{@var{libdir}/gdb/@var{reader-name}}, where -@var{libdir} is the system library directory, usually -@file{/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 @value{GDBN} reporting an error. A new JIT reader can be loaded by -first unloading the current one using @code{jit-reader-load} and then -invoking @code{jit-reader-load}. +@item jit-reader-load @var{reader} +Load the JIT reader named @var{reader}. @var{reader} is a shared +object specified as either an absolute or a relative file name. In +the latter case, @value{GDBN} will try to load the reader from a +pre-configured directory, usually @file{@var{libdir}/gdb/} on a UNIX +system (here @var{libdir} is the system library directory, often +@file{/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 @value{GDBN} +reporting an error. A new JIT reader can be loaded by first unloading +the current one using @code{jit-reader-unload} and then invoking +@code{jit-reader-load}. @item jit-reader-unload Unload the currently loaded JIT reader. |