gdb: remove uses of iterate_over_inferiors in top.c
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 17 Jan 2020 14:58:57 +0000 (09:58 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 17 Jan 2020 14:59:10 +0000 (09:59 -0500)
commit26f42329caf1dcd4a410de61045208024156169f
treef602eb1a02fc6843c9ea74c767f2d2426d92c984
parenta9ac81b1a7902a4c41f5653032e2971a767accc4
gdb: remove uses of iterate_over_inferiors in top.c

Replace with range-based for loops.

gdb/ChangeLog:

* top.c (struct qt_args): Remove.
(kill_or_detach): Change return type to void, replace `void *`
parameter with a proper one.
(print_inferior_quit_action):  Likewise.
(quit_confirm): Use range-based for loop to iterate over inferiors.
(quit_force): Likewise.
gdb/ChangeLog
gdb/top.c
This page took 0.027761 seconds and 4 git commands to generate.