Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Gareth McMullin <gareth@blacksphere.co.nz>
To: gdb@sourceware.org
Subject: Exposing inferior_created in Python
Date: Thu, 14 Mar 2013 04:19:00 -0000	[thread overview]
Message-ID: <CAL8qUbr3izTP5U66k_zOfif=cGyZtx5+D1zjgZX4CUNtbCs0HQ@mail.gmail.com> (raw)

Hi

I'm interested in having the inferior_created observer exposed as a
Python event.

The application I intend to work on is trace port capture on ARM
Cortex microcontrollers using a Python GDB extension.  I have this at
a proof-of-concept level[1], but a problem that I have is that the
trace port registers in the target are reset with the target on say a
GDB 'run' command. It would be convenient if a Python event was
available on which I can configure the appropriate registers.

I'm happy to do the work to make this happen, but I'm interested if
this change would be considered for inclusion.  I am happy to sign the
copyright assignment to the FSF.

Cheers,
Gareth

[1] https://github.com/gsmcmullin/magictpa

--
Black Sphere Technologies Ltd.

Web: www.blacksphere.co.nz
Mobile: +64 27 777 2182
Tel: +64 9 478 8885
Skype: gareth.mcmullin
LinkedIn: http://nz.linkedin.com/in/gsmcmullin


             reply	other threads:[~2013-03-14  4:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14  4:19 Gareth McMullin [this message]
2013-03-14  9:43 ` Phil Muldoon
2013-03-14 11:13   ` Gareth McMullin
2013-03-20 20:40     ` Tom Tromey

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='CAL8qUbr3izTP5U66k_zOfif=cGyZtx5+D1zjgZX4CUNtbCs0HQ@mail.gmail.com' \
    --to=gareth@blacksphere.co.nz \
    --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