This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to write native (i.e. C/C++) plugin for gdb?
- From: Hui Zhu <teawater at gmail dot com>
- To: Dmitry Samersoff <dms at samersoff dot net>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 24 Dec 2013 21:15:19 +0800
- Subject: Re: How to write native (i.e. C/C++) plugin for gdb?
- Authentication-results: sourceware.org; auth=none
- References: <52B97EB4 dot 9070100 at samersoff dot net>
https://sourceware.org/gdb/current/onlinedocs/gdb/JIT-Interface.html
Maybe this is helpful.
On Tue, Dec 24, 2013 at 8:31 PM, Dmitry Samersoff <dms@samersoff.net> wrote:
> -----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-----