wine/debugger/stabs.c patch breaks FreeBSD
Gerald Pfeifer
pfeifer at dbai.tuwien.ac.at
Tue Apr 2 08:03:06 CST 2002
The following patch to wine/debugger/stabs.c breaks FreeBSD:
revision 1.45
date: 2002/04/02 02:38:37; author: julliard; state: Exp; lines: +2 -0
Check ELF signature before processing file.
stabs.c: In function `DEBUG_ProcessElfFile':
stabs.c:1232: `ELFMAG' undeclared (first use in this function)
stabs.c:1232: (Each undeclared identifier is reported only once
stabs.c:1232: for each function it appears in.)
stabs.c:1232: `SELFMAG' undeclared (first use in this function)
In /usr/include/sys/elf_common FreeBSD has
/* Values for the magic number bytes. */
#define ELFMAG0 0x7f
#define ELFMAG1 'E'
#define ELFMAG2 'L'
#define ELFMAG3 'F'
but not ELFMAG and nothing similiar to SELFMAG.
Gerald
--
Gerald "Jerry" pfeifer at dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the wine-devel
mailing list