MCPcopy Create free account
hub / github.com/boostorg/build / debug_mi_gdb_exit

Function debug_mi_gdb_exit

src/engine/debugger.cpp:2108–2119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2106}
2107
2108static 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
2121static void debug_mi_gdb_set( int argc, const char * * argv )
2122{

Callers

nothing calls this directly

Calls 2

debug_parent_waitFunction · 0.85
debug_mi_format_tokenFunction · 0.85

Tested by

no test coverage detected