Re: RFC: DW_TAG_try_block

Daniel Jacobowitz
2003-05-28T16:50:22Z

On Wed, May 28, 2003 at 09:46:48AM -0700, David Carlton wrote:
> 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?)

No; I have to create a custom board file and use "set board_info
c++compiler ecc" or the equivalent. Fixing it to recognize
CC_FOR_TARGET is on my list somewhere.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer