delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <20020614062337.82017.qmail@web11505.mail.yahoo.com> |
Date: | Thu, 13 Jun 2002 23:23:37 -0700 (PDT) |
From: | Hang Sun <sunh11373 AT yahoo DOT com> |
Subject: | how to debug <Apache module> with <gdb> |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Hi, I tried to use gdb to debug an Apache module on cygwin on WinXP. The Apache version is 1.3.24-5 for Cygwin (not the Window native port version) The Cygwin.dll 1.3.10 The gdb is 20020411-1 I have to compile the Apache using static linking, otherwise gdb complains when I try to set a break point, the error says Cannot access memory at xxxxxxxxx When compile Apache using static linking, I am able to set the break point. However if I try gdb> r -X // with single process mode The gdb just hangs and won't allow me to do anything further If I don't use -X then the Apache will create some child process and exits. So how can I debug the module? Anyone has experience? Thanks HS __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |