aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-09-23 17:36:51 +0000
committerDoug Evans <dje@google.com>2008-09-23 17:36:51 +0000
commit9cbfa09e9e209914fdd2e87aedddb3da6de4135f (patch)
tree8c1254cfcc219891699f484d2864b732c733a3a3
parentcc9566afede70ef3a9371b43b6bfa7205688679f (diff)
downloadgdb-9cbfa09e9e209914fdd2e87aedddb3da6de4135f.zip
gdb-9cbfa09e9e209914fdd2e87aedddb3da6de4135f.tar.gz
gdb-9cbfa09e9e209914fdd2e87aedddb3da6de4135f.tar.bz2
* dwarf2read.c (comp_unit_head): Reorganize for better packing.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0a10e92..2327a76 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-23 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (comp_unit_head): Reorganize for better packing.
+
2008-09-22 Tom Tromey <tromey@redhat.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Don't use
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b8bd70d..5778fef 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -233,9 +233,9 @@ struct comp_unit_head
{
unsigned long length;
short version;
- unsigned int abbrev_offset;
unsigned char addr_size;
unsigned char signed_addr_p;
+ unsigned int abbrev_offset;
/* Size of file offsets; either 4 or 8. */
unsigned int offset_size;