How to tell GDB to show fullpath of the source file for the stack trace when 'where' command is used
Wung Seto <[email protected]> Tue, 6 Sep 2011 11:27:51 -0700
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <FA55764C79D5A24AB35A9F169615D4F9F0563A7B@US01WXMBX1.internal.synopsys.com> |
--_000_FA55764C79D5A24AB35A9F169615D4F9F0563A7BUS01WXMBX1inter_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
Gdb -f option seems only show the fullpath of the source file for a single =
frame, but it doesn't show the full path for all the stacks when 'where' an=
d 'bt' command is used. How to enable gdb to show the full path of the sour=
ce file for all the stacks when 'where' or 'bt' command is used?
-Seto
--_000_FA55764C79D5A24AB35A9F169615D4F9F0563A7BUS01WXMBX1inter_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
#800000 2px solid; } --></style>
</head>
<body>
<font face=3D"Arial, sans-serif" size=3D"2">
<div>Hi,</div>
<div> </div>
<div>Gdb -f option seems only show the fullpath of the source file for a si=
ngle frame, but it doesn’t show the full path for all the stacks when=
‘where’ and ‘bt’ command is used. How to enable gd=
b to show the full path of the source file for all the stacks
when ‘where’ or ‘bt’ command is used?</div>
<div> </div>
<div>-Seto</div>
<div><font face=3D"Times New Roman"> </font></div>
<div><font face=3D"Times New Roman"> </font></div>
</font>
</body>
</html>
--_000_FA55764C79D5A24AB35A9F169615D4F9F0563A7BUS01WXMBX1inter_--