emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS codegen


From: Gerd Möllmann
Subject: Re: MPS codegen
Date: Fri, 14 Jun 2024 14:43:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>   $2 = (struct Lisp_Symbol *) 0xee7f98 <lispsym+21432>
>   (gdb) p *$
>   $3 = {
>     u = {
>       s = {
>       gcmarkbit = 0,
>       redirect = SYMBOL_FORWARDED,
>       trapped_write = SYMBOL_UNTRAPPED_WRITE,
>       interned = SYMBOL_INTERNED_IN_INITIAL_OBARRAY,

...

>   (gdb) p $2->u.s.val
>   $6 = {
>     value = XIL(0x1a986958),
>     alias = 0x1a986958,
>     blv = 0x1a986958,
>     fwd = {
>       fwdptr = 0x1a986958
>     }
>   }
>   (gdb) p $2->u.s.val.value

For SYMBO:_FORWARDED, I think sym->u.val.fwd should be used. So I think
maybe it is somwhere in that direction. Perhaps function mirror_fwd?

>   $7 = XIL(0x1a986958)
>   (gdb) xtype
>   Lisp_Symbol
>   (gdb) xsymbol
>   $8 = (struct Lisp_Symbol *) 0x1b869538
>   Cannot access memory at address 0x1b86953c
>   (gdb)
>
> Any ideas or suggestions?  Does the current branch build on GNU/Linus
> as a 32-bit executable?

No idea.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]