From 9bc9e927792511e2c1997ffcf7cd605cd1eb2ea2 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 3 Nov 2008 16:11:45 +0000 Subject: [PATCH] * gdbarch.sh (has_global_solist): Mention global breakpoints. * gdbarch.h: Regenerate. --- gdb/ChangeLog | 5 +++++ gdb/gdbarch.h | 5 ++++- gdb/gdbarch.sh | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index afec7c54bee..920c5f42935 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-11-03 Pedro Alves + + * gdbarch.sh (has_global_solist): Mention global breakpoints. + * gdbarch.h: Regenerate. + 2008-11-03 Pedro Alves * remote.c (remote_start_remote): If the solib list is global, diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 909db8c296a..35f8a36f4cd 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -812,7 +812,10 @@ extern void gdbarch_record_special_symbol (struct gdbarch *gdbarch, struct objfi extern void set_gdbarch_record_special_symbol (struct gdbarch *gdbarch, gdbarch_record_special_symbol_ftype *record_special_symbol); /* True if the list of shared libraries is one and only for all - processes, as opposed to a list of shared libraries per inferior. */ + processes, as opposed to a list of shared libraries per inferior. + When this property is true, GDB assumes that since shared libraries + are shared across processes, so is all code. Hence, GDB further + assumes an inserted breakpoint location is visible to all processes. */ extern int gdbarch_has_global_solist (struct gdbarch *gdbarch); extern void set_gdbarch_has_global_solist (struct gdbarch *gdbarch, int has_global_solist); diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 28983d3d85d..79ca862a2aa 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -710,6 +710,9 @@ M:void:record_special_symbol:struct objfile *objfile, asymbol *sym:objfile, sym # True if the list of shared libraries is one and only for all # processes, as opposed to a list of shared libraries per inferior. +# When this property is true, GDB assumes that since shared libraries +# are shared across processes, so is all code. Hence, GDB further +# assumes an inserted breakpoint location is visible to all processes. v:int:has_global_solist:::0:0::0 EOF } -- 2.30.2