Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
We did test this specific patch. Last time we built the Android GDB was around NDK 8 and the build process was fairly straight-forward using a MinGW/MSYS environment. Please feel free to give it a try and if you encounter strange problems, feel free to post here so that we can try to help you.
support
KeymasterHi,
Most likely your library was compiled without debugging symbols. You need to rebuild it yourself with debugging mode enabled (-ggdb) in order to be able to step into it.
If you want to use Plain C, simply use files with .c extension, they will be compiled as C, not C++.
support
KeymasterHi,
We are currently working on a new IntelliSense engine that will solve the type of problems you are experiencing. As a workaround, you can update the definition of __MINGW_NOTHROW in _mingw.h:
#ifdef _MSC_VER #define __MINGW_NOTHROW #else //Original definition #if __MINGW_GNUC_PREREQ (3, 3) #define __MINGW_NOTHROW __attribute__ ((__nothrow__)) #else #define __MINGW_NOTHROW #endif /* GNUC >= 3.3 */
#endif
support
KeymasterHi,
We’ve added support for running gdb via sudo a few versions ago. See the “run debugger as root with sudo” checkbox on the Debug Settings page.
October 25, 2014 at 01:03 in reply to: Can’t pull /system/bin/app_process on Android L Preview dev. #3090support
KeymasterHi,
Please try this build: http://visualgdb.com/tmp/VisualGDB-4.3.1.180.msi
support
KeymasterHi,
This looks like either your project file got damaged, or the VS installation got damaged. Does re-creating the project with VIsualGDB wizard help? Note that the VisualGDB settings are stored in the .vgdbsettings files that are separate from VS projects and can be copied back after you re-create the project.
support
KeymasterHi,
We tried copy-pasting the XML fragment you posted into a .vgdbsettings file, but it did not cause any exceptions. If you could reproduce it and share a repro file, we should be able to fix it easily.
support
KeymasterHi,
We have added support for ‘detaching’ projects from BSPs to the upcoming VisualGDB 4.3.
Please switch to a newer version of GNU Make. The one that comes with our toolchains supports the c:/xxx path syntax in .dep files properly.
Running make.exe without cmd used to cause some random crashes in some cases. We did not investigate this further, as it looks like a bug specific to some versions of GNU Make for Windows and using cmd fixes it.support
KeymasterHi,
We could not reproduce this on our side. Could you please share the entire .vgdbsettings file?
support
KeymasterHi,
We don’t provide any officially supported tools for generating the BSP packages. However, you can generate one by modifying the existing package XML files in other BSPs. The BSP XML files are produced by the .Net serializer from objects inside the BSPEngine assembly, so you can make a new C# application, reference BSPEngine.dll and manipulate the XML files programmatically:
using BSPEngine; ... BoardSupportPackage bsp = XmlTools.LoadObject
(@"c:xxxBSP.xml");
bsp.SupportedMCUs = ...;
XmlTools.SaveObject(bsp, @"c:yyyBSP.xml");
We do have an internal tool that parses the STM32 headers and generates peripheral register definitions, but it’s highly specific to STM32, as it needs to extract the information from the comments and internal file layout. You can try extracting the register layouts from the Atmel Studio IDE if their license permits doing that.
support
KeymasterHi,
That is very strange. What happens if you start Command Prompt and manually run the following commands:
cd /d C:UsersKelsARCommLinuxHelloWorldLinuxHelloWorld "C:SysGCCraspberrybinmake.exe" CONFIG=Debug type Makefile
Does Make still complain about a missing Makefile? Does your source directory have some non-typical access rights? What happens if you try setting the access to the current user to ‘full control’?
support
KeymasterHi,
It looks like the C:UsersKelsARCommLinuxHelloWorldLinuxHelloWorld directory is missing the ‘Makefile’ file that is required to build your project. Normally it is generated by the wizard. Can you try creating another project? Is Makefile generated then?
support
KeymasterHi,
Cleaning the solution is not sufficient. You need to delete some ant-specific cache files outside the binary directory. You can read more by following the link in the previous post.
support
KeymasterHi,
This looks like a known Android bug. Please try suggestions here: https://code.google.com/p/android/issues/detail?id=60496
support
KeymasterOK, that rules out SSH communication problems. So it looks like GDB cannot receive signals from your program (are they handled by some Docker component instead?). Does it only happen in the “–interpreter MI” mode or in the normal command-line GDB mode as well? If you can make a repro case consisting of just a “hello, world” program and a GDB failing to stop at a breakpoint, the Docker support might be able to provide more help as they know Docker internals.
-
AuthorPosts