This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make -e optional for -data-disassemble
>>>>> "Brett" == Brett Lee <brett.lee.nps@gmail.com> writes:
Brett> Sorry, I forgot to add the [PATCH] prefix in the subject.
The patch looks good to me.
Do you have your copyright assignment paperwork in place?
Brett> 2012-03-09 Brett Lee <brett.lee.nps@gmail.com>
Brett> * mi-cmd-disas.c (mi_cmd_disassemble): Allow -s option without
Brett> -e option. Automatically stops at the end of the function
Brett> containing the start address or displays an error if the address
Brett> is not inside any function.
Brett> * mi-disassemble.exp (test_disassembly_only): Added test case
Brett> for -data-disassemble with only -s option.
Brett> * gdb.texinfo: Updated documentation for -data-disassemble to
Brett> explain and demonstrate the use case with only the -s option.
FYI, these each have to go in separate ChangeLog files.
Tom