aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sparclite.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/tm-sparclite.h')
-rw-r--r--gdb/config/sparc/tm-sparclite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sparclite.h b/gdb/config/sparc/tm-sparclite.h
index eb84b0c..85fd584 100644
--- a/gdb/config/sparc/tm-sparclite.h
+++ b/gdb/config/sparc/tm-sparclite.h
@@ -21,6 +21,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "sparc/tm-sparc.h"
+/* Select the sparclite disassembler. Slightly different instruction set from
+ the V8 sparc. */
+
+#undef TM_PRINT_INSN
+#define TM_PRINT_INSN print_insn_sparclite
+
/* Amount PC must be decremented by after a hardware instruction breakpoint.
This is often the number of bytes in BREAKPOINT
but not always. */