From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30735 invoked by alias); 24 Dec 2013 13:16:04 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 30723 invoked by uid 89); 24 Dec 2013 13:16:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f178.google.com Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com) (209.85.214.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 24 Dec 2013 13:16:01 +0000 Received: by mail-ob0-f178.google.com with SMTP id uz6so6601904obc.23 for ; Tue, 24 Dec 2013 05:15:59 -0800 (PST) X-Received: by 10.182.204.41 with SMTP id kv9mr41331obc.78.1387890959399; Tue, 24 Dec 2013 05:15:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.4.195 with HTTP; Tue, 24 Dec 2013 05:15:19 -0800 (PST) In-Reply-To: <52B97EB4.9070100@samersoff.net> References: <52B97EB4.9070100@samersoff.net> From: Hui Zhu Date: Tue, 24 Dec 2013 13:16:00 -0000 Message-ID: Subject: Re: How to write native (i.e. C/C++) plugin for gdb? To: Dmitry Samersoff Cc: "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00076.txt.bz2 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 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-----