Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BE7A34C.2000608@netcom.es>
Date: Tue, 06 Nov 2001 08:46:04 +0000
From: Ignasi Villagrasa <gri@netcom.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@cygwin.com>
Subject: gdb questions
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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/

