From 12e3ffb0ddd4e3107964cb4348d97ee83050ef16 Mon Sep 17 00:00:00 2001 From: "colin%theblakes.com" Date: Mon, 21 Feb 2000 22:56:55 +0000 Subject: [PATCH] Add a debug break for OpenVMS. All changes are ifdef VMS. a=leaf git-svn-id: svn://10.0.0.236/trunk@61398 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/components/xcDll.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mozilla/xpcom/components/xcDll.cpp b/mozilla/xpcom/components/xcDll.cpp index 687a326f6b0..da25d107b17 100644 --- a/mozilla/xpcom/components/xcDll.cpp +++ b/mozilla/xpcom/components/xcDll.cpp @@ -36,6 +36,10 @@ #include "nsCOMPtr.h" #include "nsCRT.h" #include "nsString.h" +#if defined(VMS) && defined(DEBUG) +#include +#include +#endif nsDll::nsDll(const char *codeDllName, int type) : m_dllName(NULL), @@ -488,7 +492,9 @@ void nsDll::BreakAfterLoad(const char *nsprPath) // Break in the debugger here. asm("int $3"); #endif - +#if defined(VMS) + lib$signal(SS$_DEBUG); +#endif } #endif /* DEBUG */ return;