This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RFA: NEWS entry for next-over-throw patch
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 09 Dec 2010 13:59:16 -0700
- Subject: RFA: NEWS entry for next-over-throw patch
This patch adds a note to NEWS describing the next-over-throw change.
Please review.
Tom
2010-12-09 Tom Tromey <tromey@redhat.com>
* NEWS: Document exception-handling change.
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.413
diff -u -r1.413 NEWS
--- NEWS 7 Dec 2010 17:26:03 -0000 1.413
+++ NEWS 9 Dec 2010 20:58:07 -0000
@@ -51,6 +51,13 @@
feature requires proper debuginfo support from the compiler; it
was added to GCC 4.5.
+ ** The motion commands "next", "finish", "until", and "advance" now
+ work better when exceptions are thrown. In particular, GDB will
+ no longer lose control of the inferior; instead, the GDB will
+ stop the inferior at the point at which the exception is caught.
+ This functionality requires a change in the exception handling
+ code that was introduced in GCC 4.5.
+
* GDB now follows GCC's rules on accessing volatile objects when
reading or writing target state during expression evaluation.
One notable difference to prior behavior is that "print x = 0"