aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-06 23:27:05 +0000
committerPierre Muller <muller@sourceware.org>2009-10-06 23:27:05 +0000
commit905e0470f48bf087826c6779f0140f148e03c13a (patch)
tree1ace0c1caa8c0d2a06841dad8bcb108bdd802e2c /gdb/event-loop.c
parent * options.h (class General_options): Define (diff)
downloadbinutils-gdb-905e0470f48bf087826c6779f0140f148e03c13a.tar.gz
binutils-gdb-905e0470f48bf087826c6779f0140f148e03c13a.tar.bz2
binutils-gdb-905e0470f48bf087826c6779f0140f148e03c13a.zip
ARI fix: OP eol rule.
* doublest.c (floatformat_from_length): Avoid operator at end of line. * dwarf2-frame.c (dwarf2_build_frame_info): Idem. * dwarf2read.c (read_array_order, dwarf_decode_macros): Idem. * eval.c (evaluate_subexp_standard): Idem. * event-loop.c (create_timer, handle_timer_event): Idem. * expprint.c (print_subexp_standard): Idem. * f-exp.y (variable): Idem. * f-typeprint.c (f_print_type): Idem.
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 3672aa825f1..afbc2d70ea6 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -1212,9 +1212,9 @@ create_timer (int milliseconds, timer_handler_func * proc, gdb_client_data clien
{
/* If the seconds field is greater or if it is the same, but the
microsecond field is greater. */
- if ((timer_index->when.tv_sec > timer_ptr->when.tv_sec) ||
- ((timer_index->when.tv_sec == timer_ptr->when.tv_sec)
- && (timer_index->when.tv_usec > timer_ptr->when.tv_usec)))
+ if ((timer_index->when.tv_sec > timer_ptr->when.tv_sec)
+ || ((timer_index->when.tv_sec == timer_ptr->when.tv_sec)
+ && (timer_index->when.tv_usec > timer_ptr->when.tv_usec)))
break;
}
@@ -1288,9 +1288,9 @@ handle_timer_event (event_data dummy)
while (timer_ptr != NULL)
{
- if ((timer_ptr->when.tv_sec > time_now.tv_sec) ||
- ((timer_ptr->when.tv_sec == time_now.tv_sec) &&
- (timer_ptr->when.tv_usec > time_now.tv_usec)))
+ if ((timer_ptr->when.tv_sec > time_now.tv_sec)
+ || ((timer_ptr->when.tv_sec == time_now.tv_sec)
+ && (timer_ptr->when.tv_usec > time_now.tv_usec)))
break;
/* Get rid of the timer from the beginning of the list. */