From d41e491e1ba6f2096233ce4ddd6033eba66ed2fc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 22 Sep 2012 13:35:46 -0700 Subject: [PATCH] * .gdbinit: Just stop at fatal_error_backtrace. See Stefan Monnier's request in . Remove no-longer-used query of system type. --- src/.gdbinit | 16 +++------------- src/ChangeLog | 7 +++++++ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/.gdbinit b/src/.gdbinit index 79419f66ac..74f44cc100 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -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 diff --git a/src/ChangeLog b/src/ChangeLog index 9d8bc3a7c0..676f4127ba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2012-09-22 Paul Eggert + + * .gdbinit: Just stop at fatal_error_backtrace. + See Stefan Monnier's request in + . + Remove no-longer-used query of system type. + 2012-09-22 Chong Yidong * search.c (Freplace_match): Doc fix (Bug#12325). -- 2.20.1