aboutsummaryrefslogtreecommitdiff
path: root/gdb/psympriv.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-12-17 17:19:36 +0000
committerTom Tromey <tromey@redhat.com>2010-12-17 17:19:36 +0000
commit900c7f9d2037c1c4a4c9697c25053cafa405f84c (patch)
treeaf57d6877ad90264843111030f633fe90a75ea30 /gdb/psympriv.h
parente8ef21bff548e7b307b7079d349f42187914d4b1 (diff)
downloadgdb-900c7f9d2037c1c4a4c9697c25053cafa405f84c.zip
gdb-900c7f9d2037c1c4a4c9697c25053cafa405f84c.tar.gz
gdb-900c7f9d2037c1c4a4c9697c25053cafa405f84c.tar.bz2
* psympriv.h (struct partial_symtab) <readin>: Move field
earlier.
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r--gdb/psympriv.h10
1 files changed, 6 insertions, 4 deletions
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 *);