Move "break abort" to end, in case gdb complains.
authorKen Raeburn <raeburn@cygnus>
Wed, 28 Sep 1994 23:16:59 +0000 (23:16 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 28 Sep 1994 23:16:59 +0000 (23:16 +0000)
gas/gdbinit.in [new file with mode: 0644]

diff --git a/gas/gdbinit.in b/gas/gdbinit.in
new file mode 100644 (file)
index 0000000..04fbec8
--- /dev/null
@@ -0,0 +1,28 @@
+dir @srcdir@
+dir .
+
+break as_warn
+break as_bad
+break as_bad_where
+break as_fatal
+break as_perror
+
+define pe
+call print_expr ($)
+end
+
+document pe
+Print $ as an expressionS, expanding parameters.
+end
+
+define ps
+call print_symbol_value ($)
+end
+
+document ps
+Print $ as a symbolS, including expression value.
+end
+
+# Put this last, in case it fails.
+
+break abort