Re: [PATCH] Consolidate target_mourn_inferior between GDB and gdbserver

Sergio Durigan Junior
2016-09-19T17:07:22Z

On Monday, September 19 2016, Pedro Alves wrote:

> On 09/19/2016 05:19 AM, Sergio Durigan Junior wrote:
>>
>> Thanks, pushed.
>>
>> bc1e6c81d5b77d78282c47f6fd7f697e564a6eb6
>>
>
> I'm seeing a regression in mi-exec-run.exp:
>
> -exec-run --start
> =breakpoint-created,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x000000000040059a",func="main",file="/home/pedro/gdb/mygit/src/gdb/testsuite/gdb.mi/mi-
> start.c",fullname="/home/pedro/brno/pedro/gdb/mygit/src/gdb/testsuite/gdb.mi/mi-start.c",line="21",thread-groups=["i1"],times="0",original-location="main"}
> &"Cannot exec /home/pedro/brno/pedro/gdb/mygit/build/gdb/testsuite/outputs/gdb.mi/mi-exec-run/mi-exec-run.nox.\n"
> &"Error: Permission denied\n"
> =thread-group-started,id="i1",pid="11317"
> =thread-created,id="1",group-id="i1"
> ~"/home/pedro/gdb/mygit/src/gdb/target.c:2382: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid_equal (ptid, inferior_ptid)' failed.\nA problem internal
> to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? (y or n) "
> saw mi error
> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected (timeout)
>
>
> Do you see it too? Can you take a look?

Hm, that's strange, BuildBot did not catch it... Anyway, I'll
investigate this right away, thanks for letting me know!

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