Re: Is this information correct?

Carlo Wood
2002-05-28T04:30:05Z

On Mon, May 27, 2002 at 02:07:21PM -0400, Daniel Jacobowitz wrote:
> What's this part about though? I think it's really referring to gdb
> 5.1 instead. 5.2 should be fine.

Blah, its 6:30 am now... but we figured out what it was.
It was not gdb's fault, nor gcc's fault. The "problem"
was that he was using -O2 and setting a break point
for main causes the break point to be set 4 bytes behond
'main' (the function pointer) which was already at the
start of some inlined constructor for which is was not
clear that it would be there (-O2 magic etc).
Anyway, my (independantly from gdb written) libcwd gave
exactly the same source file line number info ;).

I'll remove the remark that gdb-5.2 might not work with
g++ 3.1. It works.