This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: [PATCH] Re: pthread
On Fri, May 04, 2001 at 07:32:52AM +1000, Robert Collins wrote:
> Thanks Alan
>
> Can you list the 5 lines before and after twm.c:291.
> Also can you do update to CVS cygwin and the latest gdb that chris has
> built - he's fixed some headaches with gdb so that we can get better
> info in backtraces.
>
I'll have to get the latest cygwin tommorrow. But attached at the end
is the code snapshot from twm.c - I've highlighted line 291.
> I'm interest in what frames 2,1, and 0 are(cygwin+gdb update), and if
> there are multiple threads at this point in time (info threads).
>
This is the information from 'info threads'
3 thread 130.0x10d 0x77f68007 in ?? ()
2 thread 130.0x125 0x77f682cb in ?? ()
* 1 thread 130.0x10a 0xd19025ff in ?? ()
Alan.
----
XtToolkitInitialize ();
appContext = XtCreateApplicationContext ();
if (!(dpy = XtOpenDisplay (appContext, display_name, "twm", "twm",
NULL, 0, &zero, NULL))) {
fprintf (stderr, "%s: unable to open display \"%s\"\n",
ProgramName, XDisplayName(display_name));
exit (1);
}
if (fcntl(ConnectionNumber(dpy), F_SETFD, 1) == -1) {
fprintf (stderr,
"%s: unable to mark display connection as close-on-exec\n",
ProgramName);
exit (1);
}
if (restore_filename)
ReadWinConfigFile (restore_filename);
>>line 291
>> HasShape = XShapeQueryExtension (dpy, &ShapeEventBase, &ShapeErrorBase);
HasSync = XSyncQueryExtension(dpy, &SyncEventBase, &SyncErrorBase);
TwmContext = XUniqueContext();
MenuContext = XUniqueContext();
IconManagerContext = XUniqueContext();
ScreenContext = XUniqueContext();
ColormapContext = XUniqueContext();