mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
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).
This commit is contained in:
parent
bc7f1625f6
commit
29c3b71635
10
src/.gdbinit
10
src/.gdbinit
@ -820,15 +820,7 @@ define xwindow
|
||||
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.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2014-07-28 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* .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 <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (applicationDidFinishLaunching:): Call
|
||||
|
Loading…
Reference in New Issue
Block a user