summaryrefslogtreecommitdiff
path: root/gdb/hppabsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hppabsd-tdep.c')
-rw-r--r--gdb/hppabsd-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppabsd-tdep.c b/gdb/hppabsd-tdep.c
index c279249210d..8fe6d289a80 100644
--- a/gdb/hppabsd-tdep.c
+++ b/gdb/hppabsd-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 = '?';