mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Enabling XPCOM_BREAK_ON_LOAD to break in the debugger for linux &&
i386. r=waterson,pavlov
This commit is contained in:
parent
85d20b4769
commit
541e440f75
@ -488,12 +488,11 @@ void nsDll::BreakAfterLoad(const char *nsprPath)
|
||||
// Loading a dll that we want to break on
|
||||
// Put your breakpoint here
|
||||
printf("...Loading module %s\n", nsprPath);
|
||||
#if 0 // XXX I need a define for x86 linux
|
||||
// Break in the debugger here.
|
||||
#if defined(linux) && defined(__i386)
|
||||
asm("int $3");
|
||||
#endif
|
||||
#if defined(VMS)
|
||||
lib$signal(SS$_DEBUG);
|
||||
#elif defined(VMS)
|
||||
lib$signal(SS$_DEBUG);
|
||||
#endif
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
|
Loading…
x
Reference in New Issue
Block a user