how to debug with the crash especially with the corrupt stack in multi-thread environment using gdb.

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Mon Dec 25 15:20:00 GMT 2006


andy wang wrote:
> Hi, All:
>> now I get a new question: how to debug with the crash, especially
> with the corrupt stack in multi-thread environment using gdb.
>> I found a related post using "info reg, watch 0x2300000" such low
> level command to trace a crash.
> http://www.cygwin.com/ml/cygwin/2004-02/msg00921.html
>> My question is where I can start? Can you please recommand some
> articles or books or some tips? Thanks a lot.

Download a snapshot with symbols so you get better stack info:
<http://cygwin.com/snapshots/>
Either that, or build cygwin yourself with debugging info so you can
do the same and play with the source.
-- 
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /