Re: [PATCH Bug breakpoints/14381] Fix linespec to parse file name that begin with decimal numbers

Hui Zhu
2012-07-22T10:11:40Z

On Sun, Jul 22, 2012 at 4:55 PM, Hui Zhu <teawater@gmail.com> wrote:
> On Sun, Jul 22, 2012 at 3:10 PM, Jan Kratochvil
> <jan.kratochvil@redhat.com> wrote:
>> On Sun, 22 Jul 2012 08:30:02 +0200, Hui Zhu wrote:
>>> This issue is because function linespec_lexer_lex_one handle the
>>> string that begin with decimal numbers decimal numbers directly and
>>> use linespec_lexer_lex_number handle it directly.
>>
>> There should be a testcase for it. (Not a review yet.)
>>
>>
>> Thanks,
>> Jan
>
> Agree. I will add it later.
>
> Thanks,
> Hui

Hi,

I got a trouble with test.

This issue must build test code without dir, for example: "1.c".
But "gdb_compile" or "prepare_for_testing" will build the test code
with dir, for example:"src/gdb/testsuite/gdb.base/1.c".

Could you tell me how to handle it?

Thanks,
Hui