Fix code indentation

gdb:

2015-04-15  Yao Qi  <yao.qi@linaro.org>

	* arm-linux-tdep.c (arm_linux_copy_svc): Fix indentation.
This commit is contained in:
Yao Qi 2015-04-15 14:55:04 +01:00
parent 41f071ef33
commit 2bb2dcab45
2 changed files with 38 additions and 33 deletions

View File

@ -1,3 +1,7 @@
2015-04-15 Yao Qi <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_copy_svc): Fix indentation.
2015-04-15 Yao Qi <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_cleanup_svc): Use

View File

@ -984,12 +984,14 @@ arm_linux_copy_svc (struct gdbarch *gdbarch, struct regcache *regs,
if (debug_displaced)
fprintf_unfiltered (gdb_stdlog, "displaced: found "
"sigreturn/rt_sigreturn SVC call. PC in frame = %lx\n",
"sigreturn/rt_sigreturn SVC call. PC in "
"frame = %lx\n",
(unsigned long) get_frame_pc (frame));
if (debug_displaced)
fprintf_unfiltered (gdb_stdlog, "displaced: unwind pc = %lx. "
"Setting momentary breakpoint.\n", (unsigned long) return_to);
"Setting momentary breakpoint.\n",
(unsigned long) return_to);
gdb_assert (inferior_thread ()->control.step_resume_breakpoint
== NULL);
@ -1023,7 +1025,6 @@ arm_linux_copy_svc (struct gdbarch *gdbarch, struct regcache *regs,
fprintf_unfiltered (gdb_stdlog, "displaced: sigreturn/rt_sigreturn "
"SVC call not in signal trampoline frame\n");
/* Preparation: If we detect sigreturn, set momentary breakpoint at resume
location, else nothing.
Insn: unmodified svc.