aboutsummaryrefslogtreecommitdiff
path: root/gold/plugin.h
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2011-03-23 14:13:27 +0000
committerRafael Ávila de Espíndola <respindola@mozilla.com>2011-03-23 14:13:27 +0000
commit9c793f143cd36b86c60929319fc0551948dc238d (patch)
tree307be20eefa41c4e2ead16c6cada2d49a0a12293 /gold/plugin.h
parent55406e102f644f624c170133a678f42478b7feac (diff)
downloadgdb-9c793f143cd36b86c60929319fc0551948dc238d.zip
gdb-9c793f143cd36b86c60929319fc0551948dc238d.tar.gz
gdb-9c793f143cd36b86c60929319fc0551948dc238d.tar.bz2
2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com>
* plugin.cc (get_view): New. (Plugin::load): Pass get_view to the plugin. (Plugin_manager::get_view): New.
Diffstat (limited to 'gold/plugin.h')
-rw-r--r--gold/plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/plugin.h b/gold/plugin.h
index c26414d..87747bf 100644
--- a/gold/plugin.h
+++ b/gold/plugin.h
@@ -245,6 +245,9 @@ class Plugin_manager
ld_plugin_status
get_input_file(unsigned int handle, struct ld_plugin_input_file* file);
+ ld_plugin_status
+ get_view(unsigned int handle, const void **viewp);
+
// Release an input file.
ld_plugin_status
release_input_file(unsigned int handle);