| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <8F23E55D511AD5119A6800D0B76FDDE11E0F5D@cpex3.channelpoint.com> |
| From: | Troy Noble <troy DOT noble AT channelpoint DOT com> |
| To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| Subject: | Am set up for debugging... what next. |
| Date: | Mon, 23 Apr 2001 15:56:49 -0600 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2653.19) |
| X-Scanned-By: | MIMEDefang 1.0 (http://www.roaringpenguin.com/mimedefang/) |
OK, I followed directions that Egor, Christopher, and DJ Delorie provided.
And now I need a little more direction.
- grabbed the latest DLL sources
- created an /obj directory, then ran
/src/configure --enable-debugging --prefix=/install
- did a make
- copied gdb.exe and known-good (i.e. OLD) cygwin1.dll to /gdb-working
- shut everything down and copied the new-cygwin1.dll over cygwin1.dll
- created a /gdb-working/startup_gdb.cmd that reads:
set CYGWIN_TESTING=1
set PATH=c:\gdb-working;%PATH%
c:\gdb-working\gdb.exe %1 %2
- in my .basrhc I set:
export CYGWIN='error_start=c:\gdb-working\start_gdb.cmd'
and started a new bash window of course, echo $CYGWIN
looks right.
Now I run:
$ sleep 30 &
$ ps
$ kill -11 <PID of the sleep 30 command here>
I see: [1]+ Segmentation fault sleep 30
Shouldn't gdb pop up at this point?
What am I missing here?
Apologies if this is the wrong list. Looked like the description
of cygwin-developers was for hard-core folks not just hobbyists
like myself who were trying to get to the root of a common
Access Violation so they can get back to being a user ;->
Thanks, Troy
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |