Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [0/2] more OO, Ada exception catchpoints: intro
@ 2011-06-22 13:20 Pedro Alves
  2011-06-22 16:35 ` Joel Brobecker
  2011-06-22 17:24 ` Tom Tromey
  0 siblings, 2 replies; 5+ messages in thread
From: Pedro Alves @ 2011-06-22 13:20 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

Continuing the catchpoints OO theme, Ada catchpoints are
mostly implemented in ada-lang.c, except for the corresponding
commands' themselves implementation, plus a couple of other
helpers.  In this mini-series, that builds on top of 
the series starting at
<http://sourceware.org/ml/gdb-patches/2011-06/msg00269.html>:

 - patch #1 moves the implementation and registration
   of the "catch exception/assert" commands to ada-lang.c.

 - patch #2 switches Ada catchpoints to the OO scheme
   similar to how other catchpoints have been converted in
   my previous series, and removes most of the knowledge about
   Ada catchpoints out of breakpoint.c (serving as proof/excuse
   for me to add a few more bits to breakpoint_ops and export
   a few functions from breakpoint.c :-) ).  The main benefit from
   the change, apart from making the code/design cleaner (IMO), is
   that this lifts the limitation that Ada catchpoints can't have
   user specified conditions.

(I think it might be nice even to move the whole bunch to
its own file (ada-lang.c is pretty big itself) afterwards,
though I'm not planning on doing that myself.)

No regressions on x86_64-linux (with an Ada runtime with debug info,
so that Ada catchpoints work).

Joel, WDYT?  Okay to apply?

(let me know if you'd like a combined patch make it
easier to test on your end)

-- 
Pedro Alves


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

end of thread, other threads:[~2011-06-22 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 13:20 [0/2] more OO, Ada exception catchpoints: intro Pedro Alves
2011-06-22 16:35 ` Joel Brobecker
2011-06-22 17:56   ` Pedro Alves
2011-06-22 17:24 ` Tom Tromey
2011-06-22 18:14   ` Pedro Alves

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