Mercurial > emacs
comparison src/.gdbinit @ 83453:55e22205ba88
Merged from miles@gnu.org--gnu-2005 (patch 683-684)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-683
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-684
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-493
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 06 Jan 2006 16:13:05 +0000 |
parents | c69d44922688 52ebcbbec4f0 |
children | 8438f5473d99 |
comparison
equal
deleted
inserted
replaced
83452:02980fcccc43 | 83453:55e22205ba88 |
---|---|
763 show environment DISPLAY | 763 show environment DISPLAY |
764 show environment TERM | 764 show environment TERM |
765 #set args -geometry 80x40+0+0 | 765 #set args -geometry 80x40+0+0 |
766 | 766 |
767 # People get bothered when they see messages about non-existent functions... | 767 # People get bothered when they see messages about non-existent functions... |
768 echo \n | 768 xgetptr Vsystem_type |
769 echo If you see messages below about functions not being defined,\n | 769 set $tem = (struct Lisp_Symbol *) $ptr |
770 echo don\'t worry about them. Nothing is wrong.\n | 770 xgetptr $tem->xname |
771 echo \n | 771 set $tem = (struct Lisp_String *) $ptr |
772 | 772 set $tem = (char *) $tem->data |
773 # Don't let abort actually run, as it will make | 773 |
774 # stdio stop working and therefore the `pr' command above as well. | 774 # Don't let abort actually run, as it will make stdio stop working and |
775 break abort | 775 # therefore the `pr' command above as well. |
776 | 776 if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd' |
777 # The MS-Windows build replaces abort with its own function. | 777 # The windows-nt build replaces abort with its own function. |
778 break w32_abort | 778 break w32_abort |
779 | 779 else |
780 # If we are running in synchronous mode, we want a chance to look around | 780 break abort |
781 # before Emacs exits. Perhaps we should put the break somewhere else | 781 end |
782 # instead... | 782 |
783 break x_error_quitter | 783 # x_error_quitter is defined only on X. But window-system is set up |
784 | 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 | |
790 xgetptr Vwindow_system | |
791 set $tem = (struct Lisp_Symbol *) $ptr | |
792 xgetptr $tem->xname | |
793 set $tem = (struct Lisp_String *) $ptr | |
794 set $tem = (char *) $tem->data | |
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... | |
798 if $tem[0] == 'x' && $tem[1] == '\0' | |
799 break x_error_quitter | |
800 end | |
801 continue | |
802 end | |
785 # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe | 803 # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe |