val = allocate_value (builtin_type_frame_reg);
VALUE_LVAL (val) = not_lval;
buf = value_contents_raw (val);
- memset (buf, TYPE_LENGTH (value_type (val)), 0);
+ memset (buf, 0, TYPE_LENGTH (value_type (val)));
/* frame.base. */
if (frame != NULL)
ADDRESS_TO_POINTER (builtin_type_void_data_ptr, buf,
struct value *val = allocate_value (builtin_type_void_data_ptr);
char *buf = value_contents_raw (val);
if (frame == NULL)
- memset (buf, TYPE_LENGTH (value_type (val)), 0);
+ memset (buf, 0, TYPE_LENGTH (value_type (val)));
else
ADDRESS_TO_POINTER (builtin_type_void_data_ptr, buf,
get_frame_base_address (frame));
struct value *val = allocate_value (builtin_type_void_data_ptr);
char *buf = value_contents_raw (val);
if (frame == NULL)
- memset (buf, TYPE_LENGTH (value_type (val)), 0);
+ memset (buf, 0, TYPE_LENGTH (value_type (val)));
else
ADDRESS_TO_POINTER (builtin_type_void_data_ptr, buf,
get_frame_pc (frame));
if (SP_REGNUM >= 0)
return value_of_register (SP_REGNUM, frame);
#endif
- error ("Standard register ``$sp'' is not available for this target");
+ error (_("Standard register ``$sp'' is not available for this target"));
}
static struct value *
if (PS_REGNUM >= 0)
return value_of_register (PS_REGNUM, frame);
#endif
- error ("Standard register ``$ps'' is not available for this target");
+ error (_("Standard register ``$ps'' is not available for this target"));
}
extern initialize_file_ftype _initialize_frame_reg; /* -Wmissing-prototypes */