From b8d3c872bfe0433c773ddc4f530ba0d437b93cdf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 16 Jun 1995 16:48:16 +0000 Subject: [PATCH] Use long, not EMACS_INT. --- src/.gdbinit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/.gdbinit b/src/.gdbinit index 85467111551..9d2f4224c9a 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -1,6 +1,8 @@ # Set up a mask to use. -set $valmask = ((EMACS_INT)1 << gdb_valbits) - 1 +# This should be EMACS_INT, but in some cases that is a macro. +# long ought to work in all cases right now. +set $valmask = ((long)1 << gdb_valbits) - 1 set $nonvalbits = gdb_emacs_intbits - gdb_valbits # Set up something to print out s-expressions. -- 2.39.2