]> git.ipfire.org Git - thirdparty/elfutils.git/commit
eu-stack: add support for sysroot option
authorLuke Diamand <ldiamand@roku.com>
Tue, 2 Jul 2024 17:30:59 +0000 (19:30 +0200)
committerAaron Merey <amerey@redhat.com>
Thu, 4 Jul 2024 22:41:23 +0000 (18:41 -0400)
commitdc2a040f12b64f3d339599e2013ff3222c7c5094
tree1eb57e124994a0484ad87dd4f89bd538925e6ce7
parent798c92d68701a95da50ebe3b2bf99ad9cff02072
eu-stack: add support for sysroot option

Use the dwfl_set_sysroot() function to set the sysroot to be
used when analysing a core:

e.g.
   $ eu-stack --core core --sysroot /path/to/sysroot -e crashing_prog

Signed-off-by: Luke Diamand <ldiamand@roku.com>
Signed-off-by: Michal Sekletar <msekleta@redhat.com>
src/stack.c