Lines Matching defs:inferior
34 #include "inferior.h"
173 /* Don't insert any breakpoint locations into the inferior, only
187 the inferior. */
389 /* The inferior should have been set by the parent constructor. */
390 gdb_assert (inferior == -1);
457 is a problem with any of the arguments, but using an inferior
473 call into the inferior. The value is simply a string that is
480 call into the inferior; if a nonempty string, it will be passed to
499 /* Flag indicating that a command has proceeded the inferior past the
508 represent values of 'disp' field returned when inferior stops at
562 /* If on, GDB keeps breakpoints inserted even if the inferior is
616 for (inferior *inf : all_inferiors ())
1554 already has task or inferior restriction. */
1555 gdb_assert (thread == -1 || (b->task == -1 && b->inferior == -1));
1566 breakpoint_set_inferior (struct breakpoint *b, int inferior)
1568 /* INFERIOR should be -1, meaning no inferior restriction, or it should
1569 be a valid inferior number, which are greater than zero. */
1570 gdb_assert (inferior == -1 || inferior > 0);
1572 /* It is not valid to set an inferior restriction for a breakpoint that
1574 gdb_assert (inferior == -1 || (b->task == -1 && b->thread == -1));
1576 int old_inferior = b->inferior;
1577 b->inferior = inferior;
1578 if (old_inferior != inferior)
1592 already has a thread or inferior restriction. */
1593 gdb_assert (task == -1 || (b->thread == -1 && b->inferior == -1));
2050 the inferior on the first stop the thread hit event is kept being
2056 watchpoint removal from inferior. */
2379 inserted in the inferior. We don't differentiate the type of BL's owner
2816 inserted within the target inferior, as a result any further attempts
3167 /* Make sure all breakpoints are inserted in inferior.
3229 to select an inferior to insert breakpoint to. In fact, even
3280 /* Or inferior specific breakpoints if the inferior no longer
3282 if (bl->owner->inferior != -1
3283 && !valid_global_inferior_id (bl->owner->inferior))
3289 to select an inferior to insert breakpoint to. In fact, even
3388 /* Called when inferior INF has been removed from GDB. Remove associated
3389 per-inferior breakpoints. */
3392 remove_inferior_breakpoints (struct inferior *inf)
3396 if (b.inferior == inf->num && user_breakpoint_p (&b))
3404 Inferior-specific breakpoint %d deleted - inferior %d has been removed.\n"),
3414 remove_breakpoints_inf (inferior *inf)
4003 the inferior stopped. So it doesn't matter that the bp's
4028 struct inferior *inf = current_inferior ();
4059 When we get here, the child isn't in the inferior list, and neither
4237 breakpoint_init_inferior (inferior *inf, inf_context context)
4257 cause problems when the inferior is rerun, so we better get
4305 update_watchpoint, when the inferior is restarted.
4716 /* Called when a command is about to proceed the inferior. */
4725 /* Allow inferior function calls in breakpoint commands to not
4727 successfully, the inferior will be standing at the same
4763 Returns true if a breakpoint command resumed the inferior. In that
4906 inferior, and only return when it is stopped at the next
4908 false to indicate the inferior was not resumed. */
5022 current_uiout->text (_(" Inferior unloaded "));
5037 current_uiout->text (_(" Inferior loaded "));
5603 || (b->inferior != -1 && b->inferior != thread->inf->num)
5835 inferior function calls. */
5965 target_terminal::inferior ();
6604 for (inferior *inf : all_inferiors ())
6636 else if (b->inferior != -1)
6637 uiout->field_signed ("inferior", b->inferior);
6700 if (!part_of_multiple && b->inferior != -1)
6702 uiout->text ("\tstop only in inferior ");
6703 uiout->field_signed ("inferior", b->inferior);
7699 gdb_assert (b.inferior == -1);
7713 gdb_assert (b.inferior == -1);
7772 gdb_assert (b.inferior == -1);
8111 unmapped from the inferior or not, so leave the
8646 /* At most one of thread, task, or inferior can be set on any breakpoint. */
8649 + (inferior == -1 ? 0 : 1)) <= 1);
8653 inferior = inferior_;
8750 int thread, int task, int inferior, int ignore_count,
8764 thread, task, inferior, ignore_count,
8793 int thread, int task, int inferior,
8818 thread, task, inferior, ignore_count,
8954 inferior, these are extracted into *THREAD, *TASK, and *INFERIOR
8956 INFERIOR) or 0 (for TASK).
8963 int *thread, int *inferior, int *task,
8968 *inferior = -1;
9025 if (*inferior != -1)
9026 error (_("You can specify only one of inferior or thread."));
9035 else if (toklen >= 1 && strncmp (tok, "inferior", toklen) == 0)
9037 if (*inferior != -1)
9038 error(_("You can specify only one inferior."));
9041 error (_("You can specify only one of inferior or task."));
9044 error (_("You can specify only one of inferior or thread."));
9048 *inferior = strtol (tok, &tmptok, 0);
9050 error (_("Junk after inferior keyword."));
9051 if (!valid_global_inferior_id (*inferior))
9052 error (_("Unknown inferior number %d."), *inferior);
9065 if (*inferior != -1)
9066 error (_("You can specify only one of inferior or task."));
9095 int *thread, int *inferior, int *task,
9125 *inferior = inferior_id;
9215 int thread, int inferior,
9231 gdb_assert (inferior == -1 || inferior > 0);
9232 gdb_assert (thread == -1 || inferior == -1);
9234 /* If PARSE_EXTRA is true then the thread and inferior details will be
9235 parsed from the EXTRA_STRING, the THREAD and INFERIOR arguments
9238 gdb_assert (!parse_extra || inferior == -1);
9327 &cond, &thread, &inferior,
9378 thread, task, inferior, ignore_count,
9448 -1 /* thread */, -1 /* inferior */,
10319 int inferior = -1;
10374 if (inferior != -1)
10375 error (_("You can specify only one of inferior or thread."));
10394 if (inferior != -1)
10395 error (_("You can specify only one of inferior or task."));
10403 else if (toklen == 8 && startswith (tok, "inferior"))
10406 error (_("Cannot use 'inferior' keyword with watchpoints"));
10580 w->inferior = inferior;
10677 However, I don't think that the values returned by inferior
10679 notice that an expression involving an inferior function call
11214 locations of the same inferior (in a multi-inferior environment)
11457 necessary that those locations should be removed from inferior --
11625 the inferior, it will most likely immediately crash
11647 for (inferior *inf : all_inferiors ())
12205 /* This breakpoint is special, it's set up when the inferior
12353 /* By definition, the inferior does not report stops at
12514 int task, int inferior,
12541 thread, task, inferior, ignore_count,
13767 stopping the inferior. ARGS may be in any of the forms defined in
13845 be) effective in stopping the inferior. ARGS may be in any of the
13909 invalidate_bp_value_on_memory_change (struct inferior *inferior,
15215 The breakpoint will stop execution of the inferior whenever it executes\n\