[v3] PR8554: New command to save breakpoints to a file

Pedro Alves pedro@codesourcery.com
Mon Apr 19 17:07:00 GMT 2010


On Monday 19 April 2010 17:16:31, Joel Brobecker wrote:
> I think this is awesome. I hope this gets checked in soon, as I'm sure
> many users will be glad to use it.

Sorry, I had committed it yesterday evening/night, after Eli's docs
approval, and got distracted by other things (including sleeping)
and didn't get back here to say it explicitly.  You'd have seen it had
you been subscribed to gdb-cvs, though.  ;-)

> 
> > +      case ex_catch_exception_unhandled:
> > +     fprintf_filtered (fp, "catch unhandled");
> > +     break;
> 
> Just one nit: The right command is actually "catch exception unhandled".

Ah, thanks, missed that.  I went ahead and applied the fix below.

-- 
Pedro Alves

2010-04-19  Pedro Alves  <pedro@codesourcery.com>

	* ada-lang.c (print_recreate_exception)
	<ex_catch_exception_unhandled>: It's "catch exception unhandled",
	not "catch unhandled".
	
---
 gdb/ada-lang.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/gdb/ada-lang.c
===================================================================
--- src.orig/gdb/ada-lang.c	2010-04-19 17:58:47.000000000 +0100
+++ src/gdb/ada-lang.c	2010-04-19 17:59:06.000000000 +0100
@@ -10364,7 +10364,7 @@ print_recreate_exception (enum exception
 	break;
 
       case ex_catch_exception_unhandled:
-	fprintf_filtered (fp, "catch unhandled");
+	fprintf_filtered (fp, "catch exception unhandled");
 	break;
 
       case ex_catch_assert:



More information about the Gdb-patches mailing list