gdb: Convert frame_show_address to return a bool
[deliverable/binutils-gdb.git] / gdb / stack.c
index fa057db6e356b7281be4cf60449855120986e110..5af00c708e45eb6d21f9a21fd5e2d6da6c7912de 100644 (file)
@@ -252,7 +252,7 @@ static int last_displayed_line = 0;
 
 /* See stack.h.  */
 
-int
+bool
 frame_show_address (struct frame_info *frame,
                    struct symtab_and_line sal)
 {
@@ -267,7 +267,7 @@ frame_show_address (struct frame_info *frame,
        gdb_assert (inline_skipped_frames (inferior_thread ()) > 0);
       else
        gdb_assert (get_frame_type (get_next_frame (frame)) == INLINE_FRAME);
-      return 0;
+      return false;
     }
 
   return get_frame_pc (frame) != sal.pc;
This page took 0.037169 seconds and 4 git commands to generate.