* gdbarch.sh (has_global_solist): Mention global breakpoints.
authorPedro Alves <palves@redhat.com>
Mon, 3 Nov 2008 16:11:45 +0000 (16:11 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 3 Nov 2008 16:11:45 +0000 (16:11 +0000)
* gdbarch.h: Regenerate.

gdb/ChangeLog
gdb/gdbarch.h
gdb/gdbarch.sh

index afec7c5..920c5f4 100644 (file)
@@ -1,5 +1,10 @@
 2008-11-03  Pedro Alves  <pedro@codesourcery.com>
 
+       * gdbarch.sh (has_global_solist): Mention global breakpoints.
+       * gdbarch.h: Regenerate.
+
+2008-11-03  Pedro Alves  <pedro@codesourcery.com>
+
        * remote.c (remote_start_remote): If the solib list is global,
        fetch libraries and insert breakpoints after connecting.
        * infcmd.c (post_create_inferior): If the solist is shared between
index 909db8c..35f8a36 100644 (file)
@@ -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);
index 28983d3..79ca862 100755 (executable)
@@ -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
 }