diff options
author | Yao Qi <yao@codesourcery.com> | 2011-08-16 04:15:23 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-08-16 04:15:23 +0000 |
commit | 85661b1e192f79e9a554d7588a4d5a5956039877 (patch) | |
tree | 505cdc94aa06c78a28608033315d6f2ddeb21be8 | |
parent | d51a548c8c203236af7c791dbc4863280331a151 (diff) | |
download | gdb-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 ...
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tic6x-linux-tdep.c | 3 | ||||
-rw-r--r-- | gdb/tic6x-tdep.c | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 25f511f..2f13b3b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-08-16 Yao Qi <yao@codesourcery.com> + + * tic6x-linux-tdep.c: Move const arrays definition from here... + * tic6x-tdep.c: to here ... + 2011-08-14 Yao Qi <yao@codesourcery.com> * NEWS: New port to Texas Instruments TMS320C6x. diff --git a/gdb/tic6x-linux-tdep.c b/gdb/tic6x-linux-tdep.c index 0e4d327..c7026d6 100644 --- a/gdb/tic6x-linux-tdep.c +++ b/gdb/tic6x-linux-tdep.c @@ -41,9 +41,6 @@ size_t respectively. */ #define TIC6X_STACK_T_SIZE (3 * 4) -const gdb_byte tic6x_bkpt_illegal_opcode_be[] = { 0x56, 0x45, 0x43, 0x14 }; -const gdb_byte tic6x_bkpt_illegal_opcode_le[] = { 0x14, 0x43, 0x45, 0x56 }; - static const gdb_byte tic6x_bkpt_bnop_be[] = { 0x00, 0x00, 0xa1, 0x22 }; static const gdb_byte tic6x_bkpt_bnop_le[] = { 0x22, 0xa1, 0x00, 0x00 }; 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. */ |