emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS codegen


From: Eli Zaretskii
Subject: Re: MPS codegen
Date: Fri, 14 Jun 2024 16:04:16 +0300

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: Helmut Eller <eller.helmut@gmail.com>,  acorallo@gnu.org,
>   emacs-devel@gnu.org
> Date: Fri, 14 Jun 2024 14:43:05 +0200
> 
> 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?

Sorry, I don't understand: all those values are identical, so how does
it matter which one we use?  Or what am I missing?



reply via email to

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