[PATCH v4 0/1] Add breakpoint location debugging logs

Christina Schimpe christina.schimpe@intel.com
Thu Jun 1 16:33:44 GMT 2023


Hi all,

this is my v4 for the patch "gdb, breakpoint: add breakpoint location debugging
logs", which addresses the feedback of Simon and Andrew.
The documentation part has been approved by Eli.

V3 of this patch can be found here: 
https://sourceware.org/pipermail/gdb-patches/2023-March/198301.html

Changes since V3:
* Replace "breakpoint_location_to_buffer" by "to_string" function on the
  bp_location class
* Add another helper function to create strings for debug log
* Use ui_out_redirect_pop instead of ui_out::redirect directly
* Add a remove_bp_reason_str function to convert an enum remove_bp_reason
* Use DIAGNOSTIC_ERROR_SWITCH
* Some other small nits

Regards,

Christina

Mihails Strasuns (1):
  gdb, breakpoint: add breakpoint location debugging logs

 gdb/NEWS            |   5 +++
 gdb/breakpoint.c    | 107 ++++++++++++++++++++++++++++++++++++++++++++
 gdb/breakpoint.h    |   4 ++
 gdb/doc/gdb.texinfo |   8 ++++
 4 files changed, 124 insertions(+)

-- 
2.25.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



More information about the Gdb-patches mailing list