aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-09-28 23:16:59 +0000
committerKen Raeburn <raeburn@cygnus>1994-09-28 23:16:59 +0000
commit4bdaf48eab047c4df2989b5070a20efe05d2dc67 (patch)
treeeeeca948cc5e831584b9806c78233522f5c3eb97 /gas
parent9de0bdfba9fcb306b8ea0b40b15c92b601f87b47 (diff)
downloadfsf-binutils-gdb-4bdaf48eab047c4df2989b5070a20efe05d2dc67.zip
fsf-binutils-gdb-4bdaf48eab047c4df2989b5070a20efe05d2dc67.tar.gz
fsf-binutils-gdb-4bdaf48eab047c4df2989b5070a20efe05d2dc67.tar.bz2
Move "break abort" to end, in case gdb complains.
Diffstat (limited to 'gas')
-rw-r--r--gas/gdbinit.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/gdbinit.in b/gas/gdbinit.in
new file mode 100644
index 0000000..04fbec8
--- /dev/null
+++ b/gas/gdbinit.in
@@ -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