2004-05-15 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Sun, 16 May 2004 04:33:41 +0000 (04:33 +0000)
committerRandolph Chung <tausq@debian.org>
Sun, 16 May 2004 04:33:41 +0000 (04:33 +0000)
* 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/ChangeLog
gdb/hppa-tdep.h
gdb/somsolib.c

index 04e8da8a8934bb5f85b553ab7de76dc1bcd35cd3..9edd7d2b57fa77fbcea08b37f6b45a8d816fa800 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2004-05-15  Mark Kettenis  <kettenis@gnu.org>
 
        * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
index 816e15ea9d77f58a0f9b5895eb0eb0a8a5ead19b..f90860e827accf82edf1f3082dddab4c1a507047 100644 (file)
@@ -194,7 +194,7 @@ int hppa_sign_extend (unsigned int, unsigned int);
 
 void
 hppa_frame_prev_register_helper (struct frame_info *next_frame,
-                                struct trad_frame_saved_reg saved_regs[],
+                                struct trad_frame_saved_reg *saved_regs,
                                 int regnum, int *optimizedp,
                                 enum lval_type *lvalp, CORE_ADDR *addrp,
                                 int *realnump, void *valuep);
index 5f4ecc8500de8cc4abc7a039a2eb061aaa96c986..38a318692f3753717348adb1a7b49a5d52c9be2a 100644 (file)
@@ -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 ();