[nemiver] Don't list frame args twice
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Don't list frame args twice
- Date: Fri, 1 Apr 2011 19:01:47 +0000 (UTC)
commit f0f0a05eba1c89313d3b844cafb09a9197a79293
Author: Dodji Seketeli <dodji gnome org>
Date: Fri Apr 1 18:04:16 2011 +0200
Don't list frame args twice
* src/dbgengine/nmv-gdb-engine.cc
(GDBEngine::list_frames_arguments): Don't queue the GDB command twice.
src/dbgengine/nmv-gdb-engine.cc | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/dbgengine/nmv-gdb-engine.cc b/src/dbgengine/nmv-gdb-engine.cc
index a124aaa..90450be 100644
--- a/src/dbgengine/nmv-gdb-engine.cc
+++ b/src/dbgengine/nmv-gdb-engine.cc
@@ -4314,21 +4314,11 @@ GDBEngine::list_frames_arguments (int a_low_frame,
if (a_low_frame < 0 || a_high_frame < 0) {
cmd_str = "-stack-list-arguments 1";
- queue_command (Command ("list-frames-arguments",
- "-stack-list-arguments 1",
- a_cookie));
} else {
cmd_str = UString ("-stack-list-arguments 1 ")
+ UString::from_int (a_low_frame)
+ " "
+ UString::from_int (a_high_frame);
-
- queue_command (Command ("list-frames-arguments",
- "-stack-list-arguments 1 "
- + UString::from_int (a_low_frame)
- + " "
- + UString::from_int (a_high_frame),
- a_cookie));
}
Command command ("list-frames-arguments", cmd_str, a_cookie);
command.set_slot (a_slot);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]