support

Forum Replies Created

Viewing 15 posts - 5,221 through 5,235 (of 7,855 total)
  • Author
    Posts
  • support
    Keymaster

    Hi,

    Yes, you can relocate the BSP as shown in this tutorial (requires Custom edition): https://visualgdb.com/tutorials/arm/multiuser/

    in reply to: Undefined reference to `_sbrk' #11618
    support
    Keymaster

    Hi,

    Looks like the image did not get uploaded properly. Could you please try attaching it to the post via the “attachments” button below?

    support
    Keymaster

    Hi,

    You can enable it via Tools->Options->Text Editors->C/C++ (VisualGDB)->Other->Use 64-bit Clang Engine. Note that you will need to reopen your solution in order for this setting to take effect.

    in reply to: Intellisense performance (part 2) #11610
    support
    Keymaster

    Hi,

    OK, we have added support for IntelliSense-only precompiled headers to VisualGDB 5.3 Preview 2.

    in reply to: Infinite loop in FastSemihosting.cpp #11609
    support
    Keymaster

    Hi,

    Thanks for reporting this, looks like our bug. We have updated our profiler package. You can download it via Tools->Manage VisualGDB Packages.

    in reply to: Importing mbed makefile Project from mbed-cli #11608
    support
    Keymaster

    Hi,

    The problem with converting an arbitrary Makefile-based project is that different Make-based projects store settings like CFLAGS slightly differently, so extracting them fully and reliably quickly gets too complicated. We have long-term plans for a tool that would reconstruct a project based on build logs (showing all gcc invocations), but it will not work on 100% of projects as Make projects often include custom build steps.

    We have checked the internals of cmake-cli and will contribute an exporter module that will construct a VisualGDB project (similar to what it does for IAR projects) if the mbed community is OK with this.

    support
    Keymaster

    Hi,

    The “launching custom program console” could be related. Please check the corresponding setting under VisualGDB Project Properties -> Custom Debug Steps. You might be accidentally launching ld.so as the custom console command.

    in reply to: kgdboe setup error #11606
    support
    Keymaster

    Hi,

    This is a known issue caused by a breaking change in the kernel 4.10. As a workaround, please try downgrading to an older kernel before we fix this.

    in reply to: Undefined reference to `_sbrk' #11605
    support
    Keymaster

    Hi,

    Please open VisualGDB Project Properties and check the “Provide default stubs for system calls” checkbox on the first page. This will include default implementations for functions like _sbrk() to your project.

    in reply to: Intellisense not working for STM32L1 projects #11601
    support
    Keymaster

    Hi,

    No problem. We have just released the Preview 2 that supports Peek Definition and has improved performance. You can download it here: http://visualgdb.com/download/

    support
    Keymaster

    Hi,

    This should be already fixed in VisualGDB 5.3 Preview 1. Please try updating to it.

    in reply to: Code Map Issues #11580
    support
    Keymaster

    Hi,

    We have investigated this further and it looks like the mechanism responsible for showing CodeMap-like diagrams has been removed from VS2017 community (still works with VS2017 Enterprise).

    You can find more details here: https://developercommunity.visualstudio.com/content/problem/41410/generate-graph-of-include-files-still-not-working.html (the Generate Graph of Include Files command uses the same mechanism).

    in reply to: Compile error if i use rwlock or rcu into debug mode #11579
    support
    Keymaster

    Hi,

    Most likely you would need to set the “optimize” attribute on some of the inline functions in the kernel headers. Please check the build log for the actual function that calls __smp_store_release(), e.g.:

    1><...>\include\asm-generic\qrwlock.h(165,2): note :  in expansion of macro `smp_store_release'

    E.g. with kernel 4.10 you would need to set the optimization for the queued_write_unlock() function:

    static inline void queued_write_unlock(struct qrwlock *lock)
    {
        smp_store_release(__qrwlock_write_byte(lock), 0);
    }
    support
    Keymaster

    Hi,

    Strange. The first step for diagnosing this would be to understand which component causes this message. Do you get it in the “GDBServer” window in Visual Studio, or elsewhere? If you are not sure, please simply attach a screenshot.

    in reply to: Code Map Issues #11574
    support
    Keymaster

    Hi,

    Thanks for the screenshot and sorry about the confusion. This could happen if you were not right-clicking on a globally visible entity (like a function) that could be shown in a code map.

    Please try first left-clicking on the function name, then ensure that it appears in the rightmost combo box on the smart navigation bar and finally right-click again. Does the code map menu appear?

Viewing 15 posts - 5,221 through 5,235 (of 7,855 total)