This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debuging a stripped library


On 01/04/2010 11:59 AM, Vincent R. wrote:
> Hi,
> 
> I am working on mac with apple gcc/gdb but I think the answer to my
> question
> should apply to vanilla gcc/gdb.
> I would like to debug a binary dynamically linked with some libraries only
> available
> in release mode (no debug symbols). What I would like to do is to step
> into those libraries
> but when I try it doesn't work because of course there is no available
> symbols.
> However would it be possible to step into using an assembly mode or
> something like that,
> I suppose even if there is no symbol it should be possible to follow
> program counter inside
> the libs. I am interested to see asm statements.

Use the gdb command "si", not "s".

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]