Changeset 450 for trunk/user/idbg


Ignore:
Timestamp:
Jun 29, 2018, 10:44:14 AM (7 years ago)
Author:
alain
Message:

Fix a bug in function sched_handle_signal():
When the deleted user thread is the last executed thread,
the sched->u_last field must be updated to point on another user thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/idbg/idbg.c

    r446 r450  
    1818
    1919    get_cycle( &cycle );
     20
    2021    printf( "\n[IDBG] starts at cycle %d\n", (unsigned int)cycle );
    2122
    22     ///////
    23     idbg();
    24     ///////
     23//    idbg();
    2524
    26     get_cycle( &cycle );
    27     printf( "\n[IDBG] exit at cycle %d\n", (unsigned int)cycle );
    28 
    29     exit( EXIT_SUCCESS );
     25    exit( 0 );
    3026
    3127} // end main()
Note: See TracChangeset for help on using the changeset viewer.