[PATCH] Make -e optional for -data-disassemble

Tom Tromey tromey@redhat.com
Mon Mar 26 20:19:00 GMT 2012


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



More information about the Gdb-patches mailing list