Re: [PATCH] Add extra 'info os' information types for Linux (trunk and 7.4)

Tom Tromey
2012-01-02T19:41:26Z

>>>>> "Pedro" == Pedro Alves <alves.ped@gmail.com> writes:

Pedro> Certainly. "info os" is all about structured data. Whether exposed as
Pedro> raw xml or as some other pre-parsed structured form is arguable; it
Pedro> could be said to fit fit in the general theme of exposing mi
Pedro> structures to python as well? Not sure.

Recently I have been thinking that emit_stop_event (emitting normal
stops as Python events) should probably call bpstat_print and expose the
resulting information as fields of the event. This in turn would need a
new ui-out that can create Python objects.

If there is sufficient need we can generalize this idea.
There's a PR about this already.

Tom