diff options
author | Randolph Chung <tausq@debian.org> | 2004-05-16 04:33:41 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-05-16 04:33:41 +0000 |
commit | 0d99fdb99176163c1b679d271d86c50cc0247231 (patch) | |
tree | 2d79805869d08cf7ca164d123412570b959f5ec3 /gdb/somsolib.c | |
parent | 7154e7286244cfc59dba3aea385f97917ad8251a (diff) | |
download | gdb-0d99fdb99176163c1b679d271d86c50cc0247231.zip gdb-0d99fdb99176163c1b679d271d86c50cc0247231.tar.gz gdb-0d99fdb99176163c1b679d271d86c50cc0247231.tar.bz2 |
2004-05-15 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
as pointer instead of array reference since HPUX compiler does
not accept unsized array arguments.
* somsolib.c (dld_flags_buffer): Use constant array size.
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 5f4ecc8..38a3186 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -1064,7 +1064,7 @@ som_solib_remove_inferior_hook (int pid) CORE_ADDR addr; struct minimal_symbol *msymbol; int status; - char dld_flags_buffer[TARGET_INT_BIT / TARGET_CHAR_BIT]; + char dld_flags_buffer[4]; unsigned int dld_flags_value; struct cleanup *old_cleanups = save_inferior_ptid (); |