mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
gdb/
Code cleanup. * parse.c (exp_iterate): Use operator_length wrapper function.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
Sergio Durigan Junior <sergiodj@redhat.com>
|
||||||
|
|
||||||
|
Code cleanup.
|
||||||
|
* parse.c (exp_iterate): Use operator_length wrapper function.
|
||||||
|
|
||||||
2010-05-18 Michael Snyder <msnyder@vmware.com>
|
2010-05-18 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
* ada-lang.c: White space.
|
* ada-lang.c: White space.
|
||||||
|
@ -1510,8 +1510,7 @@ exp_iterate (struct expression *exp,
|
|||||||
{
|
{
|
||||||
int pos, args, oplen = 0;
|
int pos, args, oplen = 0;
|
||||||
|
|
||||||
exp->language_defn->la_exp_desc->operator_length (exp, endpos,
|
operator_length (exp, endpos, &oplen, &args);
|
||||||
&oplen, &args);
|
|
||||||
gdb_assert (oplen > 0);
|
gdb_assert (oplen > 0);
|
||||||
|
|
||||||
pos = endpos - oplen;
|
pos = endpos - oplen;
|
||||||
|
Reference in New Issue
Block a user