mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 11:58:22 +00:00
Get rid of the global debugging flag.
This commit is contained in:
parent
2b33634018
commit
aeb4e6e5d2
@ -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++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user