This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Expect for "@" when doing "complete break ada" on gdb.ada/complete.exp


On Tuesday, September 18 2018, Joel Brobecker wrote:

> Hi Sergio,

Hey Joel,

> Thanks for the patch!

My pleasure :-).

>> Currently, gdb.ada/complete.exp's "complete break ada" test fails
>> because the regexp used to match the command's output doesn't expect
>> "@", but we have an output like:
>> 
>>   ...
>>   complete break ada
>>   break ada.assertions.assert
>>   break ada.calendar.arithmetic.difference
>>   break ada.calendar.arithmetic_operations.add
>>   break ada.calendar.arithmetic_operations.add.cold
>>   break ada.calendar.arithmetic_operations.add@plt
>>   break ada.calendar.arithmetic_operations.difference
>>   break ada.calendar.arithmetic_operations.difference@plt
>>   ...
>> 
>> This patch adds "@" to the regexp, unbreaking the test.
>> 
>> OK?
>> 
>> gdb/testsuite/ChangeLog:
>> 2018-09-17  Sergio Durigan Junior  <sergiodj@redhat.com>
>> 
>> 	* gdb.ada/complete.exp: Expect for "@" when doing "complete
>> 	break ada".
>
> I can see this behavior, but only when I link with the shared
> version of libgnat. For us at least, on x86_64-linux, this is not
> the default. That's probably why I wasn't seeing this.

Ah, I see.  TBH, I haven't investigate this further.  I'm glad you can
reproduce it there.

> This is OK.

Thanks, pushed.

7a6d2b458f95030f433a0dcdabd5cda7ee695a9b

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]