mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
* 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.
This commit is contained in:
@@ -2220,8 +2220,9 @@ attach_command (char *args, int from_tty)
|
||||
|
||||
dont_repeat (); /* Not for the faint of heart */
|
||||
|
||||
if (target_supports_multi_process ())
|
||||
/* Don't complain if we can be attached to multiple processes. */
|
||||
if (gdbarch_has_global_solist (target_gdbarch))
|
||||
/* Don't complain if all processes share the same symbol
|
||||
space. */
|
||||
;
|
||||
else if (target_has_execution)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user