[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117410: Fix GDB xwindow command.
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 r117410: Fix GDB xwindow command. |
Date: |
Mon, 28 Jul 2014 07:10:27 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117410
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-07-28 10:10:17 +0300
message:
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).
modified:
src/.gdbinit gdbinit-20091113204419-o5vbwnq5f7feedwu-460
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
=== modified file 'src/.gdbinit'
--- a/src/.gdbinit 2014-01-29 18:17:20 +0000
+++ b/src/.gdbinit 2014-07-28 07:10:17 +0000
@@ -820,15 +820,7 @@
xgetptr $
print (struct window *) $ptr
set $window = (struct window *) $ptr
- xgetint $window->total_cols
- set $width=$int
- xgetint $window->total_lines
- set $height=$int
- xgetint $window->left_col
- set $left=$int
- xgetint $window->top_line
- set $top=$int
- printf "%dx%d+%d+%d\n", $width, $height, $left, $top
+ printf "%dx%d+%d+%d\n", $window->total_cols, $window->total_lines,
$window->left_col, $window->top_line
end
document xwindow
Print $ as a window pointer, assuming it is an Emacs Lisp window value.
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-07-20 13:18:47 +0000
+++ b/src/ChangeLog 2014-07-28 07:10:17 +0000
@@ -1,3 +1,9 @@
+2014-07-28 Eli Zaretskii <address@hidden>
+
+ * .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).
+
2014-07-20 Jan Djärv <address@hidden>
* nsterm.m (applicationDidFinishLaunching:): Call
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117410: Fix GDB xwindow command.,
Eli Zaretskii <=