Re: RFC: DW_TAG_try_block

David Carlton
2003-05-28T16:47:14Z

On Tue, 27 May 2003 08:13:34 -0700, "H. J. Lu" <hjl@lucon.org> said:

> When it is compiled by ecc 7.1,

> # ecc -g main.cc -o main

> The current gdb won't see ni nor n when break points are set in try
> and catch blocks.

[ Source code deleted, but thanks. ]

I was going to volunteer to add this to the test suite, but it looks
like something like that is already there: am I correct in thinking
that gdb.c++/try-catch.exp fails if you're using ecc as your compiler?
(How do you tell runtest to use a different C compiler, anyways? Does
"CC=ecc runtest gdb.c++/try-catch.exp" work?)

David Carlton
carlton@math.stanford.edu