Mercurial > emacs
diff src/.gdbinit @ 90286:5b7d410e31f9
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-7
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 4-14)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (base, patch 1-7)
- tag of miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-187
- Update from CVS
- Merge from emacs--devo--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10 (patch 187)
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 25 Jan 2006 07:10:04 +0000 |
parents | 7beb78bc1f8e 9b3bace59343 |
children | c5406394f567 |
line wrap: on
line diff
--- a/src/.gdbinit Tue Jan 24 02:01:42 2006 +0000 +++ b/src/.gdbinit Wed Jan 25 07:10:04 2006 +0000 @@ -789,18 +789,21 @@ # People get bothered when they see messages about non-existent functions... xgetptr Vsystem_type -set $tem = (struct Lisp_Symbol *) $ptr -xgetptr $tem->xname -set $tem = (struct Lisp_String *) $ptr -set $tem = (char *) $tem->data +# $ptr is NULL in temacs +if ($ptr != 0) + 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. -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 - break abort + # Don't let abort actually run, as it will make stdio stop working and + # therefore the `pr' command above as well. + 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 + break abort + end end # x_error_quitter is defined only on X. But window-system is set up