This is the mail archive of the gdb-patches@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]

Re: RFA: Recording MIPS ABI selection in binaries


On Wed, Aug 09, 2000 at 10:10:50AM -0700, Chris G. Demetriou wrote:
> * should it even be compilation unit granularity?  It seems that a
> mechanism for finer granularity would be appropriate...

Well, as proposed it would be in the CIE record, which is nominally
one compilation unit.  You could have more than one per unit if you
wished.

> it's possible to use different ISA assembly at finer granularity than
> that, if you're coding in assembly.

If you're coding in assembly, you may be hard-pressed to get this
information into the object file.  It's not easy to write dwarf2
by hand; the assembler can do some (line numbers and such) but there's
no existing mechanism by which to get stuff into the producer string.

> * is it actually easy for objdump to make use of debugging
> information?

Not exactly.


r~

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