2009-10-29 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / inline-frame.c
index 731d3adcaaf1c16e879c2f887fb48fe3eae3158e..0e6dae323fd5311f66d634344be3b8047112e7c1 100644 (file)
@@ -148,6 +148,10 @@ inline_frame_this_id (struct frame_info *this_frame,
      frame").  This will take work.  */
   gdb_assert (frame_id_p (*this_id));
 
+  /* For now, require we don't match outer_frame_id either (see
+     comment above).  */
+  gdb_assert (!frame_id_eq (*this_id, outer_frame_id));
+
   /* Future work NOTE: Alexandre Oliva applied a patch to GCC 4.3
      which generates DW_AT_entry_pc for inlined functions when
      possible.  If this attribute is available, we should use it
This page took 0.024871 seconds and 4 git commands to generate.