This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Dwarf assembler: handle one instruction function
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Thu, 26 Feb 2015 11:56:44 +0000
- Subject: Re: [PATCH] Dwarf assembler: handle one instruction function
- Authentication-results: sourceware.org; auth=none
- References: <1424877375-14752-1-git-send-email-qiyaoltc at gmail dot com>
On 02/25/2015 03:16 PM, Yao Qi wrote:
> GDB doesn't display the offset when it is zero. This patch is to
> adjust the pattern when $func_length.
"when $func_length is zero.", I think.
>
> gdb/testsuite:
>
> 2015-02-25 Yao Qi <yao.qi@linaro.org>
>
> * lib/dwarf.exp (function_range): Adjust pattern when $func_length
> is zero.
Looks fine to me.
Thanks,
Pedro Alves