diff options
author | Greg McGary <greg@mcgary.org> | 2001-02-21 21:54:31 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 2001-02-21 21:54:31 +0000 |
commit | dd425adaa8da7d06250ea4303bd0275e790adeba (patch) | |
tree | e2379c0c152dd723f8129d36d0f14287e51245e2 /opcodes | |
parent | 44a9331cdff9b223ac5683963bb8346b7a6bbde9 (diff) | |
download | gdb-dd425adaa8da7d06250ea4303bd0275e790adeba.zip gdb-dd425adaa8da7d06250ea4303bd0275e790adeba.tar.gz gdb-dd425adaa8da7d06250ea4303bd0275e790adeba.tar.bz2 |
* cgen-opc.c (cgen_get_insn_value): Add missing `return'.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/cgen-opc.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e09315f..f701d00 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2001-02-21 Greg McGary <greg@mcgary.org> + + * cgen-opc.c (cgen_get_insn_value): Add missing `return'. + 2001-02-20 H.J. Lu <hjl@gnu.org> * Makefile.am (ia64-ic.tbl): Remove the target. diff --git a/opcodes/cgen-opc.c b/opcodes/cgen-opc.c index 1945f9b..5e70c89 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. */ |