aboutsummaryrefslogtreecommitdiff
path: root/gdb/wrapper.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-10-31 03:16:04 +0000
committerKeith Seitz <keiths@redhat.com>2001-10-31 03:16:04 +0000
commitddc5429238ae0aded9207981b02d65c6e954f2fa (patch)
treeb4500aef203ce9194a18033c53acd2a40e819e42 /gdb/wrapper.h
parented73733d7dce5f67ad44acf6bb1573cbadcbd4f9 (diff)
downloadgdb-ddc5429238ae0aded9207981b02d65c6e954f2fa.zip
gdb-ddc5429238ae0aded9207981b02d65c6e954f2fa.tar.gz
gdb-ddc5429238ae0aded9207981b02d65c6e954f2fa.tar.bz2
* wrapper.h (gdb_value_struct_elt): New function.
* wrapper.c (gdb_value_struct_elt): Ditto. (do_captured_value_struct_elt): Ditto.
Diffstat (limited to 'gdb/wrapper.h')
-rw-r--r--gdb/wrapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/wrapper.h b/gdb/wrapper.h
index bfe1100..977a77d 100644
--- a/gdb/wrapper.h
+++ b/gdb/wrapper.h
@@ -18,6 +18,7 @@
#ifndef WRAPPER_H
#define WRAPPER_H 1
+#include "gdb.h"
struct value;
@@ -37,6 +38,10 @@ extern int gdb_value_assign (struct value *, struct value *, struct value **);
extern int gdb_value_subscript (struct value *, struct value *, struct value **);
+extern enum gdb_rc gdb_value_struct_elt (struct ui_out *uiout, struct value **result_ptr,
+ struct value **argp, struct value **args,
+ char *name, int *static_memfuncp, char *err);
+
extern int gdb_value_ind (struct value *val, struct value ** rval);
extern int gdb_parse_and_eval_type (char *, int, struct type **);