* Re: No source display when debugging via RDI
[not found] ` <39A54586.241541B9@firetalk.com>
@ 2000-08-24 9:10 ` Tim Chick
0 siblings, 0 replies; only message in thread
From: Tim Chick @ 2000-08-24 9:10 UTC (permalink / raw)
To: Keith Seitz, Grant Edwards; +Cc: insight
> CRAP! I know exactly what the problem is, then. Geez, all these little
> gotcha's all over the place. What's happening here is that while gdb
> uses cygwin, tcl does not. We are attempting to stat the file
> "/t/Grante/rpshsi2p/mustang/rpshsi2p.c" using tcl. Well, "/t/..." is not
> a legal Windows path. We need to either convert the path to a windows
> path OR write a routine in C to stat the file for us (so that it will
> use cygwin). Sheesh. I even wrote that mess, and I didn't remember to do
> that!! Shame on me.
I sent a mail a while ago describing how to modify TCL such that stat
(and numerous other commands) would work with cygwin paths:
Modifiying the Tcl_TranslateFileName function, in
insight-5.0\tcl\generic\tclFileName.c as follows
corrects this, and Insight works correctly.
Compare: (<)E:\cygnus\src\original\insight-5.0\tcl\generic\tclFileName.c
with: (>)E:\cygnus\src\insight-5.0\tcl\generic\tclFileName.c
923a923,927
> char dos_name[PATH_MAX];
>
> cygwin_conv_to_win32_path( name, dos_name );
>
> name=dos_name;
Note that if I happened to have / mounted as E:\ insight
would have worked without the above patch.
Does the RDI stuff work under Cygwin now? I tried a while ago,
came accross the bug above, then found that I had no way to break
my target once it was running!
Tim
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-08-24 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20000823162706.A19907@visi.com>
[not found] ` <39A5177E.81B4FCCC@firetalk.com>
[not found] ` <20000824103819.A9059@visi.com>
[not found] ` <39A54586.241541B9@firetalk.com>
2000-08-24 9:10 ` No source display when debugging via RDI Tim Chick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).