This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: RFC: DW_TAG_try_block
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GDB <gdb at sources dot redhat dot com>
- Date: Mon, 26 May 2003 15:56:46 -0400
- Subject: Re: RFC: DW_TAG_try_block
- References: <20030526124443.A7502@lucon.org>
On Mon, May 26, 2003 at 12:44:43PM -0700, H. J. Lu wrote:
> Intel C++ compiler generates DW_TAG_try_block for
>
> try
> {
> ...
> }
>
> Gdb can't print any local variables declared inside the try block. This
> patch seems to work for us. Is that correct?
I believe that this is correct, and that (at least for now) the same
thing should be done for DW_TAG_catch_block. There's a PR for this
issue.
[But wait for a DWARF maintainer to comment, please.]
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer