Subject: Debugging shared objects in GDB
To: NetBSD - Tech-MISC \(E-mail\) <tech-misc@netbsd.org>
From: Stephane St Hilaire <ssthilaire@hyperchip.com>
List: tech-misc
Date: 04/20/2001 16:58:32
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C9DC.A88E9AC0
Content-Type: text/plain;
	charset="iso-8859-1"

I'm having the following problem (or annoyance) while debugging a shared
object on netBSD. Basically I can't STEP in a shared object function (from
outside the lib). The only way I can get into a function, is to put a break
point on it. I'm no netBSD expert so perhaps there is a work around in gdb
or some compiler/linker switch to fix this ?

Thanks in advance for any help.

Steph

------_=_NextPart_001_01C0C9DC.A88E9AC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>Debugging shared objects in GDB</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I'm having the following problem (or annoyance) while =
debugging a shared object on netBSD. Basically I can't STEP in a shared =
object function (from outside the lib). The only way I can get into a =
function, is to put a break point on it. I'm no netBSD expert so =
perhaps there is a work around in gdb or some compiler/linker switch to =
fix this ?</FONT></P>

<P><FONT SIZE=3D2>Thanks in advance for any help.</FONT>
</P>

<P><FONT SIZE=3D2>Steph</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0C9DC.A88E9AC0--