This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]