public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: sergio@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-sergio-catch-syscall: Merge branch 'master' into catch-syscall
Date: Mon, 03 Nov 2008 19:18:00 -0000	[thread overview]
Message-ID: <20081103191807.6118.qmail@sourceware.org> (raw)

The branch, archer-sergio-catch-syscall has been updated
       via  82a12cecafabe86cf2de05a3527ecd5586047178 (commit)
       via  86feee00847ba8d42f748577352b85f72623d055 (commit)
       via  d64b92ef0c12d89d958c81804665fb1d3c3e069d (commit)
      from  bcb748e1454ad464f022d83ad7de68c2b7065694 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 82a12cecafabe86cf2de05a3527ecd5586047178
Merge: 86feee00847ba8d42f748577352b85f72623d055 d64b92ef0c12d89d958c81804665fb1d3c3e069d
Author: Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Date:   Mon Nov 3 11:14:59 2008 -0800

    Merge branch 'master' into catch-syscall

commit 86feee00847ba8d42f748577352b85f72623d055
Author: Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Date:   Mon Nov 3 09:00:32 2008 -0800

    little bug

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog     |    5 +++++
 gdb/gdbarch.h     |    5 ++++-
 gdb/gdbarch.sh    |    3 +++
 gdb/xml-syscall.c |    4 ++--
 4 files changed, 14 insertions(+), 3 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  <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
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index e5ab197..9cb6e84 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -848,7 +848,10 @@ extern const char ** gdbarch_get_syscalls_names (struct gdbarch *gdbarch);
 extern void set_gdbarch_get_syscalls_names (struct gdbarch *gdbarch, gdbarch_get_syscalls_names_ftype *get_syscalls_names);
 
 /* 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 50122a7..2e65481 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -727,6 +727,9 @@ M:const char **:get_syscalls_names:void:
 
 # 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
 }
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index a235dfd..c6ecac6 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -263,8 +263,8 @@ syscall_start_syscall (struct gdb_xml_parser *parser,
   struct gdb_xml_value *attrs = VEC_address (gdb_xml_value_s, attributes);
   int len, i;
   /* syscall info.  */
-  char *name;
-  int number;
+  char *name = NULL;
+  int number = 0;
 
   len = VEC_length (gdb_xml_value_s, attributes);
 


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2008-11-03 19:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 19:18 sergio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-03 15:04 sergio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081103191807.6118.qmail@sourceware.org \
    --to=sergio@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).