[PATCH] Add extra 'info os' information types for Linux (trunk and 7.4)
Tom Tromey
tromey@redhat.com
Mon Jan 2 19:41:00 GMT 2012
>>>>> "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
More information about the Gdb-patches
mailing list