aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
commit0d99fdb99176163c1b679d271d86c50cc0247231 (patch)
tree2d79805869d08cf7ca164d123412570b959f5ec3 /gdb
parent7154e7286244cfc59dba3aea385f97917ad8251a (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/hppa-tdep.h2
-rw-r--r--gdb/somsolib.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 04e8da8..9edd7d2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 816e15e..f90860e 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -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);
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 ();