forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* mi-main.c (get_register): Use register_type instead of
|
||||
REGISTER_VIRTUAL_TYPE.
|
||||
|
||||
2003-02-25 David Carlton <carlton@math.stanford.edu>
|
||||
|
||||
* mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with
|
||||
|
||||
@@ -534,7 +534,8 @@ get_register (int regnum, int format)
|
||||
|
||||
if (REGISTER_CONVERTIBLE (regnum))
|
||||
{
|
||||
REGISTER_CONVERT_TO_VIRTUAL (regnum, REGISTER_VIRTUAL_TYPE (regnum),
|
||||
REGISTER_CONVERT_TO_VIRTUAL (regnum,
|
||||
register_type (current_gdbarch, regnum),
|
||||
raw_buffer, virtual_buffer);
|
||||
}
|
||||
else
|
||||
@@ -559,7 +560,7 @@ get_register (int regnum, int format)
|
||||
}
|
||||
else
|
||||
{
|
||||
val_print (REGISTER_VIRTUAL_TYPE (regnum), virtual_buffer, 0, 0,
|
||||
val_print (register_type (current_gdbarch, regnum), virtual_buffer, 0, 0,
|
||||
stb->stream, format, 1, 0, Val_pretty_default);
|
||||
ui_out_field_stream (uiout, "value", stb);
|
||||
ui_out_stream_delete (stb);
|
||||
|
||||
Reference in New Issue
Block a user