aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 4c87676..6b3484d 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -233,6 +233,12 @@ default_convert_from_func_ptr_addr (CORE_ADDR addr)
return addr;
}
+int
+no_op_reg_to_regnum (int reg)
+{
+ return reg;
+}
+
/* Functions to manipulate the endianness of the target. */
#ifdef TARGET_BYTE_ORDER_SELECTABLE