diff options
author | Pedro Alves <palves@redhat.com> | 2009-05-19 00:23:49 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-05-19 00:23:49 +0000 |
commit | 2567c7d9ccb27053278c7bca0c911a817ab21b47 (patch) | |
tree | 225747d5d6ad2a1c4983155875dcc6437bb527e9 /gdb/remote.c | |
parent | 7b6175f9c6195432011dc348479a3b05859bad2b (diff) | |
download | gdb-2567c7d9ccb27053278c7bca0c911a817ab21b47.zip gdb-2567c7d9ccb27053278c7bca0c911a817ab21b47.tar.gz gdb-2567c7d9ccb27053278c7bca0c911a817ab21b47.tar.bz2 |
* breakpoint.c (insert_breakpoints, breakpoint_init_inferior)
(update_global_location_list): Use gdbarch_has_global_breakpoints
instead of gdbarch_has_global_solist and
target_supports_multi_process.
* dicos-tdep.c (dicos_init_abi): Set
gdbarch_has_global_breakpoints.
* gdbarch.sh (has_global_solist): Update comment.
(has_global_breakpoints): New.
* remote.c (remote_start_remote): Use
gdbarch_has_global_breakpoints instead of
gdbarch_has_global_solist.
* target.c (target_detach): Use gdbarch_has_global_breakpoints
instead of gdbarch_has_global_solist.
* infcmd.c (attach_command): Use gdbarch_has_global_solist instead
of target_supports_multi_process.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index bec99f0..60d3204 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2824,9 +2824,8 @@ remote_start_remote (struct ui_out *uiout, void *opaque) remote_check_symbols (symfile_objfile); } - /* If code is shared between processes, then breakpoints are global - too; Insert them now. */ - if (gdbarch_has_global_solist (target_gdbarch) + /* If breakpoints are global, insert them now. */ + if (gdbarch_has_global_breakpoints (target_gdbarch) && breakpoints_always_inserted_mode ()) insert_breakpoints (); } |