diff options
| author | Kim F. Storm | 2006-01-03 23:35:20 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-01-03 23:35:20 +0000 |
| commit | dd878ee14851f3d201266f451f5801195932d57f (patch) | |
| tree | c9ab9bfec7d6e872485da8d13b989b521b7ddff7 /src | |
| parent | 0f5642c2e0793b5d52d3c809ac90b4a717e7d190 (diff) | |
| download | emacs-dd878ee14851f3d201266f451f5801195932d57f.tar.gz emacs-dd878ee14851f3d201266f451f5801195932d57f.zip | |
Undo last change. Instead, look at Vsystem_type to
determine which breakpoints to set.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 9f99b50deb7..48a0fecc0cf 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -765,21 +765,24 @@ 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 | if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd' |
| 775 | break abort | 775 | # The windows-nt build replaces abort with its own function. |
| 776 | 776 | break w32_abort | |
| 777 | # The MS-Windows build replaces abort with its own function. | 777 | else |
| 778 | break w32_abort | 778 | # Don't let abort actually run, as it will make |
| 779 | 779 | # stdio stop working and therefore the `pr' command above as well. | |
| 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 | |
| 782 | # instead... | 782 | # If we are running in synchronous mode, we want a chance to look around |
| 783 | break x_error_quitter | 783 | # before Emacs exits. Perhaps we should put the break somewhere else |
| 784 | # instead... | ||
| 785 | break x_error_quitter | ||
| 786 | end | ||
| 784 | 787 | ||
| 785 | # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe | 788 | # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe |