[PATCH] gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp and unsupported catchpoints

Tom Tromey tromey@redhat.com
Tue Dec 20 14:53:00 GMT 2011


>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> Here's a start.  I didn't really try to confirm if I was extracting the
Pedro> arguments correctly for any other function bug the Ada runtime's
Pedro> function in question, but at least it works in the case we're
Pedro> interested in.  :-)

I think it looks pretty good.

If you put this in, I will look at making the next-over-throw code use
it.

Pedro> +      /* The FULL_NAME pointer is at offset 8 of the object pointed by
Pedro> +	 E.  */
Pedro> +      full_name_val = value_at (void_ptr_type, e + 8);

8 seems wrong on 32 bit.
Now, of course, we need struct layout code... :-)

Tom



More information about the Gdb-patches mailing list