JIT Reader

Tom Tromey tromey@redhat.com
Wed Nov 2 18:04:00 GMT 2011


>>>>> "Sanjoy" == Sanjoy Das <sanjoy@playingwithpointers.com> writes:

Sanjoy> +  add_com ("jit-reader-load", no_class, jit_reader_load_command, _("\
Sanjoy> +Load FILE as debug info reader and unwinder for JIT compiled code.\n\
Sanjoy> +Try to load file FILE as a debug info reader (and unwinder) for\n\
Sanjoy> +JIT compiled code.  The file is loaded from\n\
Sanjoy> +" JIT_READER_DIR ", relocated \n\
Sanjoy> +relative to the GDB executable if required.\n\
Sanjoy> +Usage is `jit-reader-load FILE`."));
Sanjoy> +  add_com ("jit-reader-unload", no_class, jit_reader_unload_command, _("\
Sanjoy> +Unload the currently loaded JIT debug info reader.\n\
Sanjoy> +See jit-reader-load for how to load JIT debug readers.\n\

I'd like all new commands to have a "Usage" line in their online help.
It should be the second line of the description.  I suggest something
like:

Usage: jit-reader-load FILE

Usage: jit-reader-unload FILE

Tom



More information about the Gdb-patches mailing list