GNU bug report logs - #30019
26.0.90; Invalid specification of parent-frame with desktop-read

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Mon, 8 Jan 2018 02:50:02 UTC

Severity: normal

Found in version 26.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: rudalics <at> gmx.at, 30019 <at> debbugs.gnu.org
Subject: bug#30019: 26.0.90; Invalid specification of parent-frame with desktop-read
Date: Tue, 09 Jan 2018 20:40:14 +0200
> From: Aaron Jensen <aaronjensen <at> gmail.com>
> Date: Tue, 9 Jan 2018 08:21:57 -0800
> 
> Btw, is there a guide to setting a breakpoint in C code for emacs
> source?

You mean, how to use GDB?  You'd need to read the GDB manual.  The
command is "break".  In this case, I'd set a breakpoint at entry to
x_set_parent_frame:

  (gdb) break x_set_parent_frame

and when it breaks, do this:

  (gdb) p f->output_method

If the result is not output_x_window, then FRAME_X_P would yield
zero, because it's definition is

  #define FRAME_X_P(f) ((f)->output_method == output_x_window)

There's some advice on debugging Emacs in etc/DEBUG, but it doesn't
teach you basic GDB.




This bug report was last modified 4 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.