emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/.gdbinit


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/.gdbinit
Date: Tue, 03 Jan 2006 23:35:21 +0000

Index: emacs/src/.gdbinit
diff -u emacs/src/.gdbinit:1.74 emacs/src/.gdbinit:1.75
--- emacs/src/.gdbinit:1.74     Fri Dec 30 13:29:20 2005
+++ emacs/src/.gdbinit  Tue Jan  3 23:35:20 2006
@@ -765,21 +765,24 @@
 set args -geometry 80x40+0+0
 
 # People get bothered when they see messages about non-existent functions...
-echo \n
-echo  If you see messages below about functions not being defined,\n
-echo  don\'t worry about them.  Nothing is wrong.\n
-echo \n
+xgetptr Vsystem_type
+set $tem = (struct Lisp_Symbol *) $ptr
+xgetptr $tem->xname
+set $tem = (struct Lisp_String *) $ptr
+set $tem = (char *) $tem->data
 
-# Don't let abort actually run, as it will make
-# stdio stop working and therefore the `pr' command above as well.
-break abort
+if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd'
+  # The windows-nt build replaces abort with its own function.
+  break w32_abort
+else
+  # Don't let abort actually run, as it will make
+  # stdio stop working and therefore the `pr' command above as well.
+  break abort
 
-# The MS-Windows build replaces abort with its own function.
-break w32_abort
-
-# If we are running in synchronous mode, we want a chance to look around
-# before Emacs exits.  Perhaps we should put the break somewhere else
-# instead...
-break x_error_quitter
+  # If we are running in synchronous mode, we want a chance to look around
+  # before Emacs exits.  Perhaps we should put the break somewhere else
+  # instead...
+  break x_error_quitter
+end
 
 # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]