summaryrefslogtreecommitdiff
path: root/gdb/gdbinit.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbinit.in')
-rw-r--r--gdb/gdbinit.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/gdbinit.in b/gdb/gdbinit.in
new file mode 100644
index 00000000000..af97d2cae3d
--- /dev/null
+++ b/gdb/gdbinit.in
@@ -0,0 +1,18 @@
+echo Setting up the environment for debugging gdb.\n
+
+set complaints 1
+
+b fatal
+
+b info_command
+commands
+ silent
+ return
+end
+
+dir @srcdir@
+dir .
+dir @srcdir@/../mmalloc
+dir @srcdir@/../libiberty
+dir @srcdir@/../bfd
+set prompt (top-gdb)