* gdb command for listing assembly labels
@ 2008-07-16 14:28 Jiju George T
2008-07-16 14:33 ` Daniel Jacobowitz
2008-07-18 3:02 ` Michael Snyder
0 siblings, 2 replies; 3+ messages in thread
From: Jiju George T @ 2008-07-16 14:28 UTC (permalink / raw)
To: gdb
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.
Thanks,
Jiju George T
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb command for listing assembly labels
2008-07-16 14:28 gdb command for listing assembly labels Jiju George T
@ 2008-07-16 14:33 ` Daniel Jacobowitz
2008-07-18 3:02 ` Michael Snyder
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-07-16 14:33 UTC (permalink / raw)
To: Jiju George T; +Cc: gdb
On Wed, Jul 16, 2008 at 03:27:58PM +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?
No, there isn't.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb command for listing assembly labels
2008-07-16 14:28 gdb command for listing assembly labels Jiju George T
2008-07-16 14:33 ` Daniel Jacobowitz
@ 2008-07-18 3:02 ` Michael Snyder
1 sibling, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2008-07-18 3:02 UTC (permalink / raw)
To: Jiju George T; +Cc: gdb
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-18 3:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-16 14:28 gdb command for listing assembly labels Jiju George T
2008-07-16 14:33 ` Daniel Jacobowitz
2008-07-18 3:02 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox