Get rid of the global debugging flag.

oldstable
Alexandre Julliard 2005-07-05 12:52:57 +00:00
parent 2b33634018
commit aeb4e6e5d2
3 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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:

View File

@ -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++)
{