Commit fc833ca
authored
succeed
## Overview
The ds2 implementation for handling the `qModuleInfo` packet fails when
it is unable to retrieve an ELF build ID from the module. This failure
causes `lldb` to stop fetching info for subsequent modules. This PR
addresses the issue by making `qModuleInfo` succeed in this case and
excluding the `uuid` field from the response.
## Validation
GitHub build & test
Locally verified debugging a Swift test that imports modules w/out build
IDs. Images for all modules with build IDs load and symbols resolve
correctly.qModuleInfo when ELF file has no build ID (#165)1 parent 0e60f81 commit fc833ca
File tree
2 files changed
+10
-9
lines changed- Sources/GDBRemote
- Mixins
2 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | | - | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
850 | | - | |
| 850 | + | |
| 851 | + | |
851 | 852 | | |
852 | 853 | | |
853 | 854 | | |
| |||
0 commit comments