Re: debugging inline assembler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lukas writes:
 > Hi.
 > I'm using in line assembler in g++, and i wont to
 > debug 
 > lines in 'asm(....)' unfortunately 'gdb' just skip it.

You're using the wrong commands in gdb.

Put a breakpoint on func, then

disp/i $pc
si

... etc.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux