Commit aeb4e6e5 authored by Alexandre Julliard's avatar Alexandre Julliard

Get rid of the global debugging flag.

parent 2b336340
......@@ -221,7 +221,6 @@ extern int parse_debug_channels( const char *srcdir, const char *filename );
extern int current_line;
extern int UsePIC;
extern int debugging;
extern int nb_debug_channels;
extern int nb_lib_paths;
extern int nb_errors;
......
......@@ -46,7 +46,6 @@ int nb_lib_paths = 0;
int nb_errors = 0;
int display_warnings = 0;
int kill_at = 0;
int debugging = 0;
#ifdef __i386__
enum target_cpu target_cpu = CPU_x86;
......@@ -548,9 +547,6 @@ int main(int argc, char **argv)
output_file = stdout;
argv = parse_options( argc, argv, spec );
/* we only support relay debugging on i386 */
debugging = (target_cpu == CPU_x86);
switch(exec_mode)
{
case MODE_DLL:
......
......@@ -291,7 +291,8 @@ static void output_exports( FILE *outfile, DLLSPEC *spec )
/* output relays */
if (debugging)
/* we only support relay debugging on i386 */
if (target_cpu == CPU_x86)
{
for (i = spec->base; i <= spec->limit; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment