From bae3b4ca41861a24018a73432db2b3dd49070b15 Mon Sep 17 00:00:00 2001 From: Randolph Chung Date: Sun, 16 May 2004 04:33:41 +0000 Subject: 2004-05-15 Randolph Chung * 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. --- gdb/somsolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/somsolib.c') 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 (); -- cgit v1.2.1