summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorGrace Sainsbury <graces@redhat.com>2002-08-08 19:45:50 +0000
committerGrace Sainsbury <graces@redhat.com>2002-08-08 19:45:50 +0000
commitb2dd631140b8d3ada533b546dbeaed2ab3825e82 (patch)
tree6c53ffff50ce07c76c2de6f6e44786aeb2dfcd37 /gdb/remote.c
parentea47855f188d2c51afff506ee4a9f17716b2ce6e (diff)
downloadbinutils-gdb-b2dd631140b8d3ada533b546dbeaed2ab3825e82.tar.gz
* remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST. (unpack_varlen_hex): Change result parameter from int * to ULONGEST *.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index dde6fb00ec1..6bda0842c8f 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -1107,7 +1107,7 @@ struct gdb_ext_thread_info
#define BUF_THREAD_ID_SIZE (OPAQUETHREADBYTES*2)
-char *unpack_varlen_hex (char *buff, int *result);
+char *unpack_varlen_hex (char *buff, ULONGEST *result);
static char *unpack_nibble (char *buf, int *val);
@@ -1228,7 +1228,7 @@ stub_unpack_int (char *buff, int fieldlength)
char *
unpack_varlen_hex (char *buff, /* packet to parse */
- int *result)
+ ULONGEST *result)
{
int nibble;
int retval = 0;
@@ -3007,7 +3007,7 @@ remote_wait (ptid_t ptid, struct target_waitstatus *status)
{
struct remote_state *rs = get_remote_state ();
unsigned char *buf = alloca (rs->remote_packet_size);
- int thread_num = -1;
+ ULONGEST thread_num = -1;
status->kind = TARGET_WAITKIND_EXITED;
status->value.integer = 0;
@@ -3221,7 +3221,7 @@ remote_async_wait (ptid_t ptid, struct target_waitstatus *status)
{
struct remote_state *rs = get_remote_state ();
unsigned char *buf = alloca (rs->remote_packet_size);
- int thread_num = -1;
+ ULONGEST thread_num = -1;
status->kind = TARGET_WAITKIND_EXITED;
status->value.integer = 0;