Re: [patch] fix for PR2424

Vladimir Prus
2008-03-08T18:36:15Z

Aleksandar Ristovski wrote:

> Hello,
>
> With the attached patch for testsuite and the patch itself, the PR should be fixed.
>
> Thanks,
>
> Aleksandar Ristovski
> QNX Software Systems
>
>
> Testsuite:
> 2008-03-05 Aleksandar Ristovski <aristovski@qnx.com>
>
> * gdb.mi/mi-support.exp: Add "reason" to the matching pattern. This
> is to support fix for PR2424.

FWIW, you don't say what function in mi-support.exp is changed,
and it would be better if your patch was generated with -u (unified diff,
3 lines of context) -- the current one has no context at all, so I
can only guess which function that is.

Speaking of the problem itself -- in PR2424 you say:

When inferior stops at temporary breakpoint, message is:
*stopped,thread-id="0",.......
without mentioning "reason=breakpoint-hit"
This causes issues for multithreaded programs.

What issues does it cause for MT programs?

- Volodya