From dacf29ea1fe447ea5a00217054e9e892eaffaca2 Mon Sep 17 00:00:00 2001
From: Ken Raeburn <raeburn@cygnus>
Date: Tue, 13 Sep 1994 01:50:02 +0000
Subject: * .gdbinit (pe, ps): Define new commands. * symbols.c (indent_level):
 New static variable. (indent, print_expr_1, print_symbol_value_1,
 print_symbol_value, print_expr): New functions.

---
 gas/.gdbinit | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

(limited to 'gas/.gdbinit')

diff --git a/gas/.gdbinit b/gas/.gdbinit
index f4f9906..a8b88f4 100644
--- a/gas/.gdbinit
+++ b/gas/.gdbinit
@@ -4,3 +4,19 @@ break as_bad_where
 break as_fatal
 break as_perror
 break abort
+
+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
-- 
cgit v1.1