projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Remove support for old mangling schemes
[deliverable/binutils-gdb.git]
/
gdb
/
microblaze-tdep.c
diff --git
a/gdb/microblaze-tdep.c
b/gdb/microblaze-tdep.c
index f5035904aec2c4da6ad8a05282218488a832b515..1248acbdc9e3d44eef9f7f41af3478bac0da2350 100644
(file)
--- a/
gdb/microblaze-tdep.c
+++ b/
gdb/microblaze-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for Xilinx MicroBlaze.
/* Target-dependent code for Xilinx MicroBlaze.
- Copyright (C) 2009-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-34,8
+34,8
@@
#include "dwarf2-frame.h"
#include "osabi.h"
#include "target-descriptions.h"
#include "dwarf2-frame.h"
#include "osabi.h"
#include "target-descriptions.h"
-#include "opcodes/microblaze-opcm.h"
-#include "opcodes/microblaze-dis.h"
+#include "
../
opcodes/microblaze-opcm.h"
+#include "
../
opcodes/microblaze-dis.h"
#include "microblaze-tdep.h"
#include "remote.h"
#include "microblaze-tdep.h"
#include "remote.h"
@@
-353,12
+353,13
@@
microblaze_analyze_prologue (struct gdbarch *gdbarch, CORE_ADDR pc,
instruction. */
{
instruction. */
{
- unsigned op = (unsigned)insn >> 26;
+ unsigned
ctrl_
op = (unsigned)insn >> 26;
/* continue if not control flow (branch, return). */
/* continue if not control flow (branch, return). */
- if (op != 0x26 && op != 0x27 && op != 0x2d && op != 0x2e && op != 0x2f)
+ if (ctrl_op != 0x26 && ctrl_op != 0x27 && ctrl_op != 0x2d
+ && ctrl_op != 0x2e && ctrl_op != 0x2f)
continue;
continue;
- else if (op == 0x2c)
+ else if (
ctrl_
op == 0x2c)
continue; /* continue if imm. */
}
continue; /* continue if imm. */
}
@@
-573,13
+574,13
@@
microblaze_store_return_value (struct type *type, struct regcache *regcache,
{
gdb_assert (len == 8);
memcpy (buf, valbuf, 8);
{
gdb_assert (len == 8);
memcpy (buf, valbuf, 8);
- regcache
_cooked_write (regcache,
MICROBLAZE_RETVAL_REGNUM+1, buf + 4);
+ regcache
->cooked_write (
MICROBLAZE_RETVAL_REGNUM+1, buf + 4);
}
else
/* ??? Do we need to do any sign-extension here? */
memcpy (buf + 4 - len, valbuf, len);
}
else
/* ??? Do we need to do any sign-extension here? */
memcpy (buf + 4 - len, valbuf, len);
- regcache
_cooked_write (regcache,
MICROBLAZE_RETVAL_REGNUM, buf);
+ regcache
->cooked_write (
MICROBLAZE_RETVAL_REGNUM, buf);
}
static enum return_value_convention
}
static enum return_value_convention
This page took
0.025263 seconds
and
4
git commands to generate.