Skip to content

MIEngine: Fix multi-breakpoint gdb/mi information parsing#1435

Merged
WardenGnaw merged 2 commits intomicrosoft:mainfrom
apazarlo:MultiLocationBP
Jul 3, 2024
Merged

MIEngine: Fix multi-breakpoint gdb/mi information parsing#1435
WardenGnaw merged 2 commits intomicrosoft:mainfrom
apazarlo:MultiLocationBP

Conversation

@apazarlo
Copy link
Contributor

This PR fixes gdb/mi breakpoint information parsing for breakpoints that bind to multiple locations, which have a "<MULTIPLE>" in the addr field. According to https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Breakpoint-Information.html#GDB_002fMI-Breakpoint-Information the locations field contains the list of locations for this breakpoint type. This list of locations is used then to create the bound breakpoints for the specific breakpoint.

Signed-off-by: Andria Pazarloglou androniki.pazarloglou@intel.com

This PR fixes gdb/mi breakpoint information parsing for breakpoints
that bind to multiple locations, which have a '<MULTIPLE>' in the addr field.
According to https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Breakpoint-Information.html#GDB_002fMI-Breakpoint-Information
the locations field contains the list of locations for this breakpoint type.
This list of locations is used then to create the bound breakpoints for the specific breakpoint.

Signed-off-by: Andria Pazarloglou <androniki.pazarloglou@intel.com>
@WardenGnaw WardenGnaw merged commit b8bfa53 into microsoft:main Jul 3, 2024
@WardenGnaw
Copy link
Member

@apazarlo Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants