This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: 3.3 PATCH: Handle mips gas 2.13 -mdebug switch
> Absolutely. It was only under pressure that I left the support in GAS
> at all, as I'm sure Eric remembers :) GDB behaves much, much better
> with DWARF-2 or even elf stabs than it does with the mdebug reader.
Just as a note, here's what I'd _prefer_ to be able to do with all of
the elf targets (at least).
/* ??? Move all SDB stuff into separate header file. */
#undef SDB_DEBUGGING_INFO
#define DBX_DEBUGGING_INFO
#define DWARF2_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#undef SUBTARGET_ASM_DEBUGGING_SPEC
#define SUBTARGET_ASM_DEBUGGING_SPEC "-g0 \
%{!gstabs*:-no-mdebug}%{gstabs*:-mdebug}"
Which is what I have in my current working sources. I'll raise the call
for objections right now :)
-eric
--
I will not grease the monkey bars