Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] set the start address and end address for Memory Browser

The Memory Browser is too active, some time when I debug my remote hardware boot code and only a small block of memory can be accessed on the target.

But  the CDT memory browser always read a large range of memory, this will stop the target.

Can I set the start address and the end address for Memory Browser?

Or some other solutions?

 

Thank you!

 

Best regards!
---------------------------------------------
guosheng_gao 高国胜
Realsil Microelectronics Inc.
Tel: +86-512-6258-8966 ext.6617
E-Mail: guosheng_gao@xxxxxxxxxxxxxx
---------------------------------------------


发件人: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] 代表 Amol Deshpande
发送时间: 2013年4月2 14:42
收件人: cdt-dev@xxxxxxxxxxx
主题: [cdt-dev] Language settings Provider for compiler(gcc) built ins

 

Hi,

Below is my query :

 

 

I want to modify the command for LanguageSettingsProvider for compiler (gcc) built in settings.

e.g. I want to modify the command specified in plugin.xml i.e.  gcc -E -P -v -dD ${INPUTS} to gcc -E -P -v -dD ${INPUTS} �Coption1 �Coption2 programmatically based on some options.

I tried using the following code, but its not updating the command in ‘Preprocessor Include Paths, Macros -> 'Providers' tab:

 

ICProjectDescriptionManager mngr = CoreModel.getDefault().getProjectDescriptionManager();

                                                            if (currentConfig.getOwner().getProject() != null){

                                                                      ICProjectDescription projectDescription =

                                                            mngr.getProjectDescription(currentConfig.getOwner().getProject(), true);

                                                                       

                                                                     List<ILanguageSettingsProvider> providers;

                                                                      ICConfigurationDescription cfgDescription =

                                                            projectDescription.getDefaultSettingConfiguration();

                                                                     if (cfgDescription instanceof ILanguageSettingsProvidersKeeper) {

                                                                         providers = new

                                                            ArrayList<ILanguageSettingsProvider>(((ILanguageSettingsProvidersKeeper)

                                                            cfgDescription).getLanguageSettingProviders());

                                                                         for (ILanguageSettingsProvider provider : providers) {

                                                                             if ((provider instanceof  AbstractBuiltinSpecsDetector)) {

                                                                                    String cmd = ((AbstractBuiltinSpecsDetector) provider).getCommand();

                                                                                    cmd = cmd + Constants.SPACE + option1

                                                                                    (( AbstractBuiltinSpecsDetector) provider).setCommand(cmd);

                                                                                                                       

Can anyone give me inputs regarding how to update the command programmatically?

 

 

Regards,

Amol Deshpande

P Please consider the environment before printing this e-mail

SSG| KPIT Cummins Infosystems Ltd.| Direct: +91 20 6652 2341| Board: +91 20 6652 5000 Amol.Deshpande @kpitcummins.com| www.kpitcummins.com

 

 


This message contains information that may be privileged or confidential and is the property of the KPIT Cummins Infosystems Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins Infosystems Ltd. does not accept any liability for virus infected mails.


Back to the top