Skip to content

Misc. improvements to gdb module#947

Merged
xwings merged 7 commits intoqilingframework:devfrom
elicn:gdb-improv
Oct 17, 2021
Merged

Misc. improvements to gdb module#947
xwings merged 7 commits intoqilingframework:devfrom
elicn:gdb-improv

Conversation

@elicn
Copy link
Member

@elicn elicn commented Oct 15, 2021

Mostly refining existing code and replacing hardcoded values with actual functionality.
These changes come as a result of the recent changes in ELF loader.

self.rootfs_abspath = os.path.abspath(self.ql.rootfs)
self.gdb = QlGdbUtils()

if ip == None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's a dirty fix for somewhere else passing None as ip and port.

@xwings
Copy link
Member

xwings commented Oct 16, 2021

Looks like there is a error in Windows debugger ?

@elicn
Copy link
Member Author

elicn commented Oct 16, 2021

Windows debugger test should have specified "gdb:127.0.0.1:9996" instead of just "127.0.0.1:9996".
I took the opportunity to adjust the entire test file to match the one we have for Linux, which is more extensible.

@xwings
Copy link
Member

xwings commented Oct 17, 2021

this one seems cool!

thanks!

@xwings xwings merged commit 87fc7a4 into qilingframework:dev Oct 17, 2021
@elicn elicn deleted the gdb-improv branch October 17, 2021 11:02
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