aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/.gdbinit3
-rw-r--r--gdb/ChangeLog2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/.gdbinit b/gdb/.gdbinit
index 4f95088..3adc483 100644
--- a/gdb/.gdbinit
+++ b/gdb/.gdbinit
@@ -1,5 +1,7 @@
echo Setting up the environment for debugging gdb.\n
+set complaints 1
+
b fatal
b info_command
@@ -9,4 +11,3 @@ commands
end
set prompt (top-gdb)
-set complaints 1
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 066fbfb..f23eb5d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Fri Sep 20 02:28:15 1991 John Gilmore (gnu at cygnus.com)
+ * .gdbinit: Move 'set complaints' to top, so it runs even in
+ case we aren't debugging GDB.
* language.c (_initialize_language): Fix type check and range
check documentation strings.
* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so