+2005-02-25 Keith Seitz <kseitz@sources.redhat.com>
+
+ * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
+ use throw_exception (struct exception).
+
2005-02-16 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-stack.c (get_frame_name): Replace
#include "version.h"
#include "top.h"
#include "annotate.h"
+#include "exceptions.h"
#if defined(_WIN32) || defined(__CYGWIN__)
#define WIN32_LEAN_AND_MEAN
If GDB wasn't started from the DOS prompt, the user won't
get to see the failure reason. */
MessageBox (NULL, msg, NULL, MB_OK | MB_ICONERROR | MB_TASKMODAL);
- throw_exception (RETURN_ERROR);
+ {
+ struct exception e;
+ e.reason = RETURN_ERROR;
+ e.error = GENERIC_ERROR;
+ e.message = msg;
+ throw_exception (e);
+ }
#else
/* FIXME: cagney/2002-04-17: Wonder what the lifetime of
``msg'' is - does it need a cleanup? */