Commit 5f6419fa authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Got rid of -debug wine's option (wine now requires an external debugger).

parent 02ee9dda
......@@ -101,9 +101,6 @@ file contained in the source distribution.
Use the named configuration file rather than the default
(@sysconfdir@/wine.conf or ~/.winerc).
.TP
.I --debug
Enter the debugger before starting application.
.TP
.I --debugmsg [xxx]#name[,[xxx1]#name1][,<+|->relay=yyy1[:yyy2]]
Turn debugging messages on or off.
.RS +7
......
......@@ -61,7 +61,6 @@ struct options
char * display; /* display name */
char *dllFlags; /* -dll flags (hack for Winelib support) */
int synchronous; /* X synchronous mode */
int debug;
WINE_LANGUAGE language; /* Current language */
int managed; /* Managed windows */
char * configFileName; /* Command line config file */
......
......@@ -89,7 +89,6 @@ struct options Options =
NULL, /* display */
NULL, /* dllFlags */
FALSE, /* synchronous */
FALSE, /* debug */
0, /* language */
FALSE, /* Managed windows */
NULL /* Alternate config file name */
......
......@@ -23,11 +23,9 @@ struct option
};
static void do_config( const char *arg );
static void do_debug( const char *arg );
static void do_desktop( const char *arg );
static void do_display( const char *arg );
static void do_dll( const char *arg );
static void do_failreadonly( const char *arg );
static void do_help( const char *arg );
static void do_managed( const char *arg );
static void do_synchronous( const char *arg );
......@@ -37,8 +35,6 @@ static const struct option option_table[] =
{
{ "config", 0, 1, do_config,
"--config name Specify config file to use" },
{ "debug", 0, 0, do_debug,
"--debug Enter debugger before starting application" },
{ "debugmsg", 0, 1, MAIN_ParseDebugOptions,
"--debugmsg name Turn debugging-messages on or off" },
{ "desktop", 0, 1, do_desktop,
......@@ -82,11 +78,6 @@ static void do_synchronous( const char *arg )
Options.synchronous = TRUE;
}
static void do_debug( const char *arg )
{
Options.debug = TRUE;
}
static void do_desktop( const char *arg )
{
Options.desktopGeometry = strdup( arg );
......
......@@ -18,18 +18,9 @@
#include "wine/exception.h"
#include "debugtools.h"
extern DWORD DEBUG_WinExec(LPCSTR lpCmdLine, int sw);
static BOOL exec_program( LPCSTR cmdline )
{
HINSTANCE handle;
if (Options.debug)
handle = DEBUG_WinExec( cmdline, SW_SHOWNORMAL );
else
handle = WinExec( cmdline, SW_SHOWNORMAL );
HINSTANCE handle = WinExec( cmdline, SW_SHOWNORMAL );
if (handle < 32)
{
MESSAGE( "%s: can't exec '%s': ", argv0, cmdline );
......
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