[pushed] [gdb/testsuite] Fix regexp in gdb.base/foll-vfork.exp

Tom de Vries tdevries@suse.de
Mon Nov 15 11:22:43 GMT 2021


On 11/12/21 6:13 PM, Tom de Vries via Gdb-patches wrote:
> On 11/12/21 5:18 PM, Simon Marchi wrote:
>> On 2021-11-12 11:12 a.m., Tom de Vries via Gdb-patches wrote:
>>> On OBS I ran into:
>>> ...
>>> (gdb) PASS: gdb.base/foll-vfork.exp: exit: \
>>>   vfork relations in info inferiors: continue to child exit
>>> info inferiors^M
>>>   Num  Description       Connection           Executable        ^M
>>>   1    <null>                                 foll-vfork-exit ^M
>>> * 2    <null>                                 foll-vfork-exit ^M
>>> (gdb) I'm the proud parent of child #5044!^M
>>> FAIL: gdb.base/foll-vfork.exp: exit: vfork relations in info inferiors: \
>>>   vfork relation no longer appears in info inferiors (timeout)
>>> ...
>>>
>>> Fix this by removing the '$' anchor in the corresponding '$gdb_prompt $'
>>> regexps.
>>
>> Alternatively, can we just remove the "I'm the proud parent of..."
>> printout?  It doesn't seem to be used for anything useful.
> 
> That's not a bad idea.  I could put it under '#if DEBUG' or some such to
> disable it by default.
> 

Submitted here:
https://sourceware.org/pipermail/gdb-patches/2021-November/183405.html .

Thanks,
- Tom



More information about the Gdb-patches mailing list