incognito wrote:
> We can trace the execution with gdb of the assembly code generated by
> gcc with the -g option, but can't see the content of registries as we
> do so. Is there any way that we can do that
Of course you can do that. Have a look at the GDB docs - it's listed
under "Examining Data/Registers".
<http://tinyurl.com/5pafv>
<http://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_toc.html>
> (God I miss MacsBug)
Have a look at this TechNote from Apple - "GDB for MacsBug Veterans".
<http://tinyurl.com/4pg8y>
<http://developer.apple.com/technotes/tn/tn2030.html>
sherm--
--
Cocoa programming in Perl: <a style='text-decoration: underline;' href="http://camelbones.sourceforge.net" target="_blank">http://camelbones.sourceforge.net</a>
Hire me! My resume: <a style='text-decoration: underline;' href="http://www.dot-app.org" target="_blank">http://www.dot-app.org</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Debugging tool to complete gcc and gdb on OS X