[Top][All Lists]

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

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

From: Sean Whitton
Subject: Re: Can't set conditional break point using AREF/NILP
Date: Sun, 02 Jan 2022 15:38:52 -0700
User-agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu)


On Sun 02 Jan 2022 at 08:42AM +02, Eli Zaretskii wrote:

> What version of GDB is that, and was it built with Python support?
> I have GDB 11.1 here.

I have the one in Debian bullseye: GNU gdb (Debian 10.1-1.7)  Looks like it has Python support:

    ~ % gdb --configuration | grep python
                 --with-python=/usr (relocatable)
                 --with-python-libdir=/usr/lib (relocatable)

> Also, did you perhaps use the --enable-check-lisp-object-type
> configure-time switch?  If so, please rebuild without it.

I did have that on, but removing it does not help.  I did

        --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.
    (gdb) [Switching to thread 1 (Thread 0x7ffff046e400 (LWP 2427486))]
    #0  ftfont_pattern_entity (p=0x5555564dff20, extra=XIL(0x55555620bdf3)) at 
    230   if (FcPatternGetInteger (p, FC_SLANT, 0, &numeric) == FcResultMatch)

Sean Whitton

reply via email to

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