This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: large line number debugging support




On Sat, 15 Dec 2001, Andrew Cagney wrote:

> > Hi.
> > I just added support to output stab information in the mono JIT
> > compiler: this debugging info is used to debug code generation problems
> > and as such the lines in the source code it references are from an
> > assembly dump of the CLR programs. For large libraries the assembly
> > files can be longer than 2^16 lines and the binary stabs format seems to use
> > 16 bits unsigned integers to store line info.
> > Is there some kind of know workaround for this problem?
> > Splitting the assembly dump would be extremely ugly.
>
>
> How does dwarf2 go with this?  ``gas -gdwarf2'' will select dwarf2
> assembler debug info.

DWARF2 can do line numbers as large as you like, the opcodes take leb128
or sleb128, as opposed to some fixed size encoding.

>
> Andrew
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]