* configure.tgt: Mark v850 as multi-arched.
[deliverable/binutils-gdb.git] / gdb / corelow.c
index 59318b179a6a9ad1df5777f8fa06cdf66ec20a33..657cdc8ffc9d0b34342f95a4317adf6a3c6f48e0 100644 (file)
@@ -169,10 +169,10 @@ gdb_check_format (bfd *abfd)
     {
       if (cf->check_format (abfd))
        {
-         return (true);
+         return (1);
        }
     }
-  return (false);
+  return (0);
 }
 
 /* Discard all vestiges of any previous core file and mark data and stack
@@ -358,8 +358,9 @@ core_open (char *filename, int from_tty)
 
       /* Now, set up the frame cache, and print the top of stack.  */
       flush_cached_frames ();
-      select_frame (get_current_frame (), 0);
-      print_stack_frame (selected_frame, selected_frame_level, 1);
+      select_frame (get_current_frame ());
+      print_stack_frame (selected_frame,
+                        frame_relative_level (selected_frame), 1);
     }
   else
     {
This page took 0.024044 seconds and 4 git commands to generate.