[PATCH 5/9] gdb: Fix bug with dbx style func command.
Pedro Alves
palves@redhat.com
Wed Sep 30 13:47:00 GMT 2015
On 09/11/2015 07:49 PM, Andrew Burgess wrote:
> The func command, available when starting gdb in dbx mode, is supposed
> to take a function name and locate the frame for that function in the
> stack. This has been broken for a while due to an invalid check of the
> arguments within the worker function. Fixed in this commit.
I wonder whether anyone uses / cares about the dbx mode...
>
> gdb/ChangeLog:
>
> * stack.c (func_command): Return early when there is no ARG
> string.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.base/dbx.exp (test_func): Remove xfails, update expected
> results.
OK.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list