summaryrefslogtreecommitdiff
path: root/gdb/dicos-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-05-19 00:23:49 +0000
committerPedro Alves <pedro@codesourcery.com>2009-05-19 00:23:49 +0000
commitdd5b39744afe2ae814488804379699b19ad809b3 (patch)
tree8cbdd4e0d614f53b276c081afcd152dee4e7d221 /gdb/dicos-tdep.c
parent4ecd8c725ac1da53920e6430c601bd58af223908 (diff)
downloadgdb-dd5b39744afe2ae814488804379699b19ad809b3.tar.gz
* 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/dicos-tdep.c')
-rw-r--r--gdb/dicos-tdep.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c
index d64efe56aaf..fe5f853947b 100644
--- a/gdb/dicos-tdep.c
+++ b/gdb/dicos-tdep.c
@@ -33,9 +33,14 @@ dicos_init_abi (struct gdbarch *gdbarch)
set_solib_ops (gdbarch, &solib_target_so_ops);
/* Every process, although has its own address space, sees the same
- list of shared libraries. */
+ list of shared libraries. There's no "main executable" in DICOS,
+ so this accounts for all code. */
set_gdbarch_has_global_solist (gdbarch, 1);
+ /* The DICOS breakpoint API takes care of magically making
+ breakpoints visible to all inferiors. */
+ set_gdbarch_has_global_breakpoints (gdbarch, 1);
+
/* There's no (standard definition of) entry point or a guaranteed
text location with a symbol where to place the call dummy, so we
put it on the stack. */