Detecting gdb.
Detecting gdb.
- Subject: Detecting gdb.
- From: Steve Checkoway <email@hidden>
- Date: Mon, 7 May 2007 23:40:56 -0700
Currently, I'm using <http://developer.apple.com/qa/qa2004/
qa1361.html> to detect if I'm running under gdb conditionalized on
debug builds as per the comment. I only use it to detect if gdb is
running in which case I call DebugStr() instead of performing the
usual crash handler code for failed asserts. (We treat a failed
assert as crash, call the crash handler and dump the stack and all
relevant data.)
My question is since I am building using the 10.2.8 sdk since I
haven't had any reason to upgrade that, how will I know if this
changes apart from things going horribly wrong in debug builds? Will
the headers change in the sdk to reflect any changes? My guess is no
since code compiled against that sdk is supposed to run on that OS.
Or am I worrying (and not very hard at that) about something that
isn't likely to change for years?
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden