Re: New warning in GDB 7.5

Tom Tromey
2012-08-20T15:01:27Z

>>>>> "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