Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 19 Mar 2001 19:47:43 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How do you use GDB to debug GDB Message-ID: <20010319194743.C29979@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3AB66C8B DOT 1F73F415 AT home DOT com> <20010319164418 DOT A28578 AT redhat DOT com> <3AB69FE5 DOT C7F64D5F AT home DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3AB69FE5.C7F64D5F@home.com>; from ischis2@home.com on Mon, Mar 19, 2001 at 05:10:13PM -0700 On Mon, Mar 19, 2001 at 05:10:13PM -0700, Stephen Smith wrote: >Well, it didn't work when I tried it. Don't know why, but I tried >using gdb and then manually loaded everything. It really does work. I'd be lost without that functionality. I assume that you were using the Cygwin PID rather than the Windows PID. cgf >Christopher Faylor wrote: > >> On Mon, Mar 19, 2001 at 01:31:07PM -0700, Stephen Smith wrote: >> >I have a gdb debugger configured to for a remote target (host i686-pc-cygwin target=powerpc-motorola-elf). normally I >> >run gdb as: >> > >> > powerpc-motorola-elf-gdb --command=C:/rti/bin/rtidbug.ini C:/examples/dll/main.exe >> > >> >Now I want to run the gdb against the above process. Since I am running this in a Windows NT command shell I can't use >> > gdb /usr/local/bin/powerpc-motorola-elf-gdb some_process_id >> >> Yes, you can. some_process_id == the windows pid of the process. This is >> displayed when you type 'ps'. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple