* core.c (core_file_command): Print frame at coredump with
[deliverable/binutils-gdb.git] / gdb / inflow.c
index d267ffc39da92566b27eba8eec81424fc9d0ebf9..fd8f0b84ecb6456bdbd1828e83e0c87cebc2288a 100644 (file)
@@ -381,7 +381,7 @@ kill_command (arg, from_tty)
     if (selected_frame == NULL)
       fputs_filtered ("No selected stack frame.\n", stdout);
     else
-      print_sel_frame (0);
+      print_stack_frame (selected_frame, selected_frame_level, 1);
   }
 }
 
@@ -478,7 +478,7 @@ Report which ones can be written.");
   inferior_pid = 0;
 
   ioctl (0, TIOCGETP, &sg_ours);
-  fcntl (0, F_GETFL, tflags_ours);
+  tflags_ours = fcntl (0, F_GETFL, 0);
 
 #if defined(TIOCGETC) && !defined(TIOCGETC_BROKEN)
   ioctl (0, TIOCGETC, &tc_ours);
This page took 0.023442 seconds and 4 git commands to generate.