gdb trouble

Corinna Vinschen cygwin@cygwin.com
Tue Nov 13 08:31:00 GMT 2001


On Tue, Nov 20, 2001 at 10:17:20AM -0800, Keith Seitz wrote:
> On Tue, 20 Nov 2001, Corinna Vinschen wrote:
> 
> > gdb is a Cygwin application.  It can act using POSIX paths and
> > Cygwin mount points.  The GUI is not a Cygwin app.  It acts
> > using native Windows paths.  Nobody has ported that stuff to
> > Cygwin so far.  AFAIK.
> 
> Ok, now you can add me to the confused list, too.

Yeah, me too.  What I told was based on what you've written
in your previous posting.  I have no real clue of the GUI
since I'm always using gdb -nw.  You should know that better
than me so please explain it.

Corinna

> Insight (I assume this is the GUI gdb we're talking about?) is built on
> gdb. Gdb is a cygwin app, and, therefore, Insight is, too.
> 
> In both apps, I can type "file /home/keiths/foo.exe" and it will load
> C:\Cygwin\home\keiths\foo.exe. Is this not cygwin-awareness?
> 
> What does NOT work, however, is Tcl. The tcl interp in Insight is _not_
> cygwin aware, so you cannot do something like:
> 
>   (gdb) tk file stat /home/keiths/foo.exe
> 
> Instead, you need to use something like:
> 
>   (gdb) tk file stat [ide_cygwin_path to_win32 /home/keiths/foo.exe]
> 
> ??
> Keith

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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



More information about the Cygwin mailing list