aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-03-15 13:37:51 +0000
committerAlan Modra <amodra@gmail.com>2004-03-15 13:37:51 +0000
commite5cf2076a7c1397240b643803589851d70dd42ef (patch)
treed71afa16fe6d5e183674ba9c9d37d0541cc824d8
parent471ca1e1e41c0cc47cd2045f112bf020b498c84b (diff)
downloadgdb-e5cf2076a7c1397240b643803589851d70dd42ef.zip
gdb-e5cf2076a7c1397240b643803589851d70dd42ef.tar.gz
gdb-e5cf2076a7c1397240b643803589851d70dd42ef.tar.bz2
* sparc-dis.c (print_insn_sparc): Update getword prototype.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/sparc-dis.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 692c271..c953d14 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-15 Alan Modra <amodra@bigpond.net.au>
+
+ * sparc-dis.c (print_insn_sparc): Update getword prototype.
+
2004-03-13 Alan Modra <amodra@bigpond.net.au>
Apply the following patches from mainline
diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c
index c68df38..6f360c6 100644
--- a/opcodes/sparc-dis.c
+++ b/opcodes/sparc-dis.c
@@ -1,6 +1,6 @@
/* Print SPARC instructions.
Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2002, 2003 Free Software Foundation, Inc.
+ 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -224,7 +224,7 @@ print_insn_sparc (memaddr, info)
static int opcodes_initialized = 0;
/* bfd mach number of last call. */
static unsigned long current_mach = 0;
- bfd_vma (*getword) PARAMS ((const unsigned char *));
+ bfd_vma (*getword) (const void *);
if (!opcodes_initialized
|| info->mach != current_mach)