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