Commit 34dee9a
committed
Only set the "low" address masks when only one adressable bits specified
qHostInfo / stop-reply packet / LC_NOTE "addrable bits" can all
specify either a single value for all address masks, or separate
masks for low and high memory addresses.
When the same number of addressing bits are used for all addresses,
we use the "low memory" address masks for everything. (or another
way, if the high address masks are not set, we use the low address
masks with the assumption that all memory is using the same mask --
the most common situation).
I was setting low and high address masks when I had a single value
from these metadata, but that gave the impression that the high
address mask was specified explicitly. After living on the code
a bit, it's clearly better to only set the high address masks when
we have a distinct high address mask value.
This patch is the minor adjustment to behave that way.
(cherry picked from commit 10f494d)1 parent 1992b24 commit 34dee9a
File tree
2 files changed
+10
-10
lines changed- lldb/source/Plugins
- ObjectFile/Mach-O
- Process/gdb-remote
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5561 | 5561 | | |
5562 | 5562 | | |
5563 | 5563 | | |
5564 | | - | |
5565 | | - | |
5566 | | - | |
| 5564 | + | |
5567 | 5565 | | |
5568 | 5566 | | |
5569 | 5567 | | |
| |||
5574 | 5572 | | |
5575 | 5573 | | |
5576 | 5574 | | |
5577 | | - | |
| 5575 | + | |
| 5576 | + | |
| 5577 | + | |
| 5578 | + | |
5578 | 5579 | | |
5579 | 5580 | | |
5580 | 5581 | | |
| |||
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1261 | 1261 | | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | | - | |
1265 | 1264 | | |
1266 | 1265 | | |
1267 | 1266 | | |
| |||
1417 | 1416 | | |
1418 | 1417 | | |
1419 | 1418 | | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
1425 | 1424 | | |
1426 | 1425 | | |
1427 | 1426 | | |
| |||
0 commit comments