diff options
author | Pedro Alves <palves@redhat.com> | 2014-09-22 09:56:55 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-09-22 10:06:25 +0100 |
commit | 04086b458aebb38994486b09f4492645f03e971f (patch) | |
tree | 7f5718576280d5019698676b9212ffa29d7392a2 /gdb/NEWS | |
parent | 447023601a12d18573ea6acf75a3778a55d809e1 (diff) | |
download | gdb-04086b458aebb38994486b09f4492645f03e971f.zip gdb-04086b458aebb38994486b09f4492645f03e971f.tar.gz gdb-04086b458aebb38994486b09f4492645f03e971f.tar.bz2 |
Tell update_global_location_list to insert breakpoints
This adds a new mode for update_global_location_list, that allows
callers saying "please insert breakpoints, even if
breakpoints_always_inserted_mode() is false". This allows removing a
couple breakpoints_always_inserted_mode checks.
gdb/
2014-09-22 Pedro Alves <palves@redhat.com>
* breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
(insert_breakpoints): Don't call insert_breakpoint_locations here.
Instead, pass UGLL_INSERT to update_global_location_list.
(update_global_location_list): Change parameter type from boolean
to enum ugll_insert_mode. All callers adjusted. Adjust to use
breakpoints_should_be_inserted_now and handle UGLL_INSERT.
(create_solib_event_breakpoint_1): New, factored out from ...
(create_solib_event_breakpoint): ... this.
(create_and_insert_solib_event_breakpoint): Use
create_solib_event_breakpoint_1 instead of calling
insert_breakpoint_locations manually.
(update_global_location_list): Handle UGLL_INSERT.
Diffstat (limited to 'gdb/NEWS')
0 files changed, 0 insertions, 0 deletions