Add new devices x1122 x1132 emulation.
[deliverable/binutils-gdb.git] / gdb / ax-gdb.c
index 253636973d52fd6b290ee5ead73b6c75772b3cbb..5692c35f99015cbd012fffab490048b34e10858a 100644 (file)
@@ -34,6 +34,7 @@
 #include "ax-gdb.h"
 #include "gdb_string.h"
 #include "block.h"
+#include "regcache.h"
 
 /* To make sense of this file, you should read doc/agentexpr.texi.
    Then look at the types and enums in ax-gdb.h.  For the code itself,
@@ -1595,7 +1596,7 @@ gen_expr (union exp_element **pc, struct agent_expr *ax,
        (*pc) += 3;
        value->kind = axs_lvalue_register;
        value->u.reg = reg;
-       value->type = REGISTER_VIRTUAL_TYPE (reg);
+       value->type = register_type (current_gdbarch, reg);
       }
       break;
 
This page took 0.024168 seconds and 4 git commands to generate.