This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch to fix typo in remote.c


The enclosed patch fixes a typo that showed up in the last snapshot.

    --jtc


Index: remote.c
===================================================================
RCS file: /usr/rback/release/tools-src/gdb/gdb/remote.c,v
retrieving revision 1.1.1.3
diff -c -r1.1.1.3 remote.c
*** remote.c	1999/01/28 23:00:17	1.1.1.3
--- remote.c	1999/01/30 02:14:42
***************
*** 3030,3036 ****
    *p2 = buf[i];
  
    if ( buf[i] )
!     error ("query larger than avaiable buffer");
  
    i = putpkt (buf2);
    if ( i < 0 ) return i;
--- 3030,3036 ----
    *p2 = buf[i];
  
    if ( buf[i] )
!     error ("query larger than available buffer");
  
    i = putpkt (buf2);
    if ( i < 0 ) return i;