Re: Module versioning

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Wed, 31 Dec 1997 00:22:58 +0100


> Check out 'objdump --debugging'. It provides the type information
> in ascii form.

Very nice. It generates much more, though: for -g2, I also get the
basic blocks, line numbers, and local variables.

> Here is a problem: my gcc doesn't emit type information for external
> symbols. I am using gcc 2.7.2 with '-g2'. Maybe there is some other
> flag to set.

Yes, I found that, too. I believe this is by design: you get debugging
information only when you also have the objects (i.e. functions or
variables) to debug. You cannot lie, then :-)

Anyway, I think genksyms does exactly what it is supposed to do;
the only question is where to store the information. (Well, people
think that genksyms is too picky, and I now tend to agree, but
this is a different issue).

Regards,
Martin