[nemiver] Avoid error in setting solib-absolute-prefix parm
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Avoid error in setting solib-absolute-prefix parm
- Date: Wed, 13 Oct 2010 19:11:09 +0000 (UTC)
commit 912c6fe0b02bef6e43366a4a16f3bc9bde00df93
Author: Dodji Seketeli <dodji seketeli org>
Date: Mon Oct 11 21:05:15 2010 +0200
Avoid error in setting solib-absolute-prefix parm
* src/dbgengine/nmv-gdb-engine.cc
(GDBEngine::set_solib_prefix_path): Avoid setting solib prefix to
an empty string.
src/dbgengine/nmv-gdb-engine.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/dbgengine/nmv-gdb-engine.cc b/src/dbgengine/nmv-gdb-engine.cc
index f24ad55..d7429ae 100644
--- a/src/dbgengine/nmv-gdb-engine.cc
+++ b/src/dbgengine/nmv-gdb-engine.cc
@@ -3481,6 +3481,8 @@ GDBEngine::set_solib_prefix_path (const UString &a_name)
{
LOG_FUNCTION_SCOPE_NORMAL_DD;
+ if (a_name.empty ())
+ return;
set_debugger_parameter ("solib-absolute-prefix", a_name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]