gdb: fix indentation in infrun.c
I noticed the indentation there was off, this patch fixes it. gdb/ChangeLog: * infrun.c (proceed): Fix indentation.
This commit is contained in:
parent
f6474de9aa
commit
f9fac3c81b
2 changed files with 40 additions and 36 deletions
|
@ -1,3 +1,7 @@
|
|||
2020-01-21 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* infrun.c (proceed): Fix indentation.
|
||||
|
||||
2020-01-21 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* source-cache.c (source_cache::ensure): Call ext_lang_colorize.
|
||||
|
|
72
gdb/infrun.c
72
gdb/infrun.c
|
@ -3128,46 +3128,46 @@ proceed (CORE_ADDR addr, enum gdb_signal siggnal)
|
|||
{
|
||||
switch_to_thread_no_regs (tp);
|
||||
|
||||
if (!tp->inf->has_execution ())
|
||||
{
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: [%s] target has "
|
||||
"no execution\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
continue;
|
||||
}
|
||||
if (!tp->inf->has_execution ())
|
||||
{
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: [%s] target has "
|
||||
"no execution\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
continue;
|
||||
}
|
||||
|
||||
if (tp->resumed)
|
||||
{
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: [%s] resumed\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
gdb_assert (tp->executing || tp->suspend.waitstatus_pending_p);
|
||||
continue;
|
||||
}
|
||||
if (tp->resumed)
|
||||
{
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: [%s] resumed\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
gdb_assert (tp->executing || tp->suspend.waitstatus_pending_p);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (thread_is_in_step_over_chain (tp))
|
||||
{
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: [%s] needs step-over\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
continue;
|
||||
}
|
||||
if (thread_is_in_step_over_chain (tp))
|
||||
{
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: [%s] needs step-over\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
continue;
|
||||
}
|
||||
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: resuming %s\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"infrun: proceed: resuming %s\n",
|
||||
target_pid_to_str (tp->ptid).c_str ());
|
||||
|
||||
reset_ecs (ecs, tp);
|
||||
switch_to_thread (tp);
|
||||
keep_going_pass_signal (ecs);
|
||||
if (!ecs->wait_some_more)
|
||||
error (_("Command aborted."));
|
||||
}
|
||||
reset_ecs (ecs, tp);
|
||||
switch_to_thread (tp);
|
||||
keep_going_pass_signal (ecs);
|
||||
if (!ecs->wait_some_more)
|
||||
error (_("Command aborted."));
|
||||
}
|
||||
}
|
||||
else if (!cur_thr->resumed && !thread_is_in_step_over_chain (cur_thr))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue