aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGerd Moellmann2000-10-16 11:43:01 +0000
committerGerd Moellmann2000-10-16 11:43:01 +0000
commit1e4d32f80e868ab417c2acf1002e378b03237d7e (patch)
treed26277c76258987a5ffe9e7a8332dbb703f3ea7d /etc
parent5e0c8a235d7115a5d00fd69210d11583f935979f (diff)
downloademacs-1e4d32f80e868ab417c2acf1002e378b03237d7e.tar.gz
emacs-1e4d32f80e868ab417c2acf1002e378b03237d7e.zip
*** empty log message ***
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog6
-rw-r--r--etc/DEBUG35
2 files changed, 9 insertions, 32 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 7645f002188..46d1b5be54b 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,9 @@
12000-10-16 Gerd Moellmann <gerd@gnu.org>
2
3 * 3B-MAXMEM, AIX.DUMP, SUN-SUPPORT: Removed.
4
5 * tasks.texi: Updated to the version from /gd/gnuorg.
6
12000-10-13 John Wiegley <johnw@gnu.org> 72000-10-13 John Wiegley <johnw@gnu.org>
2 8
3 * NEWS: Added a note about Eshell. 9 * NEWS: Added a note about Eshell.
diff --git a/etc/DEBUG b/etc/DEBUG
index 045444d11ae..42b965b098f 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -1,5 +1,5 @@
1Debugging GNU Emacs 1Debugging GNU Emacs
2Copyright (c) 1985 Richard M. Stallman. 2Copyright (c) 1985, 2000 Free Software Foundation, Inc.
3 3
4 Permission is granted to anyone to make or distribute verbatim copies 4 Permission is granted to anyone to make or distribute verbatim copies
5 of this document as received, in any medium, provided that the 5 of this document as received, in any medium, provided that the
@@ -12,23 +12,6 @@ Copyright (c) 1985 Richard M. Stallman.
12 under the above conditions, provided also that they 12 under the above conditions, provided also that they
13 carry prominent notices stating who last changed them. 13 carry prominent notices stating who last changed them.
14 14
15On 4.2 you will probably find that dbx does not work for
16debugging GNU Emacs. For one thing, dbx does not keep the
17inferior process's terminal modes separate from its own.
18For another, dbx does not put the inferior in a separate
19process group, which makes trouble when an inferior uses
20interrupt input, which GNU Emacs must do on 4.2.
21
22dbx has also been observed to have other problems,
23such as getting incorrect values for register variables
24in stack frames other than the innermost one.
25
26The Emacs distribution now contains GDB, the new source-level
27debugger for the GNU system. GDB works for debugging Emacs.
28GDB currently runs on vaxes under 4.2 and on Sun 2 and Sun 3
29systems.
30
31
32** Some useful techniques 15** Some useful techniques
33 16
34`Fsignal' is a very useful place to stop in. 17`Fsignal' is a very useful place to stop in.
@@ -50,21 +33,9 @@ to get an opportunity to do the set command.
50 33
51If you are using cbreak input (see the Lisp function set-input-mode), 34If you are using cbreak input (see the Lisp function set-input-mode),
52then typing Control-g will cause a SIGINT, which will return control 35then typing Control-g will cause a SIGINT, which will return control
53to the debugger immediately unless you have done 36to GDB immediately if you type this command first:
54
55 ignore 3 (in dbx)
56or handle 3 nostop noprint (in gdb)
57
58You will note that most of GNU Emacs is written to avoid
59declaring a local variable in an inner block, even in
60cases where using one would be the cleanest thing to do.
61This is because dbx cannot access any of the variables
62in a function which has even one variable defined in an
63inner block. A few functions in GNU Emacs do have variables
64in inner blocks, only because I wrote them before realizing
65that dbx had this problem and never rewrote them to avoid it.
66 37
67I believe that GDB does not have such a problem. 38 handle 2 stop
68 39
69 40
70** Examining Lisp object values. 41** Examining Lisp object values.