public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-optional-psymtab: add missing MAYBE_SWAP
@ 2010-06-22 19:18 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2010-06-22 19:18 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-optional-psymtab has been updated
       via  7ec6f83145094b117a5f2f7f0ee25442deeda121 (commit)
      from  022d6239649721924fcccb6063998aa415664ff1 (commit)

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

- Log -----------------------------------------------------------------
commit 7ec6f83145094b117a5f2f7f0ee25442deeda121
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jun 22 13:18:35 2010 -0600

    add missing MAYBE_SWAP

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

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

First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 1086d2f..5d3f5b3 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -1763,8 +1763,8 @@ create_cus_from_index (struct objfile *objfile, struct mapped_index *index)
 
       the_cu = OBSTACK_ZALLOC (&objfile->objfile_obstack,
 			       struct dwarf2_per_cu_data);
-      the_cu->offset = index->cu_list[i];
-      the_cu->length = index->cu_list[i + 1];
+      the_cu->offset = MAYBE_SWAP (index->cu_list[i]);
+      the_cu->length = MAYBE_SWAP (index->cu_list[i + 1]);
       the_cu->objfile = objfile;
       the_cu->v.quick = OBSTACK_ZALLOC (&objfile->objfile_obstack,
 					struct dwarf2_per_cu_quick_data);


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-22 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-22 19:18 [SCM] archer-tromey-optional-psymtab: add missing MAYBE_SWAP tromey

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).