From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10228 invoked by alias); 3 Nov 2008 19:14:47 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 10140 invoked by uid 9782); 3 Nov 2008 19:14:47 -0000 Date: Mon, 03 Nov 2008 19:14:00 -0000 Message-ID: <20081103191447.10117.qmail@sourceware.org> From: sergio@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: * gdbarch.sh (has_global_solist): Mention global breakpoints. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 480ca0913232c5c52b37ac7ff50abf5ee7895bd2 X-Git-Newrev: d64b92ef0c12d89d958c81804665fb1d3c3e069d X-SW-Source: 2008-q4/txt/msg00059.txt.bz2 List-Id: The branch, master has been updated via d64b92ef0c12d89d958c81804665fb1d3c3e069d (commit) from 480ca0913232c5c52b37ac7ff50abf5ee7895bd2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d64b92ef0c12d89d958c81804665fb1d3c3e069d Author: Pedro Alves Date: Mon Nov 3 16:11:44 2008 +0000 * gdbarch.sh (has_global_solist): Mention global breakpoints. * gdbarch.h: Regenerate. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 5 +++++ gdb/gdbarch.h | 5 ++++- gdb/gdbarch.sh | 3 +++ 3 files changed, 12 insertions(+), 1 deletions(-) First 500 lines of diff: diff --git a/gdb/ChangeLog b/gdb/ChangeLog index afec7c5..920c5f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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, fetch libraries and insert breakpoints after connecting. * infcmd.c (post_create_inferior): If the solist is shared between diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 909db8c..35f8a36 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 28983d3..79ca862 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 } hooks/post-receive -- Repository for Project Archer.