[PATCH] Make gdb.base/foll-exec.exp test pattern more general

Luis Machado lgustavo@codesourcery.com
Fri Oct 28 13:47:00 GMT 2016


On 10/28/2016 04:29 AM, Yao Qi wrote:
> On Thu, Oct 27, 2016 at 9:33 PM, Luis Machado <lgustavo@codesourcery.com> wrote:
>> Testing a nios toolchain running gdbserver on the other end i noticed a
>> failure in gdb.base/foll-exec.exp.  Turns out gdb is outputting a slightly
>> different pattern due to the presence of debug information.
>>
>> --
>> foll-exec is about to execlp(execd-prog)...^M
>> Continuing.^M
>> process 21222 is executing new program: gdb.d/outputs/gdb.base/foll-exec/execd-prog^M
>> ^M
>> Catchpoint 2 (exec'd gdb.d/outputs/gdb.base/foll-exec/execd-prog), _start () at ../sysdeps/powerpc/powerpc32/dl-start.S:32^M
>> --
>
> Is it a nios toolchain or ppc toolchain?  Patch is good to me.
>

Sorry, it is obviously powerpc, as the source file above says. :-)

I was dealing with a nios problem before and ended up confusing both.

Pushed this as b129b0cacd4c8e982605b7c8d99e96c74155882a.

Thanks,
Luis



More information about the Gdb-patches mailing list