mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user