projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change delegation for to_read_description
[deliverable/binutils-gdb.git]
/
gdb
/
tic6x-linux-tdep.c
diff --git
a/gdb/tic6x-linux-tdep.c
b/gdb/tic6x-linux-tdep.c
index 0e4d327235925cabf23d68b519a4e93bacbd7dc2..1e1aa2242a40a2df31605b9eb2b1b4c5384ff2ca 100644
(file)
--- a/
gdb/tic6x-linux-tdep.c
+++ b/
gdb/tic6x-linux-tdep.c
@@
-1,6
+1,5
@@
/* GNU/Linux on TI C6x target support.
/* GNU/Linux on TI C6x target support.
- Copyright (C) 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2011-2014 Free Software Foundation, Inc.
Contributed by Yao Qi <yao@codesourcery.com>
This file is part of GDB.
Contributed by Yao Qi <yao@codesourcery.com>
This file is part of GDB.
@@
-41,9
+40,6
@@
size_t respectively. */
#define TIC6X_STACK_T_SIZE (3 * 4)
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 };
static const gdb_byte tic6x_bkpt_bnop_be[] = { 0x00, 0x00, 0xa1, 0x22 };
static const gdb_byte tic6x_bkpt_bnop_le[] = { 0x22, 0xa1, 0x00, 0x00 };
@@
-67,7
+63,7
@@
tic6x_register_sigcontext_offset (unsigned int regnum, struct gdbarch *gdbarch)
else if (regnum == TIC6X_B5_REGNUM || regnum == TIC6X_B5_REGNUM + 2
|| regnum == TIC6X_B5_REGNUM + 4)
return 4 * (regnum - TIC6X_B5_REGNUM + 19); /* B5, B7, B9 */
else if (regnum == TIC6X_B5_REGNUM || regnum == TIC6X_B5_REGNUM + 2
|| regnum == TIC6X_B5_REGNUM + 4)
return 4 * (regnum - TIC6X_B5_REGNUM + 19); /* B5, B7, B9 */
- else if (regnum
>= 0 && regnum
< TIC6X_A4_REGNUM)
+ else if (regnum < TIC6X_A4_REGNUM)
return 4 * (regnum - 0 + 8); /* A0 - A3 */
else if (regnum >= TIC6X_B0_REGNUM && regnum < TIC6X_B4_REGNUM)
return 4 * (regnum - TIC6X_B0_REGNUM + 15); /* B0 - B3 */
return 4 * (regnum - 0 + 8); /* A0 - A3 */
else if (regnum >= TIC6X_B0_REGNUM && regnum < TIC6X_B4_REGNUM)
return 4 * (regnum - TIC6X_B0_REGNUM + 15); /* B0 - B3 */
This page took
0.03866 seconds
and
4
git commands to generate.