Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA: NEWS entry for next-over-throw patch
@ 2010-12-09 20:59 Tom Tromey
  2010-12-10  8:47 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2010-12-09 20:59 UTC (permalink / raw)
  To: gdb-patches

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"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: NEWS entry for next-over-throw patch
  2010-12-09 20:59 RFA: NEWS entry for next-over-throw patch Tom Tromey
@ 2010-12-10  8:47 ` Eli Zaretskii
  2010-12-10 18:39   ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2010-12-10  8:47 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 09 Dec 2010 13:59:16 -0700
> 
> This patch adds a note to NEWS describing the next-over-throw change.
> 
> Please review.

It's fine, thanks.

> +     This functionality requires a change in the exception handling
> +     code that was introduced in GCC 4.5.

Does this mean the feature will only work with GCC-compiled programs?
If so, perhaps we should say that more explicitly.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: NEWS entry for next-over-throw patch
  2010-12-10  8:47 ` Eli Zaretskii
@ 2010-12-10 18:39   ` Tom Tromey
  2010-12-10 20:19     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2010-12-10 18:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> Does this mean the feature will only work with GCC-compiled programs?
Eli> If so, perhaps we should say that more explicitly.

It will work with any program that uses exceptions where the exception
unwinder defines a particular debugging hook.

Right now this hook only appears in libgcc.

It would probably work right now with other compilers on systems using
a new-enough libgcc.  E.g., it might work for other compilers on Fedora.

Tom


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: NEWS entry for next-over-throw patch
  2010-12-10 18:39   ` Tom Tromey
@ 2010-12-10 20:19     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-12-10 20:19 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Fri, 10 Dec 2010 11:39:00 -0700
> 
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> Eli> Does this mean the feature will only work with GCC-compiled programs?
> Eli> If so, perhaps we should say that more explicitly.
> 
> It will work with any program that uses exceptions where the exception
> unwinder defines a particular debugging hook.
> 
> Right now this hook only appears in libgcc.
> 
> It would probably work right now with other compilers on systems using
> a new-enough libgcc.  E.g., it might work for other compilers on Fedora.

Then I guess your wording is okay as it is.  Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-10 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 20:59 RFA: NEWS entry for next-over-throw patch Tom Tromey
2010-12-10  8:47 ` Eli Zaretskii
2010-12-10 18:39   ` Tom Tromey
2010-12-10 20:19     ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox