Module Name: src Committed By: tsutsui Date: Sun Mar 30 14:14:00 UTC 2025
Modified Files: src/usr.bin/elf2ecoff: elf2ecoff.c Log Message: Revert "debug" variable to global to override it on debugger etc. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/elf2ecoff/elf2ecoff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/elf2ecoff/elf2ecoff.c diff -u src/usr.bin/elf2ecoff/elf2ecoff.c:1.35 src/usr.bin/elf2ecoff/elf2ecoff.c:1.36 --- src/usr.bin/elf2ecoff/elf2ecoff.c:1.35 Thu Feb 8 20:11:56 2024 +++ src/usr.bin/elf2ecoff/elf2ecoff.c Sun Mar 30 14:13:59 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: elf2ecoff.c,v 1.35 2024/02/08 20:11:56 andvar Exp $ */ +/* $NetBSD: elf2ecoff.c,v 1.36 2025/03/30 14:13:59 tsutsui Exp $ */ /* * Copyright (c) 1997 Jonathan Stone @@ -74,7 +74,8 @@ struct ecoff_syms { char *stringtab; }; -static int debug = 0; +int debug = 0; + static int needswap; static int phcmp(Elf32_Phdr *, Elf32_Phdr *);