delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/29/14:35:53

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 29 Jun 2000 14:34:39 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Can gdb debug win32 native program?
Message-ID: <20000629143439.A7643@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <7840643F05B5D3119B9A0000F807175702BD85DD AT SJP01014>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <7840643F05B5D3119B9A0000F807175702BD85DD@SJP01014>; from Motohiko.Nagano@jp.sony.com on Wed, Jun 28, 2000 at 02:27:17PM +0900

On Wed, Jun 28, 2000 at 02:27:17PM +0900, Motohiko DOT Nagano AT jp DOT sony DOT com wrote:
>Can anyone tell me how to use gdb to debug win32 native process?
>
>Using gdb in cygwin B20.1, I can debug win32 native process.
>
>But, using gdb in cygwin 1.1.2, I can't debug.
>
>For example, when I debug notepad.exe, I get this error log.
>
>--------------------------------------------------------------------------------------------------------
>bash-2.04$ gdb -nw
>GNU gdb 5.0
>Copyright 2000 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".
>(gdb) target exec E:\\WINNT\\notepad.exe
>"E:\WINNT\notepad.exe": not in executable format: File format not recognized
>(gdb)
>
>-----------------------------------------------------------------------------------------------------------

I have no problems issuing the above command or in using the more common
"file notepad.exe".

I'm not sure why you are having problems.  Possibly the only way for you to
find out would be for you to debug gdb.exe itself.

cgf

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