summaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-05-16 04:33:41 +0000
committerRandolph Chung <tausq@debian.org>2004-05-16 04:33:41 +0000
commitbae3b4ca41861a24018a73432db2b3dd49070b15 (patch)
tree95c297e974ad304cbbdebeaf50ea4e2e6c702b6f /gdb/somsolib.c
parent9d6ef83b2c982847f3734563275493382a77adbe (diff)
downloadgdb-bae3b4ca41861a24018a73432db2b3dd49070b15.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c
index 5f4ecc8500d..38a318692f3 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 ();