[PATCH v2 1/2] gdb/testsuite: rename get_maint_bp_addr and move it to gdb-utils.exp

Tom Tromey tom@tromey.com
Fri Jul 15 16:25:55 GMT 2022


>>>>> "Enze" == Enze Li via Gdb-patches <gdb-patches@sourceware.org> writes:

Enze> The get_maint_bp_addr procedure will be shared by other test suite, so
Enze> move it to gdb-utils.exp.

Enze> Following Andrew's suggestion, I renamed get_maint_bp_addr to
Enze> gdb_get_bp_addr, since it would have handled normal breakpoints in
Enze> addition to the internal ones.  Note that there is still room for
Enze> improvement in this procedure, which I indicated in comments nearby.

This looks good to me, thanks.

Tom


More information about the Gdb-patches mailing list