aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sparc.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-07-04 03:22:08 +0000
committerFred Fish <fnf@specifix.com>1992-07-04 03:22:08 +0000
commit4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb (patch)
treeab1ee3900e42f9b78e93b188f593963550e21566 /gdb/tm-sparc.h
parent4c7c6bab1f8ca0ff46795c843e887171f86731d1 (diff)
downloadgdb-4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb.zip
gdb-4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb.tar.gz
gdb-4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb.tar.bz2
* breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,
core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards.
Diffstat (limited to 'gdb/tm-sparc.h')
-rw-r--r--gdb/tm-sparc.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gdb/tm-sparc.h b/gdb/tm-sparc.h
index 09b6964..a69b53e 100644
--- a/gdb/tm-sparc.h
+++ b/gdb/tm-sparc.h
@@ -222,13 +222,13 @@ extern CORE_ADDR sparc_pc_adjust();
to virtual format for register REGNUM. */
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \
-{ (void) memcpy ((TO), (FROM), 4); }
+{ memcpy ((TO), (FROM), 4); }
/* Convert data from virtual format for register REGNUM
to raw format for register REGNUM. */
#define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
-{ (void) memcpy ((TO), (FROM), 4); }
+{ memcpy ((TO), (FROM), 4); }
/* Return the GDB type object for the "standard" data type
of data in register N. */
@@ -256,15 +256,13 @@ extern CORE_ADDR sparc_pc_adjust();
{ \
if (TYPE_CODE (TYPE) == TYPE_CODE_FLT) \
{ \
- (void) memcpy ((VALBUF), \
- ((int *)(REGBUF))+FP0_REGNUM, \
- TYPE_LENGTH(TYPE)); \
+ memcpy ((VALBUF), ((int *)(REGBUF))+FP0_REGNUM, TYPE_LENGTH(TYPE));\
} \
else \
- (void) memcpy ((VALBUF), \
- (char *)(REGBUF) + 4 * 8 + \
- (TYPE_LENGTH(TYPE) >= 4 ? 0 : 4 - TYPE_LENGTH(TYPE)), \
- TYPE_LENGTH(TYPE)); \
+ memcpy ((VALBUF), \
+ (char *)(REGBUF) + 4 * 8 + \
+ (TYPE_LENGTH(TYPE) >= 4 ? 0 : 4 - TYPE_LENGTH(TYPE)), \
+ TYPE_LENGTH(TYPE)); \
}
/* Write into appropriate registers a function return value