emacs-devel
[Top][All Lists]
Advanced

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

Re: GDB and compiler-operations (was: Lisp_Marker size on 32bit systems)


From: Eli Zaretskii
Subject: Re: GDB and compiler-operations (was: Lisp_Marker size on 32bit systems)
Date: Fri, 07 Sep 2018 17:23:45 +0300

> From: Stefan Monnier <address@hidden>
> Date: Fri, 07 Sep 2018 10:12:06 -0400
> 
> BTW, after too many years learning to only use C functions and variables
> in GDB (and not macros, CPP constants, or other compile-time-only
> thingies), I only recently started to extend my GDB world.

Good for you!

> Along the way I discovered that while `sizeof` works great, `offsetof`
> gives me an error:
> 
>     No symbol "offsetof" in current context.

AFAIK, GDB has special support for sizeof, but not for offsetof.
Maybe you should ask for a new GDB feature.  Or you could use the
trick I used when Paul asked for values of offsets.



reply via email to

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