This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JIT Reader


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]