* .gdbinit: Just stop at fatal_error_backtrace.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Sep 2012 20:35:46 +0000 (13:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Sep 2012 20:35:46 +0000 (13:35 -0700)
See Stefan Monnier's request in
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00549.html>.
Remove no-longer-used query of system type.

src/.gdbinit
src/ChangeLog

index 79419f6..74f44cc 100644 (file)
@@ -1213,19 +1213,9 @@ set print sevenbit-strings
 show environment DISPLAY
 show environment TERM
 
-# People get bothered when they see messages about non-existent functions...
-xgetptr globals.f_Vsystem_type
-# $ptr is NULL in temacs
-if ($ptr != 0)
-  set $tem = (struct Lisp_Symbol *) $ptr
-  xgetptr $tem->name
-  set $tem = (struct Lisp_String *) $ptr
-  set $tem = (char *) $tem->data
-
-  # Don't let emacs_abort actually run, as it will make stdio stop
-  # working and therefore the 'pr' command above as well.
-  break emacs_abort
-end
+# When debugging, it is handy to be able to "return" from
+# fatal_error_backtrace when an assertion failure is non-fatal.
+break fatal_error_backtrace
 
 # x_error_quitter is defined only on X.  But window-system is set up
 # only at run time, during Emacs startup, so we need to defer setting
index 9d8bc3a..676f412 100644 (file)
@@ -1,3 +1,10 @@
+2012-09-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * .gdbinit: Just stop at fatal_error_backtrace.
+       See Stefan Monnier's request in
+       <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00549.html>.
+       Remove no-longer-used query of system type.
+
 2012-09-22  Chong Yidong  <cyd@gnu.org>
 
        * search.c (Freplace_match): Doc fix (Bug#12325).