Lines Matching refs:INFERIOR
92 /* These are the token types for the 'if', 'thread', 'inferior', and
97 INFERIOR,
127 case type::INFERIOR:
128 return string_printf ("{ INFERIOR: \"%s\" }",
281 else if (startswith ("inferior", t))
282 curr_results->emplace_back (token::type::INFERIOR, v);
389 else if (t.get_type () == token::type::INFERIOR
394 parsed. If this is true then this looks like a valid inferior
475 int thread = -1, inferior = -1, task = -1;
491 if (task != -1 || inferior != -1)
492 error ("You can specify only one of thread, inferior, or task.");
499 case token::type::INFERIOR:
501 if (inferior != -1)
502 error ("You can specify only one inferior.");
504 error ("You can specify only one of thread, inferior, or task.");
508 error (_("Junk '%s' after inferior keyword."), tmptok);
510 error (_("No inferior number '%ld'"), inferior_id);
511 inferior = static_cast<int> (inferior_id);
512 struct inferior *inf = find_inferior_id (inferior);
514 error (_("No inferior number '%d'"), inferior);
521 if (inferior != -1 || thread != -1)
522 error ("You can specify only one of thread, inferior, or task.");
548 *inferior_ptr = inferior;
565 int inferior = -1, int task = -1, bool force = false,
599 || inferior != extracted_inferior
610 debug_printf ("inferior: %d\n", extracted_inferior);
647 test (" if blah inferior 1", "blah", -1, 1);
661 test ("if ( foo == thread ) inferior 1", "( foo == thread )", -1, 1);
670 test_error ("thread 1 if foo == 123 inferior 1",
671 "You can specify only one of thread, inferior, or task.");
673 "You can specify only one of thread, inferior, or task.");
674 test_error ("inferior 1 if foo == 123 inferior 1",
675 "You can specify only one inferior.");
676 test_error ("inferior 1 if foo == 123 thread 1",
677 "You can specify only one of thread, inferior, or task.");
678 test_error ("inferior 1 if foo == 123 task 1",
679 "You can specify only one of thread, inferior, or task.");
683 test_error ("inferior 1xxx", "Junk 'xxx' after inferior keyword.");