* i386-tdep.c (i386_register_to_value): Use get_frame_register
authorMark Kettenis <kettenis@gnu.org>
Sun, 10 Aug 2003 18:06:05 +0000 (18:06 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 10 Aug 2003 18:06:05 +0000 (18:06 +0000)
commitf837910f91f680e0058a04a19442986c098cc30a
treea2eac34e5ac17e72e9e4b70df442743a39ec6a7f
parentedcf254de83721521f644ace3a8b829af4a7c28e
* i386-tdep.c (i386_register_to_value): Use get_frame_register
instead of frame_read_register.
(i386_fetch_pointer_argument): Use get_frame_register_unsigned
instead of frame_read_register.  Use I386_ESP_REGNUM instead of
SP_REGNUM.
(i386_frame_prev_register): Use frame_unwind_register_unsigned
instead of frame_unwind_unsigned_register.  Use
I386_EFLAGS_REGISTER instead of PS_REGNUM.
(i386_get_longjmp_target): Use regcache_read_unsigned_register
instead of read_register.  Use builtin_type_void_data_ptr instead
of builtin_type_void_func_ptr when extracting the address of the
jmp_buf.
(i386_extract_return_value, i386_store_return_value,
i386_pseudo_register_read, i386_pseudo_register_write): Use
register_size instead REGISTER_RAW_SIZE.

(i387_print_float_info): Use get_frame_register and
get_frame_register_unsigned instead of frame_register_read.
gdb/ChangeLog
gdb/i386-tdep.c