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
tools/trap: add trap tool support for xip loadable apps #6179
base: master
Are you sure you want to change the base?
Conversation
@@ -28,6 +28,7 @@ | |||
debug = False # Variable to print debug logs | |||
pc_value = 0x00000000 # Program counter value | |||
format_print = True | |||
CONFIG_PATH = '../../os/.config' |
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.
instead of hardcode path can we have CONFIG_PATH like which is used in the ramdumpparser.py?
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.
we are also setting CONFIG_PATH
in ramdumpParser.py at start.
TizenRT/tools/trap/ramdumpParser.py
Line 56 in 849427e
CONFIG_PATH = '../../os/.config' |
Since, we need it here, then we need to define here also.
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.
As far as I know, the tool provides selectable options for this.
- use default values
- get user input for this
Is it the same? We should concern this can be executed without source code.
add trap tool support for xip loadable apps. As loadable apps requires offset(app start address) to be subtracted from application text address whereas with xip, we don't need to subtract it while using address to line command in trap tool. Signed-off-by: Neelkumar Patel <neel.patel@samsung.com>
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.
Please leave TRAP result with any assert in the commit description.
@@ -28,6 +28,7 @@ | |||
debug = False # Variable to print debug logs | |||
pc_value = 0x00000000 # Program counter value | |||
format_print = True | |||
CONFIG_PATH = '../../os/.config' |
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.
As far as I know, the tool provides selectable options for this.
- use default values
- get user input for this
Is it the same? We should concern this can be executed without source code.
add trap tool support for xip loadable apps