MI: Fix printing of frame architecture with Python frame filters enabled
[deliverable/binutils-gdb.git] / gdb / python / py-framefilter.c
index 4edefd48f9d903e60aa3679450a3139bc8ad5e2c..fe17b70f53da28ae47ea0c7a7ccd1cbc4f9b38be 100644 (file)
@@ -958,6 +958,9 @@ py_print_frame (PyObject *filter, frame_filter_flags flags,
              out->field_int ("line", line);
            }
        }
+      if (out->is_mi_like_p ())
+        out->field_string ("arch",
+                           (gdbarch_bfd_arch_info (gdbarch))->printable_name);
     }
 
   /* For MI we need to deal with the "children" list population of
This page took 0.024969 seconds and 4 git commands to generate.