* remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST. (unpack_varlen_hex): Change result parameter from int * to ULONGEST *.
This commit is contained in:
parent
ea47855f18
commit
b2dd631140
|
@ -1,3 +1,9 @@
|
||||||
|
2002-08-08 Grace Sainsbury <graces@redhat.com>
|
||||||
|
|
||||||
|
* remote.c (remote_wait, remote_async_wait): Change thread_num
|
||||||
|
ULONGEST.
|
||||||
|
* (unpack_varlen_hex): Change result prameter to ULONGEST *.
|
||||||
|
|
||||||
2002-08-08 Andrew Cagney <ac131313@redhat.com>
|
2002-08-08 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
|
* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
|
||||||
|
|
|
@ -1107,7 +1107,7 @@ struct gdb_ext_thread_info
|
||||||
|
|
||||||
#define BUF_THREAD_ID_SIZE (OPAQUETHREADBYTES*2)
|
#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);
|
static char *unpack_nibble (char *buf, int *val);
|
||||||
|
|
||||||
|
@ -1228,7 +1228,7 @@ stub_unpack_int (char *buff, int fieldlength)
|
||||||
|
|
||||||
char *
|
char *
|
||||||
unpack_varlen_hex (char *buff, /* packet to parse */
|
unpack_varlen_hex (char *buff, /* packet to parse */
|
||||||
int *result)
|
ULONGEST *result)
|
||||||
{
|
{
|
||||||
int nibble;
|
int nibble;
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
|
@ -3007,7 +3007,7 @@ remote_wait (ptid_t ptid, struct target_waitstatus *status)
|
||||||
{
|
{
|
||||||
struct remote_state *rs = get_remote_state ();
|
struct remote_state *rs = get_remote_state ();
|
||||||
unsigned char *buf = alloca (rs->remote_packet_size);
|
unsigned char *buf = alloca (rs->remote_packet_size);
|
||||||
int thread_num = -1;
|
ULONGEST thread_num = -1;
|
||||||
|
|
||||||
status->kind = TARGET_WAITKIND_EXITED;
|
status->kind = TARGET_WAITKIND_EXITED;
|
||||||
status->value.integer = 0;
|
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 ();
|
struct remote_state *rs = get_remote_state ();
|
||||||
unsigned char *buf = alloca (rs->remote_packet_size);
|
unsigned char *buf = alloca (rs->remote_packet_size);
|
||||||
int thread_num = -1;
|
ULONGEST thread_num = -1;
|
||||||
|
|
||||||
status->kind = TARGET_WAITKIND_EXITED;
|
status->kind = TARGET_WAITKIND_EXITED;
|
||||||
status->value.integer = 0;
|
status->value.integer = 0;
|
||||||
|
|
Loading…
Reference in New Issue