Re: [PATCH] Consolidate target_mourn_inferior between GDB and gdbserver

Pedro Alves
2016-09-19T14:39:49Z

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?

Thanks,
Pedro Alves