Age | Commit message (Collapse) | Author |
|
Since gdb cmd and poky_target_sysroot is now given by by env script,
we need to use them and set gdb sysroot accordingly. And also, unfs
now switch back to use "poky-qemu" bash cmd instead of "runqemu-unfs".
Signed-off-by: Liping Ke<liping.ke@intel.com>
|
|
Since now unfs style qemu is supported, this patch will switch
to the new unfs qemu style.
Signed-off-by: Liping Ke<liping.ke@intel.com>
|
|
This patch is a bug fix for restore original environment before
activating poky sdk plugin.
when deactive poky plugin, we need to unset all set envrionment,
otherwise, when deactivating poky plugin, native compile environment
will be polluted. So if non-poky environment does not have the env var
such as "CC", we still need to save it in the hash table for later
unset operation. I save the unset environment value into old hash
table as "null" for easy to unified operation (g_free will be
automatically called in hash destructor).
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
This patch is a bug fix for environment script path for poky tree
mode. The correct path is input_poky_tree_build_path plus "/tmp".
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
This is a bug fix for bigger PATH script file. I found latest PATH
length in environment-setupXXX files exceeds 1000, so I increase this
read buffer max length, making sure that the path is not cut.
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Since poky SDK infrastructure changes greatly, we need change the
plugin implementation accordingly. The major change is that we
need to pass the available environment-setup* script files to get
the available supported architecture. And we need to set the env
variables and gdb/oprofile search path according to the contents
of the script files too.
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
|
|
From this changeset, we only support anjuta 2.30 and above versions.
We will remove old conditional build for easy to maintain.
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Before anjuta 2.30, we use Ibuildable interface to pass command
and parameters. Now because the changing implementation of
anjuta_execute as well the obsolete Ibuildable interface, we have
to implement new IAnjutaEnvironment override interface to override
build related command and parameters. The patch is tested against
anjuta 2.30.2.
Signed-off-by: Liping ke<liping.ke@intel.com>
|
|
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Signed-off-by: Liping Ke <Liping.ke@intel.com>
|
|
Most users need this option for debugging remote application on the target.
If user did not use it, please use ./configure --enable-remove-gdb to
make the menu defaultly invisible.
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Currently Anjuta IDE vte plugin did not use error output param
to show (anjuta_terminal_execute_command) excection errors.
Actually it use return value(child_pid) to indicate the command
execution result. If fails, -1 will be returned. Otherwise, child
process id will be returned.
After this fix, this vte terminal plugin still has other issues,
please refer to poky sdk bugzilla, bug number: 2000
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
This is a small bug fixing related to bug 2122.
Before calling the first gnome_vfs API, we must first to init
gnome_vfs by calling gnome_vfs_init().
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
It's not obvious to all that your just deployed package is in /usr/local/bin so
to make it easy pre-populate the entries requesting the binary with the deploy
path.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Add a strrstr() call in deploy_launcher_data_cb() for "rsync: not found"
so that we can give the user a slightly easier to nitice warning for this case
as requested by Richard.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
|
|
Rebased patch from Haito Feng <haito.feng@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
* configure.ac:
* src/plugin.c (anjuta_plugin_sdk_activate):
Make the GDB integration conditional with --enable-gdb-integration.
|
|
* src/beaver-util.h:
Change the macro for detecting the Anjuta version due to breakage in
Anjuta 2.24.0.1.
|
|
* configure.ac:
Release 0.6.
|
|
* README:
Update Anjuta version details in README.
|
|
* anjuta-plugin-sdk/src/beaver-target-qemu.c:
* anjuta-plugin-sdk/src/beaver-target.c:
* anjuta-plugin-sdk/src/beaver-util.h:
* anjuta-plugin-sdk/src/plugin.c:
Make the plugin build with Anjuta 2.23.x
|
|
|
|
* configure.ac:
Version 0.5.
|
|
* src/anjuta-plugin-sdk.ui:
* src/beaver-target.c: (beaver_target_class_init),
(beaver_target_remote_stop), (_beaver_target_run_remote_v),
(_beaver_target_remote_stop):
* src/beaver-target.h:
* src/plugin.c: (action_remote_stop_activate_cb), (update_state),
(anjuta_plugin_sdk_activate):
* src/plugin.h:
Add support for stopping the remote command.
|
|
* src/beaver-target.c: (_beaver_target_remote_debug),
(debug_launcher_data_cb):
Switch to using the same message view for all remote operations.
|
|
* src/plugin.c: (action_remote_debug_stop_activate_cb),
(do_remote_gdb), (action_remote_debug_activate_cb), (update_state):
Port over to use new target API.
|
|
* src/beaver-target.c: (beaver_target_finalize),
(_beaver_target_remote_debug), (debug_launcher_data_cb):
* src/beaver-target.h:
Add an extra DEBUGGER_READY state which we can use to find out if the
gdbserver is ready to start the client side.
|
|
* src/beaver-target.c: (beaver_target_class_init),
(beaver_target_remote_debug_stop),
(_beaver_target_remote_debug_stop):
* src/beaver-target.h:
Add functionality to the target to allow stopping of the remote
gdbserver.
|
|
* src/beaver-target.c: (beaver_target_dispose),
(beaver_target_class_init), (beaver_target_init),
(beaver_target_remote_debug), (_beaver_target_run_remote),
(_beaver_target_run_remote_v), (_beaver_target_remote_debug),
(debug_launcher_data_cb):
* src/beaver-target.h:
Refactor some of the remote debugging infrastructure into the target.
Also specify the PATH environment variable so that we can find the
versions installed into the the /usr/local directories.
|
|
* src/beaver-target.c: (beaver_target_init),
(_beaver_target_run_remote_v):
Move initialisation of launcher from just-in-time to on object
initialisation.
|
|
* src/plugin.c: (remote_run_dialog),
(action_remote_run_activate_cb):
Switch running a remote command over to use the new target based
remote run mechanism.
|
|
* src/beaver-target-qemu.c: (beaver_target_qemu_set_state),
(launcher_data_cb):
Don't blindly transition into the READY state. Check that we are still
ready.
Remove dead code.
|
|
* src/beaver-target.c: (beaver_target_class_init),
(beaver_target_run_remote), (_beaver_target_run_remote),
(launcher_child_exited_cb):
* src/beaver-target.h:
Add a beaver_target_run_remote function that uses the correct
environment to programs on the device *without* needing an extra
script.
Fix the logic in the launcher_child_exited_cb.
|
|
* src/beaver-target-device.c: (beaver_target_device_set_state):
Emit signal on state change.
|
|
* src/plugin.c: (update_environment):
Add support for using the new pkgconfig path in toolchain mode.
|
|
* src/plugin.c: (update_state):
Add missing break statement that was causing the shutdown action to be
disabled when it should have been enabled.
|
|
* src/plugin.c: (do_local_gdb):
Fix regression where gdb cross failed due to hard coded paths for the
full Poky tree case.
|
|
* src/beaver-target-device.c:
* src/beaver-target-device.h:
Append missing copyright headers.
|
|
* src/Makefile.am:
* src/beaver-settings-page.c: (radio_toggled_cb), (create_ui):
* src/beaver-target-device.c: (beaver_target_device_get_property),
(beaver_target_device_set_property),
(beaver_target_device_dispose), (beaver_target_device_finalize),
(beaver_target_device_set_state), (beaver_target_device_get_state),
(beaver_target_device_get_ip_address),
(beaver_target_device_class_init), (beaver_target_device_init),
(beaver_target_device_new):
* src/beaver-target-device.h:
* src/beaver.h:
* src/plugin.c: (update_state), (setup_target),
(rootfs_preference_notify_cb), (kernel_preference_notify_cb),
(target_mode_preference_notify_cb),
(target_ip_preference_notify_cb), (target_state_changed_cb),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Add support for using an external device.
|
|
* po/Makefile.in.in:
Updated by intltoolize.
|
|
* src/Makefile.am:
* src/beaver-settings-page.c: (beaver_settings_page_get_property),
(beaver_settings_page_set_property),
(beaver_settings_page_dispose), (beaver_settings_page_finalize),
(beaver_settings_page_constructed),
(beaver_settings_page_class_init), (beaver_settings_page_init),
(beaver_settings_page_new), (preferences_timeout_cb),
(full_radio_toggled_cb), (toolchain_radio_toggled_cb), (create_ui):
* src/beaver-settings-page.h:
* src/beaver.h:
* src/plugin.c: (ipreferences_merge):
* src/plugin.h:
Separate the preferences UI into it's own component.
|
|
* src/beaver-util.h:
Add header guards.
|
|
* src/Makefile.am:
* src/beaver-target-qemu.c: (beaver_target_qemu_get_property),
(beaver_target_qemu_set_property), (beaver_target_qemu_dispose),
(beaver_target_qemu_finalize), (beaver_target_qemu_class_init),
(beaver_target_qemu_init), (beaver_target_qemu_new),
(beaver_target_qemu_start), (beaver_target_qemu_shutdown),
(beaver_target_qemu_get_state),
(beaver_target_qemu_get_ip_address),
(beaver_target_qemu_set_state), (launcher_data_cb),
(launcher_child_exited_cb):
* src/beaver-target-qemu.h:
* src/beaver-target.c: (beaver_target_get_property),
(beaver_target_set_property), (beaver_target_dispose),
(beaver_target_finalize), (beaver_target_class_init),
(beaver_target_init), (beaver_target_get_state),
(beaver_target_set_state), (beaver_target_get_ip_address),
(beaver_target_get_message_manager), (beaver_target_run_remote_v),
(_beaver_target_run_remote_v), (launcher_child_exited_cb),
(launcher_data_cb):
* src/beaver-target.h:
* src/beaver-util.c: (beaver_util_message_view_buffer_flushed_cb),
(beaver_util_strv_concat), (beaver_util_strv_joinv):
* src/beaver-util.h:
* src/plugin.c: (deploy_do_copy),
(action_shutdown_qemu_activate_cb),
(action_start_qemu_activate_cb),
(action_remote_debug_stop_activate_cb), (do_local_gdb),
(do_remote_gdb), (action_remote_run_activate_cb),
(action_remote_profile_activate_cb),
(remote_gdb_launcher_child_exited_cb),
(oprofileui_launcher_child_exited_cb),
(rootfs_preference_notify_cb), (kernel_preference_notify_cb),
(project_root_uri_value_added), (target_state_changed_cb),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Refactor out some operations on the target to allow using a real
device as the target (rather than QEMU.)
|
|
* src/plugin.c: (update_path), (update_environment):
* src/plugin.h:
Add the old style staging paths to PKG_CONFIG_PATH and the PATH for
compatability with older OE/Poky.
|
|
* src/plugin.c: (get_host_component), (update_path),
(update_environment), (poky_mode_preference_notify_cb),
(poky_root_preference_notify_cb), (anjuta_plugin_sdk_activate),
(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.
|