Debugging data on Alpha
Mark Kettenis
kettenis@wins.uva.nl
Sat Dec 30 04:53:00 GMT 2000
Unfortunately, it's hard to construct small test cases, but when
I'm trying to debug things inside of GCC, a fairly large precentage
of local variables either can't be found or display as junk.
I have no idea if this is just Alpha or not, but I think it needs
to be fixed before 3.0: it's a very serious problem.
Does anybody know what's going on?
When I was hacking on FreeBSD/Alpha support for GDB, I observed
similar problems. In that case the problem was that the FreeBSD/Alpha
config files defined DBX_FUNCTION_FIRST, which caused the stabs for
local variables to be emitted before alpha_auto_offset was properly
initialized. Now AFAICT the OSF config files do not define
DBX_FUNCTION_FIRST, but perhaps there is another reason why
alpha_auto_offset isn't properly initialized.
Mark
More information about the Gcc
mailing list