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 04e8da8..9edd7d2 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 816e15e..f90860e 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 5f4ecc8..38a3186 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 ();