[PATCH 13/18] Add new "wtx" target.

Joel Brobecker brobecker@adacore.com
Fri Feb 25 17:38:00 GMT 2011


> Joel> +  /* FIXME: brobecker/2007-08-31: The current event handling in GDB
> Joel> +     doesn't really include support for exceptions.  For now, treat
> Joel> +     this as an "unknown signal".  Later on, we might want to improve
> Joel> +     a bit, and in particular display the exception value to the user.  */
> 
> What are "exceptions" in this context?

It's a VxWorks exception.  I can't remember completely the details
anymore, but the exception also carries an exception number, which
provides some extra info as to what caused the exception.

> Joel> +  /* FIXME: The observer only passes the bpnum, which forces us
> Joel> +     to do a reverse search for the associated breakpoint structure.
> Joel> +     It is silly to have to do so when the observer had in fact
> Joel> +     the breakpoint structure and had to dereference it in order to
> Joel> +     pass the bpnum.  Propose that the observer be enhanced when
> Joel> +     submitting this code to the FSF.  */
> 
> :-)
> 
> Volodya has a patch to make exactly this change.

I'm going to put that in my TODO list, to do ASAP as a followup patch.
It's been bugging me ever since I argued about that when the observer
was initially introduced.

-- 
Joel



More information about the Gdb-patches mailing list