Skip to content

coredump: enhancement of example file - #1226

Merged
mmaka1 merged 1 commit into
thesofproject:masterfrom
abonislawski:coredump-example-enhc
Apr 5, 2019
Merged

coredump: enhancement of example file#1226
mmaka1 merged 1 commit into
thesofproject:masterfrom
abonislawski:coredump-example-enhc

Conversation

@abonislawski

Copy link
Copy Markdown
Member

To make it more user-friendly by getting rid of empty prompts in output

For this issue: #1224

Signed-off-by: Adrian Bonislawski adrian.bonislawski@linux.intel.com

To make it more user-friendly by getting rid of empty prompts in output

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
@abonislawski

Copy link
Copy Markdown
Member Author

coredump-example

xt-gdb "${elf}" < <(echo "${reader_output}")
(echo "${reader_output}")
echo "quit" >> coredump-reader-output.txt
xt-gdb -q "${elf}" --command=coredump-reader-output.txt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we have gdb binary as a option as some users will use gdb and others xt-gdb. This can be done in a subsequent PR. i.e.

sof-coredump-to-gdb.sh GDB=xtensa-cnl-elf-gdb

@mmaka1 mmaka1 added this to the 1.3 milestone Apr 5, 2019
@mmaka1
mmaka1 merged commit 1071076 into thesofproject:master Apr 5, 2019
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.

4 participants