diff options
author | Tom Tromey <tromey@redhat.com> | 2010-12-17 17:19:36 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-12-17 17:19:36 +0000 |
commit | 900c7f9d2037c1c4a4c9697c25053cafa405f84c (patch) | |
tree | af57d6877ad90264843111030f633fe90a75ea30 /gdb | |
parent | e8ef21bff548e7b307b7079d349f42187914d4b1 (diff) | |
download | gdb-900c7f9d2037c1c4a4c9697c25053cafa405f84c.zip gdb-900c7f9d2037c1c4a4c9697c25053cafa405f84c.tar.gz gdb-900c7f9d2037c1c4a4c9697c25053cafa405f84c.tar.bz2 |
* psympriv.h (struct partial_symtab) <readin>: Move field
earlier.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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 *); |