Subject: Re: gdb/PTRACE broken on sparc64?
To: Martin Husemann <>
From: Nathan J. Williams <>
List: current-users
Date: 09/13/2006 12:08:21
Martin Husemann <> writes:

> On Tue, Sep 12, 2006 at 03:24:51PM -0700, Matt Thomas wrote:
> > Try building gdb6 and see if it works better.  gdb5 on ppc did the
> > same while gdb6 mostly works.
> You need to use -gstabs instead of -g with gdb5 - gcc4.1 defaults to dwarf2
> debug info, wich gdb5 can not realy grok.

I should elaborate on this a bit; dwarf2 support in GDB is somewhat
architecture-dependant. It works well on several platforms in gdb5
(i386 and alpha, for example) but platforms like sparc64 tickle more
of the obscure features of dwarf2.

        - Nathan