summaryrefslogtreecommitdiff
path: root/util/gdbinit
diff options
context:
space:
mode:
Diffstat (limited to 'util/gdbinit')
-rw-r--r--util/gdbinit5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/gdbinit b/util/gdbinit
index 0101d6b549..e1c9183f17 100644
--- a/util/gdbinit
+++ b/util/gdbinit
@@ -125,9 +125,9 @@ end
# Helper Functions #
#####################################################################
-# Usage: reg32 <address> [offset]
+# Usage: ec-reg32 <address> [offset]
# Read a 32 bit register
-define reg32
+define ec-reg32
set $a = $arg0
if $argc > 1
set $a += $arg1
@@ -137,6 +137,7 @@ define reg32
print /x $v
print /t $v
end
+alias reg32 = ec-reg32
# Usage: ec-connect
# Issue the overly long target connect command using the