This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Allow "disassemble 'Foo::bar(char *)'"
> Date: Fri, 20 Nov 2009 17:08:21 -0800
> From: Paul Pluzhnikov <ppluzhnikov@google.com>
>
> On Fri, Nov 20, 2009 at 4:59 PM, Daniel Jacobowitz <drow@false.org> wrote:
>
> >> Does this require a NEWS entry (incompatible change to disassemble
> >> command) ?
> >
> > I think yes.
>
> Thanks, NEWS mention added.
Thanks. I have only one comment: You say everywhere in the docs that
the 2 arguments should be "separated by comma". ("Separated by a
comma" would be more correct, English-wise.) However, the test files
show that the arguments can in fact be separated by a combination of a
comma and whitespace:
> -test_dis "disassem &staticvar &staticvar+1" "staticvar"
> +test_dis "disassem &staticvar, &staticvar+1" "staticvar"
Is my interpretation of the test correct? If it is, then the
documentation should say that whitespace is allowed around the comma.