libbacktrace: use BACKTRACE_MOREDATA_VERSION rather than 3

Patch from Andi Kleen.

	* pecoff.c (coff_syminfo): Use BACKTRACE_MOREDATA_VERSION.
	* xcoff.c (xcoff_syminfo): Likewise.
	(xcoff_lookup_pc): Likewise.
	(xcoff_fileline): Likewise.
	* unknown.c (unknown_fileline): Likewise.
This commit is contained in:
Ian Lance Taylor
2026-09-01 15:11:24 -07:00
parent 6d913c4521
commit 3bd5a08e4f
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -629,7 +629,7 @@ coff_syminfo (struct backtrace_state *state, uintptr_t addr,
else
{
memset (&md, 0, sizeof md);
md.backtrace_version = 3;
md.backtrace_version = BACKTRACE_MOREDATA_VERSION;
md.backtrace_data = data;
mdata = (void *) &md;
}