<<< Date Index >>>     <<< Thread Index >>>

bug#1762: gdb details



On Sat, Jan 17, 2004 at 02:33:27PM +0900, YONETANI Tomokazu wrote:

> If you're not using the CVS version, you want to try the following
> fix from CVS:
[..]
> The memory location or the CPU register holding tmp was already
> overwritten at this point by the content of tmp->message as a result
> of optimization, but gdb believes it's not.  Changing the declaration
> of tmp
>   THREAD *tmp;
> to something like this
>   THREAD *volatile tmp;
> might or might not help.

Thanks, I'll try both of those on Monday. It did seem most likely that gdb
was getting it wrong, rather than gcc, but you never know. :-)

Cheers,

-- 
Paul

Attachment: signature.asc
Description: Digital signature