Hi,
For the record,
I had to change .gdbinit.in to avoid these errors.
My gdb --version is
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
And to comment out
lrecord_type_fc_fontset
lrecord_type_fc_objectset
lrecord_type_lcrecord_list
from the "switch" statement.
(NB: I have MC_ALLOC defined at compile time,
so lrecord_type_lcrecord_list does not exist).
Here is the diff:
Index: .gdbinit.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/.gdbinit.in,v
retrieving revision 1.1
diff -r1.1 .gdbinit.in
58a59,60
set $Lisp_Type_Record = 0
set $Lisp_Type_Char = 2
68c70
< if $type == Lisp_Type_Char
---
if $type == $Lisp_Type_Char
76c78
< if $type == Lisp_Type_Record
---
if $type == $Lisp_Type_Record
103c105
< if $type == Lisp_Type_Char
---
if $type == $Lisp_Type_Char
252c254
< if $type == Lisp_Type_Char
---
if $type == $Lisp_Type_Char
349,351c351,353
< if $lrecord_type == lrecord_type_lcrecord_list
< pstructtype lcrecord_list
< else
---
# if $lrecord_type == lrecord_type_lcrecord_list
# pstructtype lcrecord_list
# else
418,423c420,425
< if $lrecord_type == lrecord_type_fc_objectset
< pstructtype fc_objectset
< else
< if $lrecord_type == lrecord_type_fc_fontset
< pstructtype fc_fontset
< else
---
# if $lrecord_type == lrecord_type_fc_objectset
# pstructtype fc_objectset
# else
# if $lrecord_type == lrecord_type_fc_fontset
# pstructtype fc_fontset
# else
482,484c484,486
< end
< end
< end
---
# end for lrecord_type_fc_fontset
# end for lrecord_type_fc_objectset
# end for lrecord_type_lcrecord_list
End of diff
Sylvain.
On 12/13/05, Ralf Angeli <angeli(a)iwi.uni-sb.de> wrote:
Here are some results:
(gdb) pobj 146790248
No symbol "Lisp_Type_Char" in current context.
(gdb) frame 4
#4 0x08117a56 in error_check_charset (obj=146790248,
file=0x83091d5 "objects-x.c", line=937) at charset.h:240
240 DECLARE_LRECORD (charset, Lisp_Charset);
(gdb) pobj 146790248
No symbol "Lisp_Type_Char" in current context.
(gdb) pobj obj
No symbol "Lisp_Type_Char" in current context.
(gdb) pobj *obj
No symbol "Lisp_Type_Char" in current context.
Just tell me if you need more information.
--
Ralf