Changeset 45477a3 in rtems for c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
- Timestamp:
- Jul 17, 2003, 9:59:42 PM (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 718f981
- Parents:
- d62cfdf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
rd62cfdf r45477a3 604 604 605 605 /* 606 * Get a positive/negative acknowledgment for a transmitted packet. 607 */ 608 static char 609 getAck (void) 610 { 611 char c; 612 613 do 614 { 615 c = getDebugChar (); 616 } 617 while ((c != '+') && (c != '-')); 618 619 return c; 620 } 621 622 623 /* 606 624 * Send the packet in buffer and wait for a positive acknowledgement. 607 625 */ … … 649 667 putDebugChar (lowhex (checksum)); 650 668 } 651 while (get DebugChar() != '+');669 while (getAck () != '+'); 652 670 } 653 671
Note: See TracChangeset
for help on using the changeset viewer.