aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2014-07-28 10:10:17 +0300
committerEli Zaretskii2014-07-28 10:10:17 +0300
commit29c3b7163526ad66fd3a9e4201797b2fca4c87be (patch)
treed26524aa446be982bbeeb49b8350655dcc2db644 /src
parentbc7f1625f6a06f153feb4253684a41ae2d96fb36 (diff)
downloademacs-29c3b7163526ad66fd3a9e4201797b2fca4c87be.tar.gz
emacs-29c3b7163526ad66fd3a9e4201797b2fca4c87be.zip
Fix GDB xwindow command.
src/.gdbinit (xwindow): The members total_cols, total_lines, left_col, and top_line are C integers (and has been so for the last 1.5 years).
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit10
-rw-r--r--src/ChangeLog6
2 files changed, 7 insertions, 9 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 715744bc18e..a74fe3db7a1 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -820,15 +820,7 @@ define xwindow
820 xgetptr $ 820 xgetptr $
821 print (struct window *) $ptr 821 print (struct window *) $ptr
822 set $window = (struct window *) $ptr 822 set $window = (struct window *) $ptr
823 xgetint $window->total_cols 823 printf "%dx%d+%d+%d\n", $window->total_cols, $window->total_lines, $window->left_col, $window->top_line
824 set $width=$int
825 xgetint $window->total_lines
826 set $height=$int
827 xgetint $window->left_col
828 set $left=$int
829 xgetint $window->top_line
830 set $top=$int
831 printf "%dx%d+%d+%d\n", $width, $height, $left, $top
832end 824end
833document xwindow 825document xwindow
834Print $ as a window pointer, assuming it is an Emacs Lisp window value. 826Print $ as a window pointer, assuming it is an Emacs Lisp window value.
diff --git a/src/ChangeLog b/src/ChangeLog
index f39526f4f4b..64fb82b78a3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12014-07-28 Eli Zaretskii <eliz@gnu.org>
2
3 * .gdbinit (xwindow): The members total_cols, total_lines,
4 left_col, and top_line are C integers (and has been so for the
5 last 1.5 years).
6
12014-07-20 Jan Djärv <jan.h.d@swipnet.se> 72014-07-20 Jan Djärv <jan.h.d@swipnet.se>
2 8
3 * nsterm.m (applicationDidFinishLaunching:): Call 9 * nsterm.m (applicationDidFinishLaunching:): Call