Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jul 3, 2024

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 [email protected]

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 <[email protected]>
@WardenGnaw WardenGnaw merged commit b8bfa53 into microsoft:main Jul 3, 2024
6 checks passed
@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