]> Git Repo - binutils.git/blobdiff - gdb/mi/mi-cmd-stack.c
2004-04-28 Andrew Cagney <[email protected]>
[binutils.git] / gdb / mi / mi-cmd-stack.c
index 7db9ffbea63793d4c017d2edb012fc032c76b1bc..37d0846c82e2a45c3218ad1ee669e716ebe4d23d 100644 (file)
@@ -85,14 +85,9 @@ mi_cmd_stack_list_frames (char *command, char **argv, int argc)
        i++, fi = get_prev_frame (fi))
     {
       QUIT;
-      /* level == i: always print the level 'i'
-         source == LOC_AND_ADDRESS: print the location and the address 
-         always, even for level 0.
+      /* Print the location and the address always, even for level 0.
          args == 0: don't print the arguments. */
-      print_frame_info (fi /* frame info */ ,
-                       i /* level */ ,
-                       LOC_AND_ADDRESS /* source */ ,
-                       0 /* args */ );
+      print_frame_info (fi, 1, LOC_AND_ADDRESS, 0 /* args */ );
     }
 
   do_cleanups (cleanup_stack);
This page took 0.025348 seconds and 4 git commands to generate.