winedbg: Implement be_arm_store_integer on ARM.
This commit is contained in:
parent
0067b9505e
commit
5a1276bf39
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include "debugger.h"
|
||||
|
||||
#if defined(__arm__)
|
||||
#if defined(__arm__) && !defined(__ARMEB__)
|
||||
|
||||
static unsigned be_arm_get_addr(HANDLE hThread, const CONTEXT* ctx,
|
||||
enum be_cpu_addr bca, ADDRESS64* addr)
|
||||
|
@ -258,8 +258,8 @@ static int be_arm_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
|
|||
static int be_arm_store_integer(const struct dbg_lvalue* lvalue, unsigned size,
|
||||
unsigned is_signed, LONGLONG val)
|
||||
{
|
||||
dbg_printf("be_arm_store_integer: not done\n");
|
||||
return FALSE;
|
||||
/* this is simple if we're on a little endian CPU */
|
||||
return memory_write_value(lvalue, size, &val);
|
||||
}
|
||||
|
||||
struct backend_cpu be_arm =
|
||||
|
|
|
@ -618,7 +618,7 @@ extern struct backend_cpu be_ppc;
|
|||
extern struct backend_cpu be_x86_64;
|
||||
#elif defined(__sparc__)
|
||||
extern struct backend_cpu be_sparc;
|
||||
#elif defined(__arm__)
|
||||
#elif defined(__arm__) && !defined(__ARMEB__)
|
||||
extern struct backend_cpu be_arm;
|
||||
#else
|
||||
# error CPU unknown
|
||||
|
@ -638,7 +638,7 @@ int main(int argc, char** argv)
|
|||
be_cpu = &be_x86_64;
|
||||
#elif defined(__sparc__)
|
||||
be_cpu = &be_sparc;
|
||||
#elif defined(__arm__)
|
||||
#elif defined(__arm__) && !defined(__ARMEB__)
|
||||
be_cpu = &be_arm;
|
||||
#else
|
||||
# error CPU unknown
|
||||
|
|
Loading…
Reference in New Issue