From: "Sp3cial K" <ikiwibebe@hotmail.com>
To: gdb@sources.redhat.com
Subject: Linetable
Date: Wed, 27 Jul 2005 21:54:00 -0000 [thread overview]
Message-ID: <BAY105-F30098F9AB996CA003A647EBACC0@phx.gbl> (raw)
Hi, can someone please explain how symtab->linetable is constructed?
The linetable sometimes contain consecutive entry of the same line number
but a different pc (only a few bits different). I originally went into a
problem when setting a breakpoint to an overloaded function. For each of
the functions, the linetable contains two entries with same line number and
slightly different pc, but these entries are not in NAS.map!
I just debugged one of my images and hereÂs what the linetable for the
symtab containing the overloaded function ÂInterface::get looks like:
index line pc in dex pc in hex
28 251 8775424 85e700
29 251 8775427 85e703
30 0 8775434 85e70a
31 255 8775434 85e70a
32 255 8775437 85e70d
33 0 8775444 85e714
34 259 8775444 85e714
35 259 8775447 85e717
36 0 8775454 85e71e
37 261 8775454 85e71e
38 261 8775457 85e721
39 0 8775464 85e728
40 264 8775464 85e728
EtcÂ
From symbol table:
0085e700 W Interface::get(unsigned&, unsigned&, unsigned&, unsigned&,
unsigned&)
No entry for 0085e703
0085e70a W Interface::get(unsigned char*&)
No entry for 0085e70d
0085e714 W Interface::interfaceUp()
No entry for 0085e717
0085e71e W Interface::interfaceDown()
No entry for 0085e721
0085e728 W Interface::getType()
EtcÂ
Thanks in advance!
~K
next reply other threads:[~2005-07-27 21:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-27 21:54 Sp3cial K [this message]
2005-07-27 22:01 ` Linetable Jason Molenda
2005-07-28 0:12 ` Linetable Sp3cial K
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=BAY105-F30098F9AB996CA003A647EBACC0@phx.gbl \
--to=ikiwibebe@hotmail.com \
--cc=gdb@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).