2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* varobj.c (varobj_set_value): Call wrapped version of parse_exp_1() to avoid longjumps.
This commit is contained in:
parent
3943c96b07
commit
586e589c18
@ -1,3 +1,14 @@
|
||||
2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
|
||||
|
||||
* varobj.c (varobj_set_value): Call wrapped version of
|
||||
parse_exp_1() to avoid longjumps.
|
||||
|
||||
2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
|
||||
|
||||
* remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
|
||||
(read_frame): Do not call error() on communication error when
|
||||
reading checksum, but return failure instead and log message.
|
||||
|
||||
2000-09-15 Fernando Nasser <fnasser@cygnus.com>
|
||||
|
||||
* ser-unix.c (do_unix_readchar): Prevent infinite read wait to be
|
||||
|
@ -781,8 +781,9 @@ varobj_set_value (struct varobj *var, char *expression)
|
||||
value_ptr temp;
|
||||
|
||||
input_radix = 10; /* ALWAYS reset to decimal temporarily */
|
||||
/* FIXME: Callee may longjump */
|
||||
exp = parse_exp_1 (&s, 0, 0);
|
||||
if (!gdb_parse_exp_1 (&s, 0, 0, &exp))
|
||||
/* We cannot proceed without a well-formed expression. */
|
||||
return 0;
|
||||
if (!gdb_evaluate_expression (exp, &value))
|
||||
{
|
||||
/* We cannot proceed without a valid expression. */
|
||||
|
Loading…
Reference in New Issue
Block a user