projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
daily update
[deliverable/binutils-gdb.git]
/
gdb
/
d10v-tdep.c
diff --git
a/gdb/d10v-tdep.c
b/gdb/d10v-tdep.c
index fa55d464ef5d4fb152792a2b5b90f748065cfe30..d06a0b9b1073e4ea6d01377e9a7f0e8237f0ab0a 100644
(file)
--- a/
gdb/d10v-tdep.c
+++ b/
gdb/d10v-tdep.c
@@
-64,7
+64,7
@@
struct gdbarch_tdep
#define DMEM_START 0x2000000
#define IMEM_START 0x1000000
#define DMEM_START 0x2000000
#define IMEM_START 0x1000000
-#define STACK_START 0x
0007
ffe
+#define STACK_START 0x
200b
ffe
/* d10v register names. */
/* d10v register names. */
@@
-402,16
+402,6
@@
d10v_address_to_pointer (struct type *type, void *buf, CORE_ADDR addr)
if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_FUNC
|| TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_METHOD)
{
if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_FUNC
|| TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_METHOD)
{
-#if 0
- if (! d10v_iaddr_p (addr))
- {
- warning_begin ();
- fprintf_unfiltered (gdb_stderr, "address `");
- print_address_numeric (addr, 1, gdb_stderr);
- fprintf_unfiltered (gdb_stderr, "' is not a code address\n");
- }
-#endif
-
store_unsigned_integer (buf, TYPE_LENGTH (type),
d10v_convert_iaddr_to_raw (addr));
}
store_unsigned_integer (buf, TYPE_LENGTH (type),
d10v_convert_iaddr_to_raw (addr));
}
@@
-1268,7
+1258,7
@@
print_insn (CORE_ADDR memaddr, struct ui_file *stream)
internal_error (__FILE__, __LINE__,
"print_insn: no disassembler");
internal_error (__FILE__, __LINE__,
"print_insn: no disassembler");
- if (TARGET_BYTE_ORDER == B
IG_ENDIAN
)
+ if (TARGET_BYTE_ORDER == B
FD_ENDIAN_BIG
)
tm_print_insn_info.endian = BFD_ENDIAN_BIG;
else
tm_print_insn_info.endian = BFD_ENDIAN_LITTLE;
tm_print_insn_info.endian = BFD_ENDIAN_BIG;
else
tm_print_insn_info.endian = BFD_ENDIAN_LITTLE;
@@
-1523,12
+1513,12
@@
d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
switch (info.byte_order)
{
set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
switch (info.byte_order)
{
- case B
IG_ENDIAN
:
+ case B
FD_ENDIAN_BIG
:
set_gdbarch_float_format (gdbarch, &floatformat_ieee_single_big);
set_gdbarch_double_format (gdbarch, &floatformat_ieee_single_big);
set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big);
break;
set_gdbarch_float_format (gdbarch, &floatformat_ieee_single_big);
set_gdbarch_double_format (gdbarch, &floatformat_ieee_single_big);
set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big);
break;
- case
LITTLE_ENDIAN
:
+ case
BFD_ENDIAN_LITTLE
:
set_gdbarch_float_format (gdbarch, &floatformat_ieee_single_little);
set_gdbarch_double_format (gdbarch, &floatformat_ieee_single_little);
set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_little);
set_gdbarch_float_format (gdbarch, &floatformat_ieee_single_little);
set_gdbarch_double_format (gdbarch, &floatformat_ieee_single_little);
set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_little);
This page took
0.025789 seconds
and
4
git commands to generate.