aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/psympriv.h10
2 files changed, 11 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5afd2d5..0efe327 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-17 Tom Tromey <tromey@redhat.com>
+
+ * psympriv.h (struct partial_symtab) <readin>: Move field
+ earlier.
+
2010-12-16 Kevin Buettner <kevinb@redhat.com>
* mips-tdep.c (mips_convert_register_float_case_p)
diff --git a/gdb/psympriv.h b/gdb/psympriv.h
index b5205fd2..5691eaf 100644
--- a/gdb/psympriv.h
+++ b/gdb/psympriv.h
@@ -129,6 +129,12 @@ struct partial_symtab
int statics_offset;
int n_static_syms;
+ /* Non-zero if the symtab corresponding to this psymtab has been
+ readin. This is located here so that this structure packs better
+ on 64-bit systems. */
+
+ unsigned char readin;
+
/* Pointer to symtab eventually allocated for this source file, 0 if
!readin or if we haven't looked for the symtab after it was readin. */
@@ -145,10 +151,6 @@ struct partial_symtab
the various symbol reading modules. */
void *read_symtab_private;
-
- /* Non-zero if the symtab corresponding to this psymtab has been readin */
-
- unsigned char readin;
};
extern void sort_pst_symbols (struct partial_symtab *);