Subject: FW: Debugging shared objects in GDB
To: NETBSD tech-kern \(E-mail\) <tech-kern@netbsd.org>
From: Stephane St Hilaire <ssthilaire@hyperchip.com>
List: tech-kern
Date: 05/02/2001 16:48:10
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_01C0D349.32E1B520
Content-Type: text/plain;
charset="iso-8859-1"
Second try with a diffrent group, sorry if this is not really kernel
related.
-----Original Message-----
From: Stephane St Hilaire
Sent: Friday, April 20, 2001 4:59 PM
To: NetBSD - Tech-MISC (E-mail)
Subject: Debugging shared objects in GDB
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_01C0D349.32E1B520
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>FW: Debugging shared objects in GDB</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Second try with a diffrent group, sorry if this is =
not really kernel related.</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Stephane St Hilaire </FONT>
<BR><FONT SIZE=3D2>Sent: Friday, April 20, 2001 4:59 PM</FONT>
<BR><FONT SIZE=3D2>To: NetBSD - Tech-MISC (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: Debugging shared objects in GDB</FONT>
</P>
<BR>
<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_01C0D349.32E1B520--