aboutsummaryrefslogtreecommitdiff
path: root/gdb/tic6x-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-08-16 04:15:23 +0000
committerYao Qi <yao@codesourcery.com>2011-08-16 04:15:23 +0000
commit85661b1e192f79e9a554d7588a4d5a5956039877 (patch)
tree505cdc94aa06c78a28608033315d6f2ddeb21be8 /gdb/tic6x-tdep.c
parentd51a548c8c203236af7c791dbc4863280331a151 (diff)
downloadgdb-85661b1e192f79e9a554d7588a4d5a5956039877.zip
gdb-85661b1e192f79e9a554d7588a4d5a5956039877.tar.gz
gdb-85661b1e192f79e9a554d7588a4d5a5956039877.tar.bz2
gdb/
* tic6x-linux-tdep.c: Move const arrays definition from here... * tic6x-tdep.c: to here ...
Diffstat (limited to 'gdb/tic6x-tdep.c')
-rw-r--r--gdb/tic6x-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c
index eedb5e9..c7df5bc 100644
--- a/gdb/tic6x-tdep.c
+++ b/gdb/tic6x-tdep.c
@@ -61,6 +61,9 @@
#define INST_S_BIT(INST) ((INST >> 1) & 1)
#define INST_X_BIT(INST) ((INST >> 12) & 1)
+const gdb_byte tic6x_bkpt_illegal_opcode_be[] = { 0x56, 0x45, 0x43, 0x14 };
+const gdb_byte tic6x_bkpt_illegal_opcode_le[] = { 0x14, 0x43, 0x45, 0x56 };
+
struct tic6x_unwind_cache
{
/* The frame's base, optionally used by the high-level debug info. */