2010-03-19 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Fri, 19 Mar 2010 22:00:17 +0000 (22:00 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 19 Mar 2010 22:00:17 +0000 (22:00 +0000)
commit3b11a015276722f29673ef40f940e648f4a370ce
treefad4ad5578533331c9254bd7b1f8c01888d9b79c
parentd099120c64430117a80fc95c0bff2da9ff5d8657
2010-03-19  Stan Shebs  <stan@codesourcery.com>

* ax-gdb.c (gen_fetch): Handle bool.
(gen_usual_unary): Ditto.
(gen_cast): Ditto.
(gen_equal): New function.
(gen_less): New function.
(gen_expr_binop_rest): Call them, also return integer type from
logical operations.
(gen_expr): Ditto.

* gdb.trace/ax.exp: New file.
gdb/ChangeLog
gdb/ax-gdb.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/ax.exp [new file with mode: 0644]