summaryrefslogtreecommitdiff
path: root/opcodes/cgen-opc.c
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2001-02-21 21:54:31 +0000
committerGreg McGary <greg@mcgary.org>2001-02-21 21:54:31 +0000
commit43e1c4bec5e6ae00906f14942ab1e25f4eaf818a (patch)
tree117e8e63f6448f2310a167ed84ba754e80f5be3e /opcodes/cgen-opc.c
parentea5618dfd71b7772b8430fabf98a22200b710d2e (diff)
downloadgdb-43e1c4bec5e6ae00906f14942ab1e25f4eaf818a.tar.gz
* cgen-opc.c (cgen_get_insn_value): Add missing `return'.
Diffstat (limited to 'opcodes/cgen-opc.c')
-rw-r--r--opcodes/cgen-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/cgen-opc.c b/opcodes/cgen-opc.c
index 1945f9b5916..5e70c894693 100644
--- a/opcodes/cgen-opc.c
+++ b/opcodes/cgen-opc.c
@@ -1,6 +1,6 @@
/* CGEN generic opcode support.
- Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU Binutils and GDB, the GNU debugger.
@@ -374,7 +374,7 @@ cgen_get_insn_value (cd, buf, length)
unsigned char *buf;
int length;
{
- bfd_get_bits (buf, length, cd->insn_endian == CGEN_ENDIAN_BIG);
+ return bfd_get_bits (buf, length, cd->insn_endian == CGEN_ENDIAN_BIG);
}
/* Cover function to store an insn value properly byteswapped. */