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