aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index de35ef1be70..a5411e66d56 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -49,7 +49,7 @@ define xgetptr
49 else 49 else
50 set $bugfix = $arg0 50 set $bugfix = $arg0
51 end 51 end
52 set $ptr = $bugfix & VALMASK 52 set $ptr = (EMACS_INT) $bugfix & VALMASK
53end 53end
54 54
55define xgetint 55define xgetint
@@ -58,7 +58,7 @@ define xgetint
58 else 58 else
59 set $bugfix = $arg0 59 set $bugfix = $arg0
60 end 60 end
61 set $int = $bugfix << (USE_LSB_TAG ? 0 : INTTYPEBITS) >> INTTYPEBITS 61 set $int = (EMACS_INT) $bugfix << (USE_LSB_TAG ? 0 : INTTYPEBITS) >> INTTYPEBITS
62end 62end
63 63
64define xgettype 64define xgettype
@@ -67,7 +67,7 @@ define xgettype
67 else 67 else
68 set $bugfix = $arg0 68 set $bugfix = $arg0
69 end 69 end
70 set $type = (enum Lisp_Type) (USE_LSB_TAG ? $bugfix & (1 << GCTYPEBITS) - 1 : (EMACS_UINT) $bugfix >> VALBITS) 70 set $type = (enum Lisp_Type) (USE_LSB_TAG ? (EMACS_INT) $bugfix & (1 << GCTYPEBITS) - 1 : (EMACS_UINT) $bugfix >> VALBITS)
71end 71end
72 72
73define xgetsym 73define xgetsym