Re: [PATCH v4 0/14] Run all-stop on non-stop target

Pedro Alves
2012-05-09T17:46:42Z

On 05/03/2012 03:40 PM, Yao Qi wrote:

> On 05/03/2012 10:22 PM, Pedro Alves wrote:
>> I'm looking at the existing async issues now. We can't just kfail known
>> async issues and then propose flipping async on by default. That's cheating. ;-)
>
> Oh, we should. I tried to fix them, but made no progress after two
> days. So I kfail them and post patches first :). Pedro, thanks for
> looking at them.

Well, it takes me days to understand and fix these issues myself
too. ;-) It's just the nature of the beast...

I see this in sync vs async:

PASS: gdb.python/py-finish-breakpoint.exp: set FinishBreakpoint with default frame value
PASS: gdb.python/py-finish-breakpoint.exp: set FinishBreakpoint
PASS: gdb.python/py-finish-breakpoint.exp: check return_value at init
-PASS: gdb.python/py-finish-breakpoint.exp: check MyFinishBreakpoint hit
-PASS: gdb.python/py-finish-breakpoint.exp: check return_value
-PASS: gdb.python/py-finish-breakpoint.exp: check finishBP on default frame has been hit
-PASS: gdb.python/py-finish-breakpoint.exp: ensure that finish bp is invalid afer normal hit
-PASS: gdb.python/py-finish-breakpoint.exp: return to main()
-PASS: gdb.python/py-finish-breakpoint.exp: check FinishBP not allowed in main
+FAIL: gdb.python/py-finish-breakpoint.exp: check MyFinishBreakpoint hit (GDB internal error)
+ERROR: Could not resync from internal error (timeout)
+UNRESOLVED: gdb.python/py-finish-breakpoint.exp: check return_value (timeout)
+ERROR: Process no longer exists
+UNRESOLVED: gdb.python/py-finish-breakpoint.exp: check finishBP on default frame has been hit
+ERROR: Couldn't send python print finishbp.is_valid() to GDB.
+UNRESOLVED: gdb.python/py-finish-breakpoint.exp: ensure that finish bp is invalid afer normal hit
+ERROR: Couldn't send finish to GDB.
+UNRESOLVED: gdb.python/py-finish-breakpoint.exp: return to main()
+ERROR: Couldn't send python MyFinishBreakpoint (None, gdb.selected_frame ()) to GDB.
+UNRESOLVED: gdb.python/py-finish-breakpoint.exp: check FinishBP not allowed in main

Do you see it too?

I looked at this a couple months ago, but didn't make much progress. I'll try to
figure it out next.

--
Pedro Alves