This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Use stabs for Linux/mips (Re: binutils is broken on ELF/MIPS)
Richard Henderson writes:
> On Mon, Jun 03, 2002 at 04:51:01PM -0700, H . J . Lu wrote:
> > > > It turned out gas doesn't support dwarf debug info for Linux/mipsel
> > > > at all. ".file" and ".loc" don't do much for dwarf.
>
> These directives aren't required for proper operation.
> If they're not present, then gcc will emit the data itself
> with labels and offsets.
>
> If there are any remaining binutils bugs, then they should
> be fixed in binutils. We can require a later binutils
> release for Linux/mipsel.
fyi, heads up, and all that ...
See gdb pr 456 for a bug where gdb can handle .file/.loc but
can't handle the raw primitives emitted by gcc.