This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New warning in GDB 7.5


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> Here, GDB needs to know what is Lisp_String and Lisp_Symbol, and also
Eli> the various bit masks used by xgetptr (defined earlier in the file).

I think it will all just work.
And, Mark is right, if it doesn't work, it is a gdb bug.

It seems to work ok for me.  For example:

    barimba. gdb -nx ./src/emacs 
    [...]
    (gdb) p (struct Lisp_Symbol *) 0
    $1 = (struct Lisp_Symbol *) 0x0

It works similarly with Lisp_String.

Could you try commenting out the "set" lines in your .gdbinit and then
see if something doesn't work?

Tom


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