Skip to content

gstinfo: stack trace fixes

commit 18aa11ea:

gstinfo: Add an explicit enum for GST_STACK_TRACE_SHOW_NONE
The code implicitly uses this value when the stack trace is not FULL.
Mostly useful for documenting the behaviour when each flag is passed
and for translating to/from strings.

commit 628ab570:

gstinfo: Rework stack trace detection a bit
Ensure that the code paths for HAVE_UNWIND and HAVE_DBGHELP are never
taken at the same time, even if the build file code changes. Prefer
DbgHelp over libunwind on Windows in case both are somehow available.

Also, print slightly more useful messages for the level of stack trace
support enabled, and document what each if conditional does.

Merge request reports