delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/17/00:13:49

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
Date: Tue, 16 Oct 2001 21:11:59 -0700
From: Steve Kelem <s_kelem AT pacbell DOT net>
Subject: cygwin, emacs-20.7, POSE, gdbplug
To: thomas AT computer DOT org, Cygwin <cygwin AT sourceware DOT cygnus DOT com>
Message-id: <3BCD050F.4010607@pacbell.net>
MIME-version: 1.0
X-Accept-Language: en-us
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
Gecko/20010726 Netscape6/6.1

I know this sounds crazy, but I'm trying to get the gdb plugin to work 
in emacs 20.7 with the latest cygwin and the latest POSE, oh yeah, on 
Windows 2K.

Everything seems to work, except for finding the source directory.
I start gdb from the directory with the source and the compiled palm 
executables (c:/Palm/Pmines/pmines/src).
I tell gdb "target pilot localhost:2000", start the app on POSE, and gdb 
stops at the correct place...
expect that the source window it opens is in a non-existent directory:

Current directory is c:/Palm/Pmines/pmines/src/
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 "--host=i686-pc-cygwin --target=m68k-palmos"...
(gdb) target pilot localhost:2000
Remote debugging under PalmOS using localhost:2000
Waiting... (Press Ctrl-C to connect to halted machine)

Program received signal SIGTRAP, Trace/breakpoint trap.
0x1cd840 in PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142) at mine.c:801
(gdb) s
(gdb)

Here emacs opens a file called mine.c, but it's 
c:/c/Palm/Pmines/pmines/src/mine.c
instead of c:/Palm/Pmines/pmines/src/mine.c or 
/c/Palm/Pmines/pmines/src/mine.c

Does anyone have an idea of how to fix this?

Thanks,
Steve Kelem


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