aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppahpux-tdep.c
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/hppahpux-tdep.c
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/hppahpux-tdep.c')
-rw-r--r--gdb/hppahpux-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppahpux-tdep.c b/gdb/hppahpux-tdep.c
index 919cc48..27bf9e9 100644
--- a/gdb/hppahpux-tdep.c
+++ b/gdb/hppahpux-tdep.c
@@ -251,7 +251,7 @@ vtophys(space, addr)
}
#ifdef MACHKERNELDEBUG
else if (kerneltype == OS_MACH) {
- (void) mach_vtophys(space, addr, &phys);
+ mach_vtophys(space, addr, &phys);
}
#endif
#if 0
@@ -439,7 +439,7 @@ setup_kernel_debugging()
panicstr = kvread(ksym_lookup("panicstr"));
if (panicstr == ~0)
return;
- (void) kernel_core_file_hook(panicstr, buf, sizeof(buf));
+ kernel_core_file_hook(panicstr, buf, sizeof(buf));
for (cp = buf; cp < &buf[sizeof(buf)] && *cp; cp++)
if (!isascii(*cp) || (!isprint(*cp) && !isspace(*cp)))
*cp = '?';