| 2106 | } |
| 2107 | |
| 2108 | static void debug_mi_gdb_exit( int argc, const char * * argv ) |
| 2109 | { |
| 2110 | if ( debug_state == DEBUG_RUN ) |
| 2111 | { |
| 2112 | fprintf( command_output, "kill\n" ); |
| 2113 | fflush( command_output ); |
| 2114 | debug_parent_wait( 0 ); |
| 2115 | } |
| 2116 | debug_mi_format_token(); |
| 2117 | printf( "^exit\n" ); |
| 2118 | exit( EXIT_SUCCESS ); |
| 2119 | } |
| 2120 | |
| 2121 | static void debug_mi_gdb_set( int argc, const char * * argv ) |
| 2122 | { |
nothing calls this directly
no test coverage detected