diff options
author | Michel Jaouen <michel.jaouen@stericsson.com> | 2011-04-18 17:43:51 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-19 12:53:56 +0200 |
commit | 3c6af518b3f0a9fb0e4b515b9e6f0fc93d8b9493 (patch) | |
tree | c28891baa1231f728a1e7b8d075b302e3aaf82cb /src/rtos/rtos.c | |
parent | 32ede8fa21fecb68d404b25251ec29ce5e8e6505 (diff) |
rtos : compilation error on amd64
Diffstat (limited to 'src/rtos/rtos.c')
-rw-r--r-- | src/rtos/rtos.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 129770e8..9a4af749 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -29,7 +29,7 @@ #include "server/gdb_server.h" -static long long current_threadid = -1; +static int64_t current_threadid = -1; static void hex_to_str( char* dst, char * hex_src ); static int str_to_hex( char* hex_dst, char* src ); @@ -306,7 +306,7 @@ int gdb_thread_packet(struct connection *connection, struct target *target, char } else { - long long value = 0; + int64_t value = 0; char * hex_name_str = malloc( strlen(packet)); char * name_str; int symbol_num; @@ -512,11 +512,11 @@ int rtos_get_gdb_reg_list(struct connection *connection, struct target *target, -int rtos_generic_stack_read( struct target * target, const struct rtos_register_stacking* stacking, long long stack_ptr, char ** hex_reg_list ) +int rtos_generic_stack_read( struct target * target, const struct rtos_register_stacking* stacking, int64_t stack_ptr, char ** hex_reg_list ) { int list_size = 0; char * tmp_str_ptr; - long long new_stack_ptr; + int64_t new_stack_ptr; int i; int retval; |