Subject: Re: gdb backtrace
To: Christian Groessler <cpg@aladdin.de>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-toolchain
Date: 07/03/2002 19:49:19
Christian Groessler <cpg@aladdin.de> writes:

> the gdb backtrace doesn't work if linked w/ shared libs.

Hi. I noticed this too, a few months ago. The problem is that the
NetBSD target definition for GDB was using too many of the RS/6000
definitions, which caused GDB to try to use AIX relocation semantics
for shared libraries, fouling up the addresses of symbols in shared
libs.

I've committed my fix (should have done that months ago.... it just
slipped my mind :/), so if you rebuild gdb it should work.

        - Nathan