[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GDB & watch expression



Am Do, 27.01.2011, 21:28 schrieb Vincent Rivière:
> m0n0 wrote:
>> Does watch expression work with gdb?
>
> First, which version do you use ?
> The old 5.1, or my experimental and unfinished 7.0 ?

I tried both, but only 7.0 throws the warning. All other behavior seems to
be the same...

Will try and report.

> Also, I'm pretty sure it can't work on optimized code (-O > 0).

Why not? I thought I could watch for content of an memory location, and if
the content at that address changes, the watch breakpoint is triggered.

Greets & Thanks,
Ole