This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: JIT Reader
- From: Tom Tromey <tromey at redhat dot com>
- To: Sanjoy Das <sanjoy at playingwithpointers dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 02 Nov 2011 12:03:41 -0600
- Subject: Re: JIT Reader
- References: <4EA9095D.5070408@playingwithpointers.com>
>>>>> "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