diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-01 17:03:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-01 17:03:19 +0000 |
commit | a83a540b3bb40b91b0853714e20869499533aacd (patch) | |
tree | f034cca8105606499cc6be8e7b82cbbd0e95ba29 /gdb/ax-gdb.c | |
parent | 3fa05c0606e80cb13f9c7343cbef0179b382391e (diff) | |
download | gdb-a83a540b3bb40b91b0853714e20869499533aacd.tar.gz |
2003-03-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ax-gdb.o): Update dependencies.
* ax-gdb.c: Include "regcache.h".
(gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
* findvar.c (value_of_register): Ditto.
* infcmd.c (default_print_registers_info): Ditto.
Index: mi/ChangeLog
2003-03-01 Andrew Cagney <cagney@redhat.com>
* mi-main.c (get_register): Use register_type instead of
REGISTER_VIRTUAL_TYPE.
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 253636973d5..5692c35f990 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -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; |