aboutsummaryrefslogtreecommitdiff
path: root/gdb/wrapper.h
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-11-06 23:12:29 +0000
committerFernando Nasser <fnasser@redhat.com>2000-11-06 23:12:29 +0000
commit8a1a01128de8adbea128525c11808b57bc9b04cd (patch)
tree715a34908306fd5192ae093617871d1780c6eb26 /gdb/wrapper.h
parentc4dfa77f430fbd0eb5ec1d22c2b29581091ab0fe (diff)
downloadgdb-8a1a01128de8adbea128525c11808b57bc9b04cd.zip
gdb-8a1a01128de8adbea128525c11808b57bc9b04cd.tar.gz
gdb-8a1a01128de8adbea128525c11808b57bc9b04cd.tar.bz2
2000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>
* wrapper.c (gdb_value_assign): New function. Longjump-free version of value_assign. (wrap_value_assign): New function. Wrapper for value_assign. * wrapper.h: Add declaration for the above. * varobj.c (varobj_set_value): Use gdb_value_assign, not value_assign which can longjump. Do not change varobj value if assign fails.
Diffstat (limited to 'gdb/wrapper.h')
-rw-r--r--gdb/wrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/wrapper.h b/gdb/wrapper.h
index 28261ac..85fc0b3 100644
--- a/gdb/wrapper.h
+++ b/gdb/wrapper.h
@@ -31,6 +31,8 @@ extern int gdb_value_fetch_lazy (value_ptr);
extern int gdb_value_equal (value_ptr, value_ptr, int *);
+extern int gdb_value_assign (value_ptr, value_ptr, value_ptr *);
+
extern int gdb_value_subscript (value_ptr, value_ptr, value_ptr *);
extern int gdb_value_ind (value_ptr val, value_ptr * rval);