execfile = get_exec_file (0);
bsd_kvm_open (char *filename, int from_tty){  char errbuf[_POSIX2_LINE_MAX];  char *execfile = NULL;  kvm_t *temp_kd;  target_preopen (from_tty);  if (filename)    {      char *temp;      filename = tilde_expand (filename);      if (filename[0] != '/')	{	  temp = concat (current_directory, "/", filename, NULL);	  xfree (filename);	  filename = temp;	}    }  temp_kd = kvm_openfiles (execfile, filename, NULL, O_RDONLY, errbuf);  if (temp_kd == NULL)    error ("%s", errbuf);  unpush_target (&bsd_kvm_ops);  core_kd = temp_kd;  push_target (&bsd_kvm_ops);  target_fetch_registers (-1);  flush_cached_frames ();  select_frame (get_current_frame ());  print_stack_frame (get_selected_frame (), -1, 1);}