From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20318 invoked by alias); 8 Aug 2002 19:44:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20311 invoked from network); 8 Aug 2002 19:44:17 -0000 Received: from unknown (HELO tomago.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 8 Aug 2002 19:44:17 -0000 Received: (from graces@localhost) by tomago.toronto.redhat.com (8.11.6/8.11.6) id g78JiGB28436; Thu, 8 Aug 2002 15:44:16 -0400 Date: Thu, 08 Aug 2002 12:44:00 -0000 From: Grace Sainsbury To: gdb-patches@sources.redhat.com, Andrew Cagney Subject: [patch] remote.c: unpack_varlen_hex Message-ID: <20020808154416.B27850@tomago.toronto.redhat.com> References: <20020806121916.A24815@tomago.toronto.redhat.com> <20020808130648.A27850@tomago.toronto.redhat.com> <3D52B8B9.6070409@ges.redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D52B8B9.6070409@ges.redhat.com>; from ac131313@ges.redhat.com on Thu, Aug 08, 2002 at 02:30:17PM -0400 X-SW-Source: 2002-08/txt/msg00188.txt.bz2 --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 308 I'm commiting the ulongest patch with a separate changelog. grace 2002-08-08 Grace Sainsbury * remote.c (remote_wait, remote_async_wait): Change thread_num from int to ULONGEST. (unpack_varlen_hex): Change result parameter from int * to ULONGEST *. --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ulongest.patch" Content-length: 1179 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; --E39vaYmALEf/7YXx--