diff options
Diffstat (limited to 'gdb')
-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. */ |