Extending plugin patch
Dmitry Samersoff <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Abhijit, I plan to go ahead with your patch. Thanks a lot for this work. 1. I fixed minor bug (attempt to check for plugin destructor before dlopen) and move all dlsym() calls to create_plugin() to get better diagnostic. Let me know if you interesting in patch. 2. I plan to add a pointer to "gdb_plugin_api" struct as the argument to init_func. This struct should contain pointers to functions required for plugin to interact with gdb, for instance - to read a memory of program being debugged. I suspect it's read_memory()? Unfortunately I'm not familiar with gdb internals, so 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/ iQEcBAEBAgAGBQJSuy0GAAoJEHEy08c4gIABv24H/123ikLWWPGF99OrND0PQfPp U8W3wYtdSDJlrQcjHbySYLLk5ZLsWe305gRcX9zUEJJaYJqpHbwwqYQfND6L5PKm OBjBR8W4SYWEv3mpz78CLUteKZBbUPKG6raNReFZ+DQfnamqrI5pQwousdhifVQ5 p2CPG/k86iZXAD5zuB1SqxEDr11buL+K3hAnC3M5sWstIJ9CxMdUFRt+OVxk4k9y 9H4cRJZHgRCfnJp1qegRyKOs1hhbpbsrxYwoph4ECZKNmEt2GNIHtYYR+BfG+bKx g13XhtRm6cfe0zm61yVyLjPcz9SKyjRxlvAujZJEHp6fACNd/tt64YXPqPf9CfA= =TEgB -----END PGP SIGNATURE-----