projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass Ctrl-C to the target in target_terminal_inferior
[deliverable/binutils-gdb.git]
/
gdb
/
rx-tdep.c
diff --git
a/gdb/rx-tdep.c
b/gdb/rx-tdep.c
index a95c6d33e19fce0127f38ff2982b40df78853558..904aebd801eec364ca2709e62db3dc4a5d8805ad 100644
(file)
--- a/
gdb/rx-tdep.c
+++ b/
gdb/rx-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for the Renesas RX for GDB, the GNU debugger.
/* Target-dependent code for the Renesas RX for GDB, the GNU debugger.
- Copyright (C) 2008-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
6
Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
Contributed by Red Hat, Inc.
@@
-813,7
+813,8
@@
rx_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
struct_addr);
}
else if (TYPE_CODE (arg_type) != TYPE_CODE_STRUCT
struct_addr);
}
else if (TYPE_CODE (arg_type) != TYPE_CODE_STRUCT
- && TYPE_CODE (arg_type) != TYPE_CODE_UNION)
+ && TYPE_CODE (arg_type) != TYPE_CODE_UNION
+ && arg_size <= 8)
{
/* Argument is a scalar. */
if (arg_size == 8)
{
/* Argument is a scalar. */
if (arg_size == 8)
@@
-1011,9
+1012,7
@@
rx_dwarf_reg_to_regnum (struct gdbarch *gdbarch, int reg)
else if (reg == 17)
return RX_PC_REGNUM;
else
else if (reg == 17)
return RX_PC_REGNUM;
else
- internal_error (__FILE__, __LINE__,
- _("Undefined dwarf2 register mapping of reg %d"),
- reg);
+ return -1;
}
/* Allocate and initialize a gdbarch object. */
}
/* Allocate and initialize a gdbarch object. */
This page took
0.0352 seconds
and
4
git commands to generate.