[Mono-list] JIT patch for stabs debugging

Paolo Molaro lupus@ximian.com
Mon, 11 Mar 2002 16:04:43 +0100


On 03/11/02 Martin Baulig wrote:
> Should I produce "good" an clean dwarf-2 code (ie. exactly as it's
> described in the dwarf-2 specification) or only use features which are
> already supported by gdb ?
> 
> At the moment, I'm writing good code, but this forces people to use at
> least gdb 5.1.1 (the latest released version), it does not work with
> gdb 5.0.
> 
> IMO it makes sense to produce good dwarf-2 code since mono is a very
> long living project and will still take several months until its
> completion and gdb should have full dwarf-2 support in near future.

Are the features not supported by gdb 5.0 important? Can it still be
used even if some features are missing?

If gdb 5.0 still works when the debug info is more complete, I'd say
output the full info. Otherwise it's better to have a switch that selects
which version to output, if it's not too tricky to support both.

Also, don't delete the support for stabs, since it's possible it could
be the only debugging format of some platforms.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better