delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/29/07:44:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <004a01bfe1c0$71517f00$61241004@homepc.freedsl.com>
Reply-To: "Dave Arnold" <avr_fan AT mailandnews DOT com>
From: "Dave Arnold" <avr_fan AT nettaxi DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Cygwin port of GDB not working too well...
Date: Thu, 29 Jun 2000 04:52:00 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

hi,

I've been trying to use the gdb.exe that came with my cygwin install.
The tcl/tk gui is great! *But* the problem is that when I try setting a
break point and running to that point, it ends up going straight the end of
main and misses all breakpoints
in between.

When trying to setup breakpoints and running from the console I get an error
message. What could be wrong? Does anyone use the cygwin gdb successfully?

gdb) break 100
Breakpoint 6 at 0x18cb: file load5.c, line 100.

(gdb) set args data5.txt
(gdb) show args
Argument list to give program being debugged when it is started is
"data5.txt".

(gdb) run
Starting program: /gcc130/lab5/load5 data5.txt

Error: Error creating process /gcc130/lab5/load5, (error 193)


Sometimes, It breakpoints in the middle of some function ccrt0 or something
like that and it looks like all cgywin dll stuff.

All I want to do is to be able to single step my program and see the current
instruction, set some breakpoints, and view variables,etc. I don't want to
see all the cygwin library stuff.

What could be wrong?

/dAVe




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019