This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Minor reformatting in infrun.c:handle_inferior_event
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 7 Nov 2011 09:09:31 -0800
- Subject: [commit] Minor reformatting in infrun.c:handle_inferior_event
- References: <20111104015619.GA5208@sourceware.org>
Hello,
This fixes the latest ARI violation warning that we received 3 days ago:
http://www.sourceware.org/ml/gdb-patches/2011-11/msg00105.html
gdb/ChangeLog:
* infrun.c (handle_inferior_event): Minor reformatting.
Only tested by rebuilding GDB on x86_64-linux.
---
gdb/ChangeLog | 4 ++++
gdb/infrun.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d00939c..1ff889e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-07 Joel Brobecker <brobecker@adacore.com>
+
+ * infrun.c (handle_inferior_event): Minor reformatting.
+
2011-11-05 Doug Evans <dje@google.com>
* source.c (forget_cached_source_info_for_objfile): Move call to
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 7ec0788..3361926 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4928,8 +4928,8 @@ process_event_stop_test:
struct symtab_and_line tmp_sal;
tmp_sal = find_pc_line (ecs->stop_func_start, 0);
- if (tmp_sal.line != 0 &&
- !function_pc_is_marked_for_skip (ecs->stop_func_start))
+ if (tmp_sal.line != 0
+ && !function_pc_is_marked_for_skip (ecs->stop_func_start))
{
if (execution_direction == EXEC_REVERSE)
handle_step_into_function_backward (gdbarch, ecs);
--
1.7.1