projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove regcache_invalidate
[deliverable/binutils-gdb.git]
/
gdb
/
amd64-windows-tdep.c
diff --git
a/gdb/amd64-windows-tdep.c
b/gdb/amd64-windows-tdep.c
index 73844a1f8f7198e638331f7f91840b30efb41630..7e0c086a1e50d7a8f87378145b06167f25f6f24e 100644
(file)
--- a/
gdb/amd64-windows-tdep.c
+++ b/
gdb/amd64-windows-tdep.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 2009-201
7
Free Software Foundation, Inc.
+/* Copyright (C) 2009-201
8
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-18,6
+18,7
@@
#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
+#include "x86-xstate.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "regcache.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "regcache.h"
@@
-56,6
+57,7
@@
amd64_windows_passed_by_integer_register (struct type *type)
case TYPE_CODE_CHAR:
case TYPE_CODE_PTR:
case TYPE_CODE_REF:
case TYPE_CODE_CHAR:
case TYPE_CODE_PTR:
case TYPE_CODE_REF:
+ case TYPE_CODE_RVALUE_REF:
case TYPE_CODE_STRUCT:
case TYPE_CODE_UNION:
return (TYPE_LENGTH (type) == 1
case TYPE_CODE_STRUCT:
case TYPE_CODE_UNION:
return (TYPE_LENGTH (type) == 1
@@
-327,9
+329,9
@@
amd64_windows_return_value (struct gdbarch *gdbarch, struct value *function,
{
/* Extract the return value from the register where it was stored. */
if (readbuf)
{
/* Extract the return value from the register where it was stored. */
if (readbuf)
- regcache
_raw_read_part (regcache,
regnum, 0, len, readbuf);
+ regcache
->raw_read_part (
regnum, 0, len, readbuf);
if (writebuf)
if (writebuf)
- regcache
_raw_write_part (regcache,
regnum, 0, len, writebuf);
+ regcache
->raw_write_part (
regnum, 0, len, writebuf);
return RETURN_VALUE_REGISTER_CONVENTION;
}
}
return RETURN_VALUE_REGISTER_CONVENTION;
}
}
@@
-1223,7
+1225,8
@@
amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
*/
frame_unwind_append_unwinder (gdbarch, &amd64_windows_frame_unwind);
*/
frame_unwind_append_unwinder (gdbarch, &amd64_windows_frame_unwind);
- amd64_init_abi (info, gdbarch);
+ amd64_init_abi (info, gdbarch,
+ amd64_target_description (X86_XSTATE_SSE_MASK));
windows_init_abi (info, gdbarch);
windows_init_abi (info, gdbarch);
@@
-1242,9
+1245,6
@@
amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_auto_wide_charset (gdbarch, amd64_windows_auto_wide_charset);
}
set_gdbarch_auto_wide_charset (gdbarch, amd64_windows_auto_wide_charset);
}
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_amd64_windows_tdep;
-
void
_initialize_amd64_windows_tdep (void)
{
void
_initialize_amd64_windows_tdep (void)
{
This page took
0.150381 seconds
and
4
git commands to generate.