This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]