diff options
author | Michael Eager <eager@eagercon.com> | 2009-10-07 15:40:17 +0000 |
---|---|---|
committer | Michael Eager <eager@eagercon.com> | 2009-10-07 15:40:17 +0000 |
commit | ef299415078bb9a103d188cb321d685dd53ac1fa (patch) | |
tree | 1a8a7eab289ac3d4d2957918bb1b9b07b4d898fc /opcodes/microblaze-dis.h | |
parent | 7f5309a5ccd49a338cd5691c5d21e8ef60d07c97 (diff) | |
download | gdb-ef299415078bb9a103d188cb321d685dd53ac1fa.zip gdb-ef299415078bb9a103d188cb321d685dd53ac1fa.tar.gz gdb-ef299415078bb9a103d188cb321d685dd53ac1fa.tar.bz2 |
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls.
* opcodes/microblaze-dis.h: New.
Diffstat (limited to 'opcodes/microblaze-dis.h')
-rw-r--r-- | opcodes/microblaze-dis.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/opcodes/microblaze-dis.h b/opcodes/microblaze-dis.h new file mode 100644 index 0000000..4742bbc --- /dev/null +++ b/opcodes/microblaze-dis.h @@ -0,0 +1,34 @@ +/* Disassemble Xilinx microblaze instructions. + + Copyright 2009 Free Software Foundation, Inc. + + This file is part of the GNU opcodes library. + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + You should have received a copy of the GNU General Public License + along with this file; see the file COPYING. If not, write to the + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + +#ifndef MICROBLAZE_DIS_H +#define MICROBLAZE_DIS_H 1 + +extern enum microblaze_instr microblaze_decode_insn (long, int *, int *, + int *, int *); +extern unsigned long microblaze_get_target_address (long, bfd_boolean, int, + long, long, long, bfd_boolean *, bfd_boolean *); + +extern enum microblaze_instr get_insn_microblaze (long, bfd_boolean *, + enum microblaze_instr_type *, + short *); + +#endif /* microblaze-dis.h */ |