diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/plugin.c | 4 |
2 files changed, 9 insertions, 3 deletions
@@ -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); |