diff options
Diffstat (limited to 'linden/indra/llplugin')
-rwxr-xr-x | linden/indra/llplugin/llpluginprocessparent.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/llplugin/llpluginprocessparent.cpp b/linden/indra/llplugin/llpluginprocessparent.cpp index 1bf34c5..8db6046 100755 --- a/linden/indra/llplugin/llpluginprocessparent.cpp +++ b/linden/indra/llplugin/llpluginprocessparent.cpp | |||
@@ -408,6 +408,17 @@ void LLPluginProcessParent::idle(void) | |||
408 | mDebugger.addArgument("end tell"); | 408 | mDebugger.addArgument("end tell"); |
409 | mDebugger.launch(); | 409 | mDebugger.launch(); |
410 | 410 | ||
411 | #elif LL_LINUX | ||
412 | |||
413 | std::stringstream cmd; | ||
414 | |||
415 | mDebugger.setExecutable("/usr/bin/gnome-terminal"); | ||
416 | mDebugger.addArgument("--geometry=165x24-0+0"); | ||
417 | mDebugger.addArgument("-e"); | ||
418 | cmd << "/usr/bin/gdb -n /proc/" << mProcess.getProcessID() << "/exe " << mProcess.getProcessID(); | ||
419 | mDebugger.addArgument(cmd.str()); | ||
420 | mDebugger.launch(); | ||
421 | |||
411 | #endif | 422 | #endif |
412 | } | 423 | } |
413 | 424 | ||