summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb/Gdbinit
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gdb/Gdbinit')
-rw-r--r--gnu/usr.bin/gdb/Gdbinit15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/Gdbinit b/gnu/usr.bin/gdb/Gdbinit
new file mode 100644
index 00000000000..bcacd5dc7e8
--- /dev/null
+++ b/gnu/usr.bin/gdb/Gdbinit
@@ -0,0 +1,15 @@
+echo Setting up the environment for debugging gdb.\n
+
+b fatal
+
+b info_command
+commands
+ silent
+ return
+end
+
+define rr
+ run
+end
+
+set prompt (top-gdb)