aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Bradford <rob@o-hand.com>2008-03-25 16:46:42 +0000
committerrob <rob@aea7fca7-3721-49c4-ace3-ac8c44b998bb>2008-03-25 16:46:42 +0000
commit12e3e23ed727d27517446b209c20d6aaeae46d15 (patch)
tree37806fa792a9b0fffd8f82590323be88fb32c066
parent99a1637700c8fa1382add41d8dccf54ca67dc80c (diff)
downloadanjuta-poky-12e3e23ed727d27517446b209c20d6aaeae46d15.tar.gz
anjuta-poky-12e3e23ed727d27517446b209c20d6aaeae46d15.tar.bz2
anjuta-poky-12e3e23ed727d27517446b209c20d6aaeae46d15.zip
2008-03-25 Rob Bradford <rob@openedhand.com>
* src/plugin.c: (do_local_gdb): Fix regression where gdb cross failed due to hard coded paths for the full Poky tree case.
-rw-r--r--ChangeLog8
-rw-r--r--src/plugin.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fbdb65..95c1317 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-25 Rob Bradford <rob@openedhand.com>
+
+ * src/plugin.c: (do_local_gdb):
+ Fix regression where gdb cross failed due to hard coded paths for the
+ full Poky tree case.
+
2008-03-20 Rob Bradford <rob@openedhand.com>
* src/beaver-target-device.c:
@@ -101,7 +107,7 @@
(anjuta_plugin_sdk_deactivate), (full_radio_toggled_cb),
(toolchain_radio_toggled_cb), (ipreferences_merge):
* src/plugin.h:
- Allow using a full Poky tree rather than with an externeral SDK.
+ Allow using a full Poky tree rather than with an external SDK.
2008-02-19 Rob Bradford <rob@openedhand.com>
diff --git a/src/plugin.c b/src/plugin.c
index 0662abd..efe3f0d 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -61,7 +61,7 @@
"-o 'UserKnownHostsFile /dev/null' " \
"root@%s anjuta-remote-run gdbserver 0.0.0.0:2345 %s"
-#define LOCAL_GDB_COMMAND "%s/bin/%s-gdb -x %s %s"
+#define LOCAL_GDB_COMMAND "%s-gdb -x %s %s"
#define GDB_SCRIPT "set solib-absolute-prefix %s\n" \
"target remote %s:2345\n"
@@ -746,7 +746,7 @@ do_local_gdb (AnjutaPluginSdk *sp)
return;
}
- cmd = g_strdup_printf (LOCAL_GDB_COMMAND, sp->sdk_root, sp->triplet,
+ cmd = g_strdup_printf (LOCAL_GDB_COMMAND, sp->triplet,
script_name, sp->gdb_local_path);
cur_dir = g_get_current_dir ();
ianjuta_terminal_execute_command (terminal, cur_dir, cmd, &error);