From: Grace Sainsbury <graces@redhat.com>
To: gdb-patches@sources.redhat.com, Andrew Cagney <ac131313@ges.redhat.com>
Subject: [patch] remote.c: unpack_varlen_hex
Date: Thu, 08 Aug 2002 12:44:00 -0000 [thread overview]
Message-ID: <20020808154416.B27850@tomago.toronto.redhat.com> (raw)
In-Reply-To: <3D52B8B9.6070409@ges.redhat.com>; from ac131313@ges.redhat.com on Thu, Aug 08, 2002 at 02:30:17PM -0400
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
I'm commiting the ulongest patch with a separate changelog.
grace
2002-08-08 Grace Sainsbury <graces@redhat.com>
* remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST.
(unpack_varlen_hex): Change result parameter from
int * to ULONGEST *.
[-- Attachment #2: ulongest.patch --]
[-- Type: text/plain, Size: 1179 bytes --]
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.89
diff -u -r1.89 remote.c
--- remote.c 23 Jul 2002 18:55:06 -0000 1.89
+++ remote.c 8 Aug 2002 19:43:18 -0000
@@ -1107,7 +1107,7 @@
#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 @@
char *
unpack_varlen_hex (char *buff, /* packet to parse */
- int *result)
+ ULONGEST *result)
{
int nibble;
int retval = 0;
@@ -3007,7 +3007,7 @@
{
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 @@
{
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;
next prev parent reply other threads:[~2002-08-08 19:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-06 9:19 [rfa] hardware breakpoints -- remote targets Grace Sainsbury
2002-08-08 10:06 ` Grace Sainsbury
2002-08-08 11:30 ` Andrew Cagney
2002-08-08 12:44 ` Grace Sainsbury [this message]
2002-08-09 8:41 ` Grace Sainsbury
2002-08-09 9:26 ` Andrew Cagney
2002-08-11 6:48 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020808154416.B27850@tomago.toronto.redhat.com \
--to=graces@redhat.com \
--cc=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox