From 900c7f9d2037c1c4a4c9697c25053cafa405f84c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 17 Dec 2010 17:19:36 +0000 Subject: [PATCH] * psympriv.h (struct partial_symtab) : Move field earlier. --- gdb/ChangeLog | 5 +++++ gdb/psympriv.h | 10 ++++++---- 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 + + * psympriv.h (struct partial_symtab) : Move field + earlier. + 2010-12-16 Kevin Buettner * 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 *); -- 2.7.4