Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: William Tambe <tambewilliam@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Incorrect symbol name displayed in backtrace
Date: Fri, 07 Feb 2020 05:27:00 -0000	[thread overview]
Message-ID: <f5fee985-1aa9-c311-836c-7a970b441a0f@simark.ca> (raw)
In-Reply-To: <5a34d21b-e359-9ef1-25a6-3c7a40a286e8@simark.ca>

On 2020-02-07 12:25 a.m., Simon Marchi wrote:
> On 2020-02-06 10:55 p.m., William Tambe wrote:
>> Is it possible to have pointers in the code where symbol names are
>> printed for the backtrace and where they are printed for the command
>> "p" ?
> 
> For the frame, I would start at print_frame_info in frame.c.  For the print command,
> I would break on print_value in printcmd.c.

Sorry, print_frame_info is in stack.c.

Simon


      reply	other threads:[~2020-02-07  5:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06  4:37 William Tambe
2020-02-07  3:32 ` Simon Marchi
2020-02-07  3:56   ` William Tambe
2020-02-07  5:25     ` Simon Marchi
2020-02-07  5:27       ` Simon Marchi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5fee985-1aa9-c311-836c-7a970b441a0f@simark.ca \
    --to=simark@simark.ca \
    --cc=gdb@sourceware.org \
    --cc=tambewilliam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox