| 950 | } |
| 951 | |
| 952 | static void debug_parent_on_end_stepping( void ) |
| 953 | { |
| 954 | FRAME_INFO base; |
| 955 | fprintf( command_output, "info frame\n" ); |
| 956 | fflush( command_output ); |
| 957 | debug_frame_read( command_child, &base ); |
| 958 | if ( debug_interface == DEBUG_INTERFACE_CONSOLE ) |
| 959 | { |
| 960 | debug_print_source( base.file, base.line ); |
| 961 | } |
| 962 | else |
| 963 | { |
| 964 | printf( "*stopped,reason=\"end-stepping-range\"," ); |
| 965 | debug_mi_print_frame_info( &base ); |
| 966 | printf( ",thread-id=\"1\"" ); |
| 967 | printf( "\n(gdb) \n" ); |
| 968 | } |
| 969 | fflush( stdout ); |
| 970 | } |
| 971 | |
| 972 | /* Waits for events from the child. */ |
| 973 | static void debug_parent_wait( int print_message ) |
no test coverage detected