mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with
a call to 'internal_error', with a more helpful error message. * rs6000-tdep.c (e500_pseudo_register_read, e500_pseudo_register_write): Same.
This commit is contained in:
@ -399,7 +399,9 @@ fetch_register (int tid, int regno)
|
||||
regcache_raw_supply (current_regcache, regno, buf + padding);
|
||||
}
|
||||
else
|
||||
gdb_assert (0);
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"fetch_register: unexpected byte order: %d",
|
||||
gdbarch_byte_order (current_gdbarch));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user