Index: gdb/bsd-kvm.c |
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c |
index 39bd39639d7e71bddc39281af2377c899ff0fad1..d1e7ca8485179b208b66612fb43f9d919a9fae0d 100644 |
--- a/gdb/bsd-kvm.c |
+++ b/gdb/bsd-kvm.c |
@@ -1,6 +1,6 @@ |
/* BSD Kernel Data Access Library (libkvm) interface. |
- Copyright (C) 2004-2005, 2007-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2004-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -35,7 +35,6 @@ |
#endif |
#include <paths.h> |
#include "readline/readline.h" |
-#include <sys/param.h> |
#include <sys/proc.h> |
#include <sys/user.h> |
@@ -101,11 +100,11 @@ bsd_kvm_open (char *filename, int from_tty) |
target_fetch_registers (get_current_regcache (), -1); |
reinit_frame_cache (); |
- print_stack_frame (get_selected_frame (NULL), -1, 1); |
+ print_stack_frame (get_selected_frame (NULL), 0, SRC_AND_LOC, 1); |
} |
static void |
-bsd_kvm_close (int quitting) |
+bsd_kvm_close (void) |
{ |
if (core_kd) |
{ |
@@ -287,7 +286,7 @@ bsd_kvm_proc_cmd (char *arg, int fromtty) |
target_fetch_registers (get_current_regcache (), -1); |
reinit_frame_cache (); |
- print_stack_frame (get_selected_frame (NULL), -1, 1); |
+ print_stack_frame (get_selected_frame (NULL), 0, SRC_AND_LOC, 1); |
} |
#endif |
@@ -307,7 +306,7 @@ bsd_kvm_pcb_cmd (char *arg, int fromtty) |
target_fetch_registers (get_current_regcache (), -1); |
reinit_frame_cache (); |
- print_stack_frame (get_selected_frame (NULL), -1, 1); |
+ print_stack_frame (get_selected_frame (NULL), 0, SRC_AND_LOC, 1); |
} |
static int |