Mercurial > emacs
comparison src/.gdbinit @ 68047:cb837057e642
Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 05 Jan 2006 17:49:09 +0000 |
parents | 75f9e1ee6fa6 |
children | 52ebcbbec4f0 |
comparison
equal
deleted
inserted
replaced
68046:16fcb8fc6930 | 68047:cb837057e642 |
---|---|
769 set $tem = (struct Lisp_Symbol *) $ptr | 769 set $tem = (struct Lisp_Symbol *) $ptr |
770 xgetptr $tem->xname | 770 xgetptr $tem->xname |
771 set $tem = (struct Lisp_String *) $ptr | 771 set $tem = (struct Lisp_String *) $ptr |
772 set $tem = (char *) $tem->data | 772 set $tem = (char *) $tem->data |
773 | 773 |
774 # Don't let abort actually run, as it will make stdio stop working and | |
775 # therefore the `pr' command above as well. | |
774 if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd' | 776 if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd' |
775 # The windows-nt build replaces abort with its own function. | 777 # The windows-nt build replaces abort with its own function. |
776 break w32_abort | 778 break w32_abort |
777 else | 779 else |
778 # Don't let abort actually run, as it will make | |
779 # stdio stop working and therefore the `pr' command above as well. | |
780 break abort | 780 break abort |
781 | 781 end |
782 # If we are running in synchronous mode, we want a chance to look around | 782 |
783 # before Emacs exits. Perhaps we should put the break somewhere else | 783 # x_error_quitter is defined only on X. But window-system is set up |
784 # instead... | 784 # only at run time, during Emacs startup, so we need to defer setting |
785 # the breakpoint. init_sys_modes is the first function called on | |
786 # every platform after init_display, where window-system is set. | |
787 tbreak init_sys_modes | |
788 commands | |
789 silent | |
785 xgetptr Vwindow_system | 790 xgetptr Vwindow_system |
786 set $tem = (struct Lisp_Symbol *) $ptr | 791 set $tem = (struct Lisp_Symbol *) $ptr |
787 xgetptr $tem->xname | 792 xgetptr $tem->xname |
788 set $tem = (struct Lisp_String *) $ptr | 793 set $tem = (struct Lisp_String *) $ptr |
789 set $tem = (char *) $tem->data | 794 set $tem = (char *) $tem->data |
790 # x_error_quitter is defined only on X | 795 # If we are running in synchronous mode, we want a chance to look |
796 # around before Emacs exits. Perhaps we should put the break | |
797 # somewhere else instead... | |
791 if $tem[0] == 'x' && $tem[1] == '\0' | 798 if $tem[0] == 'x' && $tem[1] == '\0' |
792 break x_error_quitter | 799 break abort |
793 end | 800 end |
794 end | 801 continue |
795 | 802 end |
796 # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe | 803 # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe |