-
-
Notifications
You must be signed in to change notification settings - Fork 764
Memory map provider #1003
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
Memory map provider #1003
Conversation
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
1 similar comment
🤖 Coverage Update
To this point, this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of abstraction the memory map provider. But there's potential to break tons of things considering how much we rely on the mem map, so it'll need to be test the s**t out of before merging.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can reopen it by adding a comment to this issue. |
This issue has been automatically closed because it has not had recent activity. If you are the owner of this issue, you can either re-open it and provide a more complete description; or create a new issue. Thank you for your contributions. |
🤖 Coverage Update
To this point, this PR:
|
1fb5443
to
d985899
Compare
🤖 Coverage Update
To this point, this PR:
|
d985899
to
ccefb29
Compare
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
e1f978b
to
adb647d
Compare
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things to change before merge.
Also it's a good time to add some testing to those functions, gdb output string parsing can blow up in our face at any next release.
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
🤖 Coverage Update
To this point, this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Hi, is there any reason EDIT: I guess @Grazfather' rationale was that the right way to do it is to rely on the output of |
It's not used because it's not reliable on normal linux targets. You could create a new |
Description
This change allows architectures to provide their own memory map by defining
maps
in the architecture. If set, thenGefMemoryManager
will defer to it when building maps.This can be used for e.g. architectures that are built for use with gdbserver.
It also adds
parse_info_mem
(Renaming the old one toparse_monitor_info_mem
) which parses the maps from this command. The Black Magic Probe provides memory maps of its targets via this command.Checklist