projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix aarch64 ftrace JIT condition testcase
[deliverable/binutils-gdb.git]
/
gdb
/
sparc64-tdep.c
diff --git
a/gdb/sparc64-tdep.c
b/gdb/sparc64-tdep.c
index eba810153b957d99bde2d2d1bb602036d5d154f2..5e8f17deee878975025e5ed5e65d5d8a026c30e8 100644
(file)
--- a/
gdb/sparc64-tdep.c
+++ b/
gdb/sparc64-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for UltraSPARC.
/* Target-dependent code for UltraSPARC.
- Copyright (C) 2003-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2003-201
6
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-890,7
+890,8
@@
sparc64_store_arguments (struct regcache *regcache, int nargs,
/* Structure, Union or long double Complex arguments. */
gdb_assert (len <= 16);
memset (buf, 0, sizeof (buf));
/* Structure, Union or long double Complex arguments. */
gdb_assert (len <= 16);
memset (buf, 0, sizeof (buf));
- valbuf = memcpy (buf, valbuf, len);
+ memcpy (buf, valbuf, len);
+ valbuf = buf;
if (element % 2 && sparc64_16_byte_align_p (type))
element++;
if (element % 2 && sparc64_16_byte_align_p (type))
element++;
@@
-1211,7
+1212,7
@@
sparc64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
(gdbarch, default_stabs_argument_has_addr);
set_gdbarch_skip_prologue (gdbarch, sparc64_skip_prologue);
(gdbarch, default_stabs_argument_has_addr);
set_gdbarch_skip_prologue (gdbarch, sparc64_skip_prologue);
- set_gdbarch_
in_function_epilogue_p (gdbarch, sparc_in_function_epilogue
_p);
+ set_gdbarch_
stack_frame_destroyed_p (gdbarch, sparc_stack_frame_destroyed
_p);
/* Hook in the DWARF CFI frame unwinder. */
dwarf2_frame_set_init_reg (gdbarch, sparc64_dwarf2_frame_init_reg);
/* Hook in the DWARF CFI frame unwinder. */
dwarf2_frame_set_init_reg (gdbarch, sparc64_dwarf2_frame_init_reg);
@@
-1244,7
+1245,7
@@
sparc64_supply_gregset (const struct sparc_gregmap *gregmap,
struct gdbarch *gdbarch = get_regcache_arch (regcache);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
int sparc32 = (gdbarch_ptr_bit (gdbarch) == 32);
struct gdbarch *gdbarch = get_regcache_arch (regcache);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
int sparc32 = (gdbarch_ptr_bit (gdbarch) == 32);
- const gdb_byte *regs = gregs;
+ const gdb_byte *regs =
(const gdb_byte *)
gregs;
gdb_byte zero[8] = { 0 };
int i;
gdb_byte zero[8] = { 0 };
int i;
@@
-1361,7
+1362,7
@@
sparc64_collect_gregset (const struct sparc_gregmap *gregmap,
struct gdbarch *gdbarch = get_regcache_arch (regcache);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
int sparc32 = (gdbarch_ptr_bit (gdbarch) == 32);
struct gdbarch *gdbarch = get_regcache_arch (regcache);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
int sparc32 = (gdbarch_ptr_bit (gdbarch) == 32);
- gdb_byte *regs = gregs;
+ gdb_byte *regs =
(gdb_byte *)
gregs;
int i;
if (sparc32)
int i;
if (sparc32)
@@
-1469,7
+1470,7
@@
sparc64_supply_fpregset (const struct sparc_fpregmap *fpregmap,
int regnum, const void *fpregs)
{
int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32);
int regnum, const void *fpregs)
{
int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32);
- const gdb_byte *regs = fpregs;
+ const gdb_byte *regs =
(const gdb_byte *)
fpregs;
int i;
for (i = 0; i < 32; i++)
int i;
for (i = 0; i < 32; i++)
@@
-1507,7
+1508,7
@@
sparc64_collect_fpregset (const struct sparc_fpregmap *fpregmap,
int regnum, void *fpregs)
{
int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32);
int regnum, void *fpregs)
{
int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32);
- gdb_byte *regs = fpregs;
+ gdb_byte *regs =
(gdb_byte *)
fpregs;
int i;
for (i = 0; i < 32; i++)
int i;
for (i = 0; i < 32; i++)
This page took
0.024309 seconds
and
4
git commands to generate.