Commit 41638e0a authored by zwelch's avatar zwelch
Browse files

Change reg_s value field from u8 * to void *; it must always be cast.

git-svn-id: svn:// b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 8cbb2ae7
......@@ -289,7 +289,7 @@ int armv7m_get_gdb_reg_list(target_t *target, reg_t **reg_list[], int *reg_list_
/* ARMV7M is always in thumb mode, try to make GDB understand this
* if it does not support this arch */
armv7m->core_cache->reg_list[15].value[0] |= 1;
*((char*)armv7m->core_cache->reg_list[15].value) |= 1;
(*reg_list)[25] = &armv7m->core_cache->reg_list[ARMV7M_xPSR];
......@@ -37,7 +37,7 @@ typedef struct bitfield_desc_s
typedef struct reg_s
char *name;
u8 *value;
void *value;
int dirty;
int valid;
u32 size;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment