public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-jankratochvil-pie: Merge branch 'target_gdbarch_aspace-missing-coreaddrwidth' into archer-jankratochvil-pie
Date: Sun, 10 Jan 2010 19:36:00 -0000	[thread overview]
Message-ID: <20100110193622.18354.qmail@sourceware.org> (raw)

The branch, archer-jankratochvil-pie has been updated
       via  d1394c21467ddfdf38ff2a900f0130e513976e1c (commit)
       via  567a26754fc6f584baad635f526acbd0999e405b (commit)
       via  c40d9e431e3fc8fb2649abe53c4f5361aa1a3102 (commit)
      from  b3d51887e872b382f5b1176358e6e66cae1fcd35 (commit)

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

- Log -----------------------------------------------------------------
commit d1394c21467ddfdf38ff2a900f0130e513976e1c
Merge: b3d51887e872b382f5b1176358e6e66cae1fcd35 567a26754fc6f584baad635f526acbd0999e405b
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Sun Jan 10 20:33:54 2010 +0100

    Merge branch 'target_gdbarch_aspace-missing-coreaddrwidth' into archer-jankratochvil-pie

commit 567a26754fc6f584baad635f526acbd0999e405b
Merge: c40d9e431e3fc8fb2649abe53c4f5361aa1a3102 4389bc5873abd2baabae5c7c1ef4db6445c9e94e
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Sun Jan 10 20:32:33 2010 +0100

    Merge branch 'target_gdbarch_aspace-missing' into target_gdbarch_aspace-coreaddrwidth

commit c40d9e431e3fc8fb2649abe53c4f5361aa1a3102
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Sun Jan 10 20:32:19 2010 +0100

    fixup

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

Summary of changes:
 gdb/breakpoint.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 75a64d0..2b932e5 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4715,13 +4715,17 @@ static int
 breakpoint_address_match (struct address_space *aspace1, CORE_ADDR addr1,
 			  struct address_space *aspace2, CORE_ADDR addr2)
 {
-  int addr1_bit = gdbarch_addr_bit (address_space_gdbarch (aspace1));
-  int addr2_bit = gdbarch_addr_bit (address_space_gdbarch (aspace2));
+  int addr1_bit, addr2_bit;
   CORE_ADDR addr1_mask = CORE_ADDR_MAX;
   CORE_ADDR addr2_mask = CORE_ADDR_MAX;
 
+  gdb_assert (aspace1 != NULL);
+  gdb_assert (aspace2 != NULL);
+
+  addr1_bit = gdbarch_addr_bit (address_space_gdbarch (aspace1));
   if (addr1_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT))
     addr1_mask = ((CORE_ADDR) 1 << addr1_bit) - 1;
+  addr2_bit = gdbarch_addr_bit (address_space_gdbarch (aspace2));
   if (addr2_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT))
     addr2_mask = ((CORE_ADDR) 1 << addr2_bit) - 1;
 


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


                 reply	other threads:[~2010-01-10 19:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20100110193622.18354.qmail@sourceware.org \
    --to=jkratoch@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).