OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2bd56b
)
* ada-lang.c (resolve_subexp): Correct arity of binary operators.
author
brobecke
<brobecke>
Wed, 15 Aug 2007 18:43:14 +0000
(18:43 +0000)
committer
brobecke
<brobecke>
Wed, 15 Aug 2007 18:43:14 +0000
(18:43 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/ada-lang.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
73c794b
..
9869828
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,6
+1,11
@@
2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
Joel Brobecker <brobecker@adacore.com>
+ * ada-lang.c (resolve_subexp): Correct arity of binary operators.
+
+2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
+ Joel Brobecker <brobecker@adacore.com>
+
* ada-lang.c (possible_user_operator_p): Alternative fix to last
checkin guarding against NULL.
diff --git
a/gdb/ada-lang.c
b/gdb/ada-lang.c
index
7f96dea
..
326bcec
100644
(file)
--- a/
gdb/ada-lang.c
+++ b/
gdb/ada-lang.c
@@
-2691,6
+2691,9
@@
resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
case BINOP_REPEAT:
case BINOP_SUBSCRIPT:
case BINOP_COMMA:
+ *pos += 1;
+ nargs = 2;
+ break;
case UNOP_NEG:
case UNOP_PLUS: