Re: debugging xterm.

From: Mike A. Harris (mharris@opensourceadvocate.org)
Date: Tue May 22 2001 - 08:26:48 EST


On Mon, 21 May 2001, Adam wrote:

>I'm trying to debug xterm and it seems like it is just not my day (I
>suppose the "Abandon All Hope, Ye Who Enter Here" in the README for xterm
>is for a reason there after all :P )
>
>I running gdb on xterm. I'm running it as root, the current execution is
>at main.c:main() and gdb seems to get lost when calling getuid), any idea?
>Is there something special about getuid() I'm missing?
>
>(gdb) next
>1612 uid_t ruid = getuid();
>2: screen->respond = 1448543468
>1: screen = (TScreen *) 0x4000ae60
>(gdb) next
>1613 gid_t rgid = getgid();
>2: screen->respond = Cannot access memory at address 0x4
>Disabling display 2 to avoid infinite recursion.
>(gdb)
>
>it does not know where screen data structure is anymore..

This has nothing to do with the Linux kernel whatsoever. Please
send your request to xpert@xfree86.org for help.

----------------------------------------------------------------------
    Mike A. Harris - Linux advocate - Open Source advocate
       Opinions and viewpoints expressed are solely my own.
----------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:45 EST