comparison packages/hal/common/current/src/thread-packets.c @ 46:797268ecc331 ecos-sw-1999-10-19

Merge from eCos master repository on 1999-10-19-18:55:31-BST
author jlarmour
date Tue, 19 Oct 1999 19:19:52 +0000
parents e7ba79f6d3a8
children c38311975d4f
comparison
equal deleted inserted replaced
45:91d213c0da48 46:797268ecc331
445 base_out = outbuf ; 445 base_out = outbuf ;
446 446
447 if (dbg_currthread(&thread)) 447 if (dbg_currthread(&thread))
448 { 448 {
449 *outbuf++ = 'Q' ; 449 *outbuf++ = 'Q' ;
450 *outbuf++ = 'C' ; /* FIXME: Is this a reasanable code */ 450 *outbuf++ = 'C' ; /* FIXME: Is this a reasonable code */
451 outbuf = pack_int(outbuf, threadref_to_int(&thread)) ; /* Short form */ 451 outbuf = pack_int(outbuf, threadref_to_int(&thread)) ; /* Short form */
452 } 452 }
453 else outbuf = stub_pack_nak(outbuf) ; 453 else outbuf = stub_pack_nak(outbuf) ;
454 *outbuf = '\0' ; /* terminate response packet */ 454 *outbuf = '\0' ; /* terminate response packet */
455 PKT_TRACE("stub_pkt_currthread(resp) ",base_out) ; 455 PKT_TRACE("stub_pkt_currthread(resp) ",base_out) ;