projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/get_regcache_arch (regcache)/regcache->arch ()/g
[deliverable/binutils-gdb.git]
/
gdb
/
m68k-tdep.c
diff --git
a/gdb/m68k-tdep.c
b/gdb/m68k-tdep.c
index 619a40b9a9fc5a83fa3c1c5f4b7aacb58b697840..274ba61ea587e8952fb284d0617b18119ed0616d 100644
(file)
--- a/
gdb/m68k-tdep.c
+++ b/
gdb/m68k-tdep.c
@@
-32,6
+32,7
@@
#include "osabi.h"
#include "dis-asm.h"
#include "target-descriptions.h"
#include "osabi.h"
#include "dis-asm.h"
#include "target-descriptions.h"
+#include "floatformat.h"
#include "m68k-tdep.h"
\f
#include "m68k-tdep.h"
\f
@@
-72,7
+73,7
@@
m68k_ps_type (struct gdbarch *gdbarch)
{
struct type *type;
{
struct type *type;
- type = arch_flags_type (gdbarch, "builtin_type_m68k_ps",
4
);
+ type = arch_flags_type (gdbarch, "builtin_type_m68k_ps",
32
);
append_flags_type_flag (type, 0, "C");
append_flags_type_flag (type, 1, "V");
append_flags_type_flag (type, 2, "Z");
append_flags_type_flag (type, 0, "C");
append_flags_type_flag (type, 1, "V");
append_flags_type_flag (type, 2, "Z");
@@
-303,7
+304,7
@@
m68k_svr4_extract_return_value (struct type *type, struct regcache *regcache,
gdb_byte *valbuf)
{
gdb_byte buf[M68K_MAX_REGISTER_SIZE];
gdb_byte *valbuf)
{
gdb_byte buf[M68K_MAX_REGISTER_SIZE];
- struct gdbarch *gdbarch =
get_regcache_arch (regcache
);
+ struct gdbarch *gdbarch =
regcache->arch (
);
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
if (tdep->float_return && TYPE_CODE (type) == TYPE_CODE_FLT)
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
if (tdep->float_return && TYPE_CODE (type) == TYPE_CODE_FLT)
@@
-343,7
+344,7
@@
static void
m68k_svr4_store_return_value (struct type *type, struct regcache *regcache,
const gdb_byte *valbuf)
{
m68k_svr4_store_return_value (struct type *type, struct regcache *regcache,
const gdb_byte *valbuf)
{
- struct gdbarch *gdbarch =
get_regcache_arch (regcache
);
+ struct gdbarch *gdbarch =
regcache->arch (
);
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
if (tdep->float_return && TYPE_CODE (type) == TYPE_CODE_FLT)
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
if (tdep->float_return && TYPE_CODE (type) == TYPE_CODE_FLT)
@@
-1279,8
+1280,6
@@
m68k_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
return;
}
return;
}
-extern initialize_file_ftype _initialize_m68k_tdep; /* -Wmissing-prototypes */
-
void
_initialize_m68k_tdep (void)
{
void
_initialize_m68k_tdep (void)
{
This page took
0.025413 seconds
and
4
git commands to generate.