summaryrefslogtreecommitdiff
path: root/etc/emacs-buffer.gdb
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-04-16 08:16:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-04-16 08:16:35 -0700
commit5403b2d3aa512341234700e0a7e3db042fe229fd (patch)
tree828d075426fdf3e241c95ffacf57bbb3bbdcd0b6 /etc/emacs-buffer.gdb
parent9dcd90f7693f4eabdfae4f29cd1c40a4d3385529 (diff)
downloademacs-5403b2d3aa512341234700e0a7e3db042fe229fd.tar.gz
Remove DATA_SEG_BITS.
The DATA_SEG_BITS hack was needed for older 32 bit platforms. As a result of this change, Emacs won't work on IRIX 6.5 with IRIX cc, but that platform is so old that SGI itself stopped supporting it in December 2013. If you still need Emacs on IRIX, please either compile with GCC and port the undumping code, or run './configure --with-wide-int'. * configure.ac (DATA_SEG_BITS): Remove. All uses removed. * src/alloc.c (gdb_make_enums_visible): Update to match lisp.h. * src/lisp.h (GCTYPEBITS): Move definition up, and switch to the DEFINE_GDB_SYMBOL_START way to define it. (NONPOINTER_BITS): New macro. (EMACS_INT): Use it. [!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting the problem and/or configuring --with-wide-int. (USE_LSB_TAG): Simplify, based on above changes. (gdb_DATA_SEG_BITS): Remove. All uses removed. * src/vm-limit.c (exceeds_lisp_ptr): Remove. All uses removed.
Diffstat (limited to 'etc/emacs-buffer.gdb')
-rw-r--r--etc/emacs-buffer.gdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/emacs-buffer.gdb b/etc/emacs-buffer.gdb
index 94a060234f5..ee786cff76e 100644
--- a/etc/emacs-buffer.gdb
+++ b/etc/emacs-buffer.gdb
@@ -79,7 +79,7 @@ set $yfile_buffers_only = 0
define ygetptr
set $ptr = $arg0
- set $ptr = ((CHECK_LISP_OBJECT_TYPE ? $ptr.i : $ptr) & VALMASK) | DATA_SEG_BITS
+ set $ptr = (CHECK_LISP_OBJECT_TYPE ? $ptr.i : $ptr) & VALMASK
end
define ybuffer-list