delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/06/03:48:41

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: <3BE7A34C.2000608@netcom.es>
Date: Tue, 06 Nov 2001 08:46:04 +0000
From: Ignasi Villagrasa <gri AT netcom DOT es>
Organization: gri
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-es
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: gdb questions

Hi everyone,

I'm migrating several programs from Watcom 10.5 to gcc compiler. I'm 
using gdb to debug some code and have two quetions.


1)   When I run gdb following information appears:

C:\WINNT\system32>gdb -nw
GNU gdb 5.0 (20010428-1)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
      0 [main] gdb 924 init_cygheap::etc_changed: Can't open /etc for 
checking,
Win32 error 50
(gdb)

I think this is a configuration issue, but I don't know what to check. 
I'd need a hint.

2) I'm trying to run gdb.exe to debug a program with several parameters.

I've seen there is an option, set argvs, inside gdb command line to this 
purpose. But in order to automatize the process I'd like to know if 
there's any gdb command line option or any config file where I can add 
these parameters. I haven't seen any.

Thanks in advance, Ignasi Villagrasa.





--
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/

- Raw text -


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