Subject: Re: bug#62291: 30.0.50; PGTK copy + paste to other app problem

From: Eli Zaretskii <[email-masked]>
Date: Thu, 23 Mar 2023 09:16:34 +0200

> Cc: [email-masked]
> From: Andrew Tropin <[email-masked]>
> Date: Thu, 23 Mar 2023 09:18:45 +0400
> 
> (gdb) frame 12
> #12 0x00007ffff798ac04 in gtk_widget_event_internal (widget=widget@entry=0xf04510, even7808    in gtkwidget.c
> (gdb) p widget
> $2 = (GtkWidget *) 0xf04510
> (gdb) p Vframe_list
> 'Vframe_list' has unknown type; cast it to its declared type
> (gdb) xcar
> Undefined command: "xcar".  Try "help".
> (gdb) xframe
> Undefined command: "xframe".  Try "help".

To solve the last two problems, do this:

  (gdb) source /path/to/emacs/src/.gdbinit

These are commands we define in .gdbinit which comes with Emacs.