Move start_event_loop out of event-loop.c
authorTom Tromey <tom@tromey.com>
Mon, 13 Apr 2020 18:42:59 +0000 (12:42 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 13 Apr 2020 20:10:03 +0000 (14:10 -0600)
commit58cf28e860429822ab0aa93a56e130c4430df396
treea9909c52189750a8aa038e7acc61178b32168c5a
parentb7f999aee35f1a40739adea8b11805ceef061c95
Move start_event_loop out of event-loop.c

A subsequent patch is going to move event-loop.c to gdbsupport.  In a
review of an earlier version of this series, Pedro pointed out that
the resulting code would be cleaner if start_event_loop were not
shared -- because gdb and gdbserver have some different needs here --
and so this moves start_event_loop to main.c.  Because the only caller
is there, it is also now static.

gdb/ChangeLog
2020-04-13  Tom Tromey  <tom@tromey.com>

* event-loop.h (start_event_loop): Don't declare.
* event-loop.c (start_event_loop): Move...
* main.c (start_event_loop): ...here.  Now static.
gdb/ChangeLog
gdb/event-loop.c
gdb/event-loop.h
gdb/main.c
This page took 0.041064 seconds and 4 git commands to generate.