This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Warning: Couldn't restore frame in current thread


Hi,

the problem is identified:

when I issue the command "info thread" in the console window, the warning message
appears (only once, when I use this command again without leaving the console window, it
will not show up a second time). If I leave the console window and enter it again, it
will again appear.

Some time ago I had opened the window "Processes" (via "View" and "Thread list" in the
Source window), which has the effect that every time the process is stepped further, the
warning message appears.

Close the Processes Window, and the warning message is gone.


I have downloaded the recent snapshot. Compilation stopped with an error and the
following message:

gcc -c  -I. -I. -I/cygdrive/g/insight+dejagnu-20010503/tcl/generic -I/cygdrive/g
/insight+dejagnu-20010503/tk/generic -I/cygdrive/g/insight+dejagnu-20010503/tk/x
lib -DEXP_VERSION=\"5.26\" -DSCRIPTDIR=\"/usr/local/share\" -DEXECSCRIPTDIR=\"/u
sr/local/lib\" -DTCL_DEBUGGER -g -O2  -DCYGWIN_ALTTCL -DDFLT_STTY="\"sane\""  ex
p_command.c
In file included from /usr/include/w32api/windef.h:145,
                 from /usr/include/w32api/windows.h:98,
                 from exp_command.c:626:
/usr/include/w32api/winnt.h:48: parse error before `CCHAR'
/usr/include/w32api/winnt.h:48: warning: data definition has no type or storage
class
/usr/include/w32api/winnt.h:68: parse error before `*'
/usr/include/w32api/winnt.h:68: warning: data definition has no type or storage
class
/usr/include/w32api/winnt.h:69: parse error before `*'
/usr/include/w32api/winnt.h:69: warning: data definition has no type or storage
class
/usr/include/w32api/winnt.h:79: parse error before `TCHAR'
/usr/include/w32api/winnt.h:79: warning: data definition has no type or storage
class
/usr/include/w32api/winnt.h:82: parse error before `TBYTE'
/usr/include/w32api/winnt.h:82: warning: data definition has no type or storage
class
/usr/include/w32api/winnt.h:83: parse error before `*'
/usr/include/w32api/winnt.h:83: warning: data definition has no type or storage
class
/usr/include/w32api/winnt.h:84: parse error before `*'
/usr/include/w32api/winnt.h:84: warning: data definition has no type or storage
class
...
...
many more error messages


Adding a line
#undef VOID
as line 41 in winnt.h solved the problem (probably not a useful general patch!?). This
also happened with the July 2000 Insight sources, so it may be a compatibility problem
with the new CYGWIN.

Holger




Keith Seitz schrieb:

> On Thu, 3 May 2001, Holger Vogt wrote:
>
> > The messages requested are:
> >
> > $ gcc -v
> > Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.3-4/specs
> > gcc version 2.95.3-4 (cygwin special)
> >
> > $ uname -a
> > CYGWIN_98-4.10 A7W7R0 1.3.1(0.38/3/2) 2001-04-24 20:01 i586 unknown
>
> You are using newer versions of cygwin and gcc than I am, but I don't
> think that is the problem...
>
> > Recompiled the July sources with CC='gcc -mwin32' configure, moved only gdb.exe to
> > /bin: gdb -nw is o.k., gdb exits without displaying any window.
>
> I would graqb the snapshot and rebuild and reinstall the whole thing.
> Development on Insight is beginning to pick up, and I think that you may
> be running into an imcompatibility between the binaries and the tcl code.
> (Have you tried reinstalling ALL of insight instead of just copying the
> exe?)
>
> > Is the email from Fernando Nasser directly related to my problem? Where could I
> > find the actual sources to apply this patch?
>
> Actually, I have no idea what Fernando is talking about. I would wait for
> a response from him...
>
> Keith



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]