.gdbinit, Lisp_Type_Char, and DWARF-2 vs. stabs

Stephen J. Turnbull stephen at xemacs.org
Fri May 26 05:19:20 EDT 2006


>>>>> "Jerry" == Jerry James <james at xemacs.org> writes:

    Jerry> Moving the discussion to xemacs-beta...
    Jerry> Malcolm Purvis <malcolmp at xemacs.org> wrote:


    >> Unrelated to these changes, but on the topic of .gdbinit, does
    >> anyone else have problems with gdb define 'pobj'?  Whenever I
    >> try and use it I get the following:

    >> (gdb) pobj Qnil
    >> No symbol "Lisp_Type_Char" in current context.

    Jerry> Yes, darn it.  What gcc are you using?  I'm running Fedora
    Jerry> Core 5, and have gcc-4.1.0-3 from that distribution.

I see this with several versions of gcc-3 on Mac OS X as well.  I
haven't built with gcc-2 in a while, since I get library 

If you build with --with-union-type you'll be OK.  (That's why I
didn't see it before, I habitually use union type since it catches the
"return integers from DEFUNs" bugs that I make a lot.)

You could also do the hack that is used for integers and set
Lisp_Type_Char 2 explicitly.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list