diff options
Diffstat (limited to 'gas/gdbinit.in')
-rw-r--r-- | gas/gdbinit.in | 28 |
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 |