X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/0f3fafde6899e89047cd0b318e9ee2e86cf7b134..5378adc435ea0bce3ecb56bf0f1bc42deb1406f1:/gdb/v850ice.c diff --git a/gdb/v850ice.c b/gdb/v850ice.c index d1f696bd3b..770e942a8d 100644 --- a/gdb/v850ice.c +++ b/gdb/v850ice.c @@ -289,13 +289,13 @@ v850ice_wndproc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) result = TRUE; break; case STATE_CHANGE_STEPI: - if (!catch_errors ((catch_errors_ftype *) ice_stepi, (PTR) (int) lParam, "", + if (!catch_errors ((catch_errors_ftype *) ice_stepi, (int) lParam, "", RETURN_MASK_ALL)) printf_unfiltered ("stepi errored\n"); result = TRUE; break; case STATE_CHANGE_NEXTI: - if (!catch_errors ((catch_errors_ftype *) ice_nexti, (PTR) (int) lParam, "", + if (!catch_errors ((catch_errors_ftype *) ice_nexti, (int) lParam, "", RETURN_MASK_ALL)) printf_unfiltered ("nexti errored\n"); result = TRUE; @@ -560,7 +560,7 @@ v850ice_store_registers (int regno) return; } - regval = extract_unsigned_integer (®isters[REGISTER_BYTE (regno)], + regval = extract_unsigned_integer (&deprecated_registers[REGISTER_BYTE (regno)], REGISTER_RAW_SIZE (regno)); strcpy (cmd, "reg "); if (!convert_register (regno, &cmd[4]))