[PATCH v7] gdb/python: Add BreakpointLocation type

Tom Tromey tromey@adacore.com
Thu Jul 28 17:47:46 GMT 2022


Simon> +static int find_loc_num_by_location (bp_location* loc);

Tom> I think it would be better to rearrange this so that the forward
Tom> declaration isn't needed.

[...]

I have been wanting this patch for a project I'm working on, and so I
went ahead and made the minor code tweaks needed -- a few formatting
fixups and a couple of missing Python error checks.

I didn't change the documentation, since I feel that may require some
discussion first.

I'm going to check it in now.  Thank you for doing this.

Tom


More information about the Gdb-patches mailing list