| 1518 | } |
| 1519 | |
| 1520 | static void debug_parent_print( int argc, const char * * argv ) |
| 1521 | { |
| 1522 | LIST * result; |
| 1523 | if ( debug_parent_forward_nowait( argc, argv, 1, 1 ) != 0 ) |
| 1524 | { |
| 1525 | return; |
| 1526 | } |
| 1527 | result = debug_list_read( command_child ); |
| 1528 | |
| 1529 | if ( debug_interface == DEBUG_INTERFACE_CONSOLE ) |
| 1530 | { |
| 1531 | list_print( result ); |
| 1532 | printf( "\n" ); |
| 1533 | } |
| 1534 | else if ( debug_interface == DEBUG_INTERFACE_MI ) |
| 1535 | { |
| 1536 | printf( "~\"$1 = " ); |
| 1537 | list_print( result ); |
| 1538 | printf( "\"\n~\"\\n\"\n" ); |
| 1539 | debug_mi_format_token(); |
| 1540 | printf( "^done\n(gdb) \n" ); |
| 1541 | } |
| 1542 | |
| 1543 | list_free( result ); |
| 1544 | } |
| 1545 | |
| 1546 | static void debug_parent_backtrace( int argc, const char * * argv ) |
| 1547 | { |
nothing calls this directly
no test coverage detected