Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / October 2006



Tip: Looking for answers? Try searching our database.

gdb can not step a single instruction on Mac

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
salmister@hotmail.com - 26 Oct 2006 16:42 GMT
I am new to the mac development environment and having problems running
gdb on mac x86. I am trying to step a single instruction with stepi but
it is behaving like continue. Is this a known problem with gdb on mac?
I am compiling with -ggdb and I am able to view the next instruction
with no problems.
Tom Harrington - 26 Oct 2006 17:17 GMT
> I am new to the mac development environment and having problems running
> gdb on mac x86. I am trying to step a single instruction with stepi but
> it is behaving like continue. Is this a known problem with gdb on mac?
> I am compiling with -ggdb and I am able to view the next instruction
> with no problems.

Surprisingly, Mac developers do actually debug software, so this is not
a known problem.  Based on the sparse information you've provided it's
hard to say what might be wrong, although at a guess I'd ask if you're
optimizing with one of the -O flags.  Doing that can make debugging
difficult, and is generally not recommended (unless it's -O0).

Signature

Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.