[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog plugin/plugin.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog plugin/plugin.cpp |
Date: |
Fri, 24 Nov 2006 23:23:43 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/11/24 23:23:43
Modified files:
. : ChangeLog
plugin : plugin.cpp
Log message:
* plugin/plugin.cpp: wait for gdb if GNASH_OPTIONS
environment variable contains the substring 'waitforgdb'
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1751&r2=1.1752
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.67&r2=1.68
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1751
retrieving revision 1.1752
diff -u -b -r1.1751 -r1.1752
--- ChangeLog 24 Nov 2006 23:08:57 -0000 1.1751
+++ ChangeLog 24 Nov 2006 23:23:43 -0000 1.1752
@@ -1,5 +1,7 @@
2006-11-24 Sandro Santilli <address@hidden>
+ * plugin/plugin.cpp: wait for gdb if GNASH_OPTIONS
+ environment variable contains the substring 'waitforgdb'
* testsuite/actionscript.all/Date.as:
case-sensitiveness tests pass now.
Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- plugin/plugin.cpp 17 Nov 2006 10:10:58 -0000 1.67
+++ plugin/plugin.cpp 24 Nov 2006 23:23:43 -0000 1.68
@@ -17,7 +17,7 @@
//
//
-/* $Id: plugin.cpp,v 1.67 2006/11/17 10:10:58 tgc Exp $ */
+/* $Id: plugin.cpp,v 1.68 2006/11/24 23:23:43 strk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -131,6 +131,17 @@
cout << "Gtk2+ supported in this Mozilla version" << endl;
}
+ char* opts = getenv("GNASH_OPTIONS");
+ if ( opts )
+ {
+ cout << "GNASH_OPTIONS : " << opts << endl;
+ if ( strstr(opts, "waitforgdb") )
+ {
+ waitforgdb = true;
+ }
+
+ }
+
plugInitialized = TRUE;
return NPERR_NO_ERROR;