This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: DW_TAG_try_block


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]