Change parameter type of update_global_location_list from boolean to enum
authorPedro Alves <palves@redhat.com>
Mon, 22 Sep 2014 08:56:54 +0000 (09:56 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 22 Sep 2014 08:56:54 +0000 (09:56 +0100)
commit447023601a12d18573ea6acf75a3778a55d809e1
tree705bc66abdd086f1c7a2f8f9235ba124da1b1629
parentc3eb94b43ee8cd748a3b03a5c3eed90f19e18a4b
Change parameter type of update_global_location_list from boolean to enum

Later we'll want a tristate, but for now, convert to an enum that maps 1-1
with the current boolean's true/false.

gdb/
2014-09-22  Pedro Alves  <palves@redhat.com>

* breakpoint.c (enum ugll_insert_mode): New enum.
(update_global_location_list)
(update_global_location_list_nothrow): Change parameter type from
boolean to enum ugll_insert_mode.  All callers adjusted.
gdb/ChangeLog
gdb/breakpoint.c