aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppahpux-tdep.c
diff options
context:
space:
mode:
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 = '?';