From: Tom Tromey Date: Fri, 17 Dec 2010 17:19:36 +0000 (+0000) Subject: * psympriv.h (struct partial_symtab) : Move field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=900c7f9d2037c1c4a4c9697c25053cafa405f84c;p=binutils-gdb.git * psympriv.h (struct partial_symtab) : Move field earlier. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5afd2d52645..0efe32700a6 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 b5205fd2f14..5691eafe297 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 *);