From: Michael Snyder <msnyder@specifix.com>
To: Jiju George T <jiju.george@nestgroup.net>
Cc: gdb@sources.redhat.com
Subject: Re: gdb command for listing assembly labels
Date: Fri, 18 Jul 2008 03:02:00 -0000 [thread overview]
Message-ID: <1216350137.3549.380.camel@localhost.localdomain> (raw)
In-Reply-To: <003001c8e750$253920c0$390aa8c0@ashmicro.ashling.com>
On Wed, 2008-07-16 at 15:27 +0100, Jiju George T wrote:
> Hi,
>
> I am using gdb based on 6.8 version cross compiled for mips-linux to debug
> a MIPS Linux kernel. I would like know is there any command in gdb to list
> all the assembly labels?
>
> I tried "info function" which lists C like functions and "info variables"
> which lists the global variables. I could n't find any command which lists
> all labels in assembly files.
No, but if you do either of the above (info functions or info
variables), gdb should separate the functions (or variables)
into two lists -- those that have source level debug info, and
those that don't.
Your assembly labels should be among the later list.
Unfortunately, they'll be mixed together with high-level
symbols from source files compiled without "-g", but
maybe this will be some help.
prev parent reply other threads:[~2008-07-18 3:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 14:28 Jiju George T
2008-07-16 14:33 ` Daniel Jacobowitz
2008-07-18 3:02 ` Michael Snyder [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=1216350137.3549.380.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--cc=gdb@sources.redhat.com \
--cc=jiju.george@nestgroup.net \
/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