Make DDB work again after I broke it :-(.

This commit is contained in:
Doug Rabson 1998-06-08 08:43:20 +00:00
parent 65b4c10030
commit aebed8b0ba
3 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_interface.c,v 1.38 1997/11/20 18:09:36 bde Exp $
* $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 dfr Exp $
*/
/*
@ -221,7 +221,7 @@ db_read_bytes(addr, size, data)
db_nofault = &db_jmpbuf;
src = (char *)addr;
while (--size >= 0)
while (size-- != 0)
*data++ = *src++;
db_nofault = 0;

View file

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_examine.c,v 1.17 1997/04/01 14:31:05 bde Exp $
* $Id: db_examine.c,v 1.18 1998/06/07 17:09:37 dfr Exp $
*/
/*
@ -257,7 +257,7 @@ db_search_cmd(dummy1, dummy2, dummy3, dummy4)
int size;
db_expr_t value;
db_expr_t mask;
db_expr_t count;
unsigned int count;
t = db_read_token();
if (t == tSLASH) {

View file

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_interface.c,v 1.38 1997/11/20 18:09:36 bde Exp $
* $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 dfr Exp $
*/
/*
@ -221,7 +221,7 @@ db_read_bytes(addr, size, data)
db_nofault = &db_jmpbuf;
src = (char *)addr;
while (--size >= 0)
while (size-- != 0)
*data++ = *src++;
db_nofault = 0;