aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2014-11-06 13:12:21 -0800
committerSandra Loosemore <sandra@codesourcery.com>2014-11-06 13:12:21 -0800
commitb4714c7c30c151ccb892bda7d6f79a5ac8767a5b (patch)
treeafa21e0a4b83f65d9848bf78e1537e35e6e38a73 /include
parent426a40796aa976355999b2ae401820b9c4a72be9 (diff)
downloadgdb-b4714c7c30c151ccb892bda7d6f79a5ac8767a5b.zip
gdb-b4714c7c30c151ccb892bda7d6f79a5ac8767a5b.tar.gz
gdb-b4714c7c30c151ccb892bda7d6f79a5ac8767a5b.tar.bz2
Add mach parameter to nios2_find_opcode_hash.
2014-11-06 Sandra Loosemore <sandra@codesourcery.com> include/opcode/ * nios2.h (nios2_find_opcode_hash): Add mach parameter to declaration. Fix obsolete comment. opcodes/ * nios2-dis.c (nios2_find_opcode_hash): Add mach parameter. (nios2_disassemble): Adjust call to nios2_find_opcode_hash. gas/ * config/tc-nios2.c (nios2_diagnose_overflow): Adjust call to nios2_find_opcode_hash.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/nios2.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index be122b6..d40c9fd 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2.h (nios2_find_opcode_hash): Add mach parameter to
+ declaration. Fix obsolete comment.
+
2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
* nios2.h (enum iw_format_type): New.
diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h
index dc0e058..6b4c2f5 100644
--- a/include/opcode/nios2.h
+++ b/include/opcode/nios2.h
@@ -154,8 +154,8 @@ extern struct nios2_reg *nios2_regs;
extern const int nios2_num_builtin_regs;
extern int nios2_num_regs;
-/* This is made extern so that the assembler can use it to find out
- what instruction caused an error. */
-extern const struct nios2_opcode *nios2_find_opcode_hash (unsigned long);
+/* Return the opcode descriptor for a single instruction. */
+extern const struct nios2_opcode *
+nios2_find_opcode_hash (unsigned long, unsigned long);
#endif /* _NIOS2_H */