Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Dmitry Samersoff <dms@samersoff.net>
To: gdb@sourceware.org
Subject: How to write native (i.e. C/C++) plugin for gdb?
Date: Tue, 24 Dec 2013 12:31:00 -0000	[thread overview]
Message-ID: <52B97EB4.9070100@samersoff.net> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Everybody,

I'm about to write a plugin to deal with complicated data (Java VM
coredump).

Unfortunately, python is not an option, as I plan to re-use already
existing C++ code of JVM to access internal structures.

Is there API, documentation, examples of such plugin?

Any advice is much appreciated.

- -Dmitry

- -- 
Dmitry Samersoff
Saint Petersburg, Russia, http://devnull.samersoff.net
* There will come soft rains  ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSuX60AAoJEHEy08c4gIABbxkH/iTOVBz38dePkJYC8l1TJG0T
lWdhwnre1BbgAK6QqNXhaTj+uTr3an16qZnVFTJ42wTu2juPLc3bOx0kWl23tDWY
OSw28EL8jLvgdE828cGL3tNz+8/xdag7ylhzqVv5fRsLoRBMcn3EslGMRmj/AJLb
QnRPUJjzvh1PdCMTVekz8JNIacriVpX5cAPp7SBb98it6hBbswwUw0syMiiuzlbl
mIb4wvPnPjM75rMFSEuZb07m15AT3qA/qAiPbwZXWU6K23lwZCUo6Glli0MYNW+x
ZK7hDNPN56hlGhX9uuVUVD3q3PEcr8buQsOwIjEDE85lOjDPXQGdOIx5nC6qKq0=
=YyOr
-----END PGP SIGNATURE-----


             reply	other threads:[~2013-12-24 12:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-24 12:31 Dmitry Samersoff [this message]
2013-12-24 13:16 ` Hui Zhu
2013-12-24 14:13   ` Dmitry Samersoff
2013-12-24 14:47     ` Joel Brobecker
2013-12-25 15:32       ` Dmitry Samersoff
2013-12-25 16:51         ` Dmitry Samersoff
2013-12-26 22:55           ` Doug Evans
2013-12-27 14:15             ` Dmitry Samersoff

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=52B97EB4.9070100@samersoff.net \
    --to=dms@samersoff.net \
    --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