emacs-devel
[Top][All Lists]
Advanced

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

Re: Can't set conditional break point using AREF/NILP


From: Eli Zaretskii
Subject: Re: Can't set conditional break point using AREF/NILP
Date: Mon, 03 Jan 2022 14:28:38 +0200

> From: Sean Whitton <spwhitton@spwhitton.name>
> Date: Sun, 02 Jan 2022 15:38:52 -0700
> 
>     ./configure
>         --config-cache --with-native-compilation --with-pgtk
>         --enable-checking='yes,glyphs' CFLAGS='-O0 -g3' && make
> 
> and I get a similar-looking error:
> 
>     Breakpoint 2 at 0x345830: file ftfont.c, line 230.
>     (gdb) condition 2 AREF (entity, FONT_WEIGHT_INDEX) == Qnil
>     (gdb) r
>     Starting program: /home/spwhitton/src/emacs/src/emacs 
>     [Thread debugging using libthread_db enabled]
>     Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>     [New Thread 0x7fffef6a2700 (LWP 2427493)]
>     [New Thread 0x7fffee7a8700 (LWP 2427494)]
>     [New Thread 0x7fffeddee700 (LWP 2427495)]
>     [New Thread 0x7fffed032700 (LWP 2427496)]
>     [New Thread 0x7fffdffff700 (LWP 2427497)]
>     [New Thread 0x7fffdf66e700 (LWP 2427498)]
>     Error in testing breakpoint condition:
>     Couldn't get registers: No such process.
>     An error occurred while in a function called from GDB.
>     Evaluation of the expression containing the function
>     (AREF) will be abandoned.
>     When the function is done executing, GDB will silently stop.
>     Selected thread is running.

Then maybe it's a problem with your system architecture, and you need
to expand the macro "by hand" for GDB to swallow it.  Sorry I couldn't
be of more help.



reply via email to

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