projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
[deliverable/binutils-gdb.git]
/
gdb
/
target-dcache.c
diff --git
a/gdb/target-dcache.c
b/gdb/target-dcache.c
index 4d55397c135872aed8daf43e6d835e5043152b54..239522c700e9f81cb7fef4af06f1a818b5f6d4ca 100644
(file)
--- a/
gdb/target-dcache.c
+++ b/
gdb/target-dcache.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1992-201
5
Free Software Foundation, Inc.
+/* Copyright (C) 1992-201
6
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-31,7
+31,7
@@
static const struct address_space_data *target_dcache_aspace_key;
static void
target_dcache_cleanup (struct address_space *aspace, void *arg)
{
static void
target_dcache_cleanup (struct address_space *aspace, void *arg)
{
- dcache_free (arg);
+ dcache_free (
(DCACHE *)
arg);
}
/* Target dcache is initialized or not. */
}
/* Target dcache is initialized or not. */
@@
-39,8
+39,9
@@
target_dcache_cleanup (struct address_space *aspace, void *arg)
int
target_dcache_init_p (void)
{
int
target_dcache_init_p (void)
{
- DCACHE *dcache = address_space_data (current_program_space->aspace,
- target_dcache_aspace_key);
+ DCACHE *dcache
+ = (DCACHE *) address_space_data (current_program_space->aspace,
+ target_dcache_aspace_key);
return (dcache != NULL);
}
return (dcache != NULL);
}
@@
-50,8
+51,9
@@
target_dcache_init_p (void)
void
target_dcache_invalidate (void)
{
void
target_dcache_invalidate (void)
{
- DCACHE *dcache = address_space_data (current_program_space->aspace,
- target_dcache_aspace_key);
+ DCACHE *dcache
+ = (DCACHE *) address_space_data (current_program_space->aspace,
+ target_dcache_aspace_key);
if (dcache != NULL)
dcache_invalidate (dcache);
if (dcache != NULL)
dcache_invalidate (dcache);
@@
-63,8
+65,9
@@
target_dcache_invalidate (void)
DCACHE *
target_dcache_get (void)
{
DCACHE *
target_dcache_get (void)
{
- DCACHE *dcache = address_space_data (current_program_space->aspace,
- target_dcache_aspace_key);
+ DCACHE *dcache
+ = (DCACHE *) address_space_data (current_program_space->aspace,
+ target_dcache_aspace_key);
return dcache;
}
return dcache;
}
@@
-75,8
+78,9
@@
target_dcache_get (void)
DCACHE *
target_dcache_get_or_init (void)
{
DCACHE *
target_dcache_get_or_init (void)
{
- DCACHE *dcache = address_space_data (current_program_space->aspace,
- target_dcache_aspace_key);
+ DCACHE *dcache
+ = (DCACHE *) address_space_data (current_program_space->aspace,
+ target_dcache_aspace_key);
if (dcache == NULL)
{
if (dcache == NULL)
{
This page took
0.032949 seconds
and
4
git commands to generate.