From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: gdb ml <gdb@sourceware.org>
Subject: [rfc][python] multi-process assumptions for Inferior API
Date: Tue, 14 Apr 2009 02:59:00 -0000 [thread overview]
Message-ID: <1239649191.29619.189.camel@localhost.localdomain> (raw)
Hi,
I'm working on a Python API for manipulating GDB inferiors. I'd like to
submit it to gdb-patches by the end of the week, right now I'm half-way
through. It will basically follow Tromey's suggestion here (I won't work
on the events part for now, though):
http://sourceware.org/ml/archer/2008-q4/msg00430.html
In particular, I'm following Tromey's goals, such as:
* It ought to keep working once gdb moves to multi-process. E.g., the
current "gdb.threads" stuff is not super in this regard (IMO).
So I'd appreciate some insight from the multi-process wizards. I'm
working with the following assumptions:
- There's only one selected frame, even with multiple threads and
multiple inferiors.
- There's such a thing as a selected thread, which is the thread
containing the selected frame. Change the selected thread, and the
selected frame necessarily changes too.
- There's such a thing as a selected inferior, which is the inferior
containing the selected thread. Change the selected inferior, and the
selected thread and selected frame necessarily change too.
Are they correct?
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
reply other threads:[~2009-04-13 19:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239649191.29619.189.camel@localhost.localdomain \
--to=bauerman@br.ibm.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox