[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: gdb command for listing assembly labels
From:       Michael Snyder <msnyder () specifix ! com>
Date:       2008-07-18 3:02:17
Message-ID: 1216350137.3549.380.camel () localhost ! localdomain
[Download RAW message or body]

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 in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic