Forum Replies Created
-
AuthorPosts
-
AnonymousParticipant
I would really love some improved word boundary handling – this is basically the only thing preventing me from switching to SmarTTY immediately.
In some other terminals when you double-click a word it will select the whole path, but this breaks selections at the ‘/’ character (and some others) and so makes copying text a bit more of a chore.
All in all an amazing product and one I hope to see much more of!!
AnonymousParticipantWell the author is still active ( in other parts of this forum… ) and maybe ( *MAYBE* ) a day he will want to spend 10 minutes of his precious life for update WinCDEmu…
AnonymousParticipantOh, I just read a quite recent thread that addresses this topic. Apparently VisualGDB does make use of the built-in parsing and Intellisense of Visual Studio. Let me rephrase my question: Does anybody know, if there are plans to add support for C++11/C++14 to VisualGDB?
AnonymousParticipantThe global settings in my opinion would be nice for things like the ssh settings since those would unlikely change from one project to the next in the same solution.
More importantly in my case since the projects are generated I want to be able to keep the visualgdb settings file somewhere else that isnt in the project. This allows me to make changes to it via the Visual Studio plugin and still keep it up to date. Atm I have to create the default settings file and copy it yo the project directory. Since our project files can be deleted and recreated at any time this means making changes to the settings/makefiles we need to make sure to copy them back to our original templates.
Other than this I have managed to get everything working quite well I think. We will be purchasing several copies shortly (if we haven’t already). I do appreciate the quick responses as well.
AnonymousParticipantGuys the development is stopped by the 2010-10-28, is not yesterday but 4 years -.-
Don’t loose your time, don’t pray for an update
I can say the “portable” version was downloaded 1.829.679 times and 7720 only this week but basiz don’t care, for his is perfect who cares lolAnonymousParticipantI fixed this by modifying GYP to support exporting projects to their own directories.
I did try the verbose option before your response here and it didnt say a lot other than it discovered the Makefile needed updating and so it did. It kept reading the wrong makefile though. I tried swapping the projects makefile names (instead of the main project being “Makefile” and the dependency project being “Project2-Makefile”, I swapped them). That didn’t work either and VisualGDB continued to read in the wrong value.
Anyhow this can easily be reproduced in 4.1r10 by making two projects in VS. Make one depend on the other and move all their projects/makefiles into one directory.
Btw do you guys have any plans allow support for a global vgdbsettings file (instead of only per project)? And on that same note it would be nice to be able to move those settings and user settings files out of the project directory. This would make it easier to have one set of settings to maintain rather than have to maintain 1 per project.
AnonymousParticipantHi,
Thank you for solving my problem in the next release.
You’re right that I have not set any breakpoint. But I tick the checkbox “Support ‘step into new instance’ through breakpoint in: main”. I think it is the one -break-insert command in the log, but the program does not stop there.
AnonymousParticipantHi,
I understand the SIGINT and SIGTRAP signals are used for break all, but I don’t understand why I have to be informed about it by a dialog box every time when I press the break all button. When I tick the checkbox “Break when this exception type is thrown” nothing is changing and the dialog box is shown next time again.
For the first issue, there is a log:
C:SysGCCarm-eabibinarm-eabi-gdb.exe –interpreter mi C:ProjectsARMC++EmbeddedProject1EmbeddedProject1/Debug/EmbeddedProject1.elf
-list-features
=thread-group-added,id=”i1″
~”GNU gdb (GDB) 7.5.1n”
~”Copyright (C) 2012 Free Software Foundation, Inc.n”
~”License GPLv3+: GNU GPL version 3 or laternThis is free software: you are free to change and redistribute it.nThere is NO WARRANTY, to the extent permitted by law. Type “show copying”nand “show warranty” for details.n”
~”This GDB was configured as “–host=i686-pc-mingw32 –target=arm-eabi”.nFor bug reporting instructions, please see:n”
~”…n”
~”Reading symbols from C:\Projects\ARM\C++\EmbeddedProject1\EmbeddedProject1\Debug\EmbeddedProject1.elf…”
~”done.n”
^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”]
-gdb-set stop-on-solib-events 1
^done
-data-list-register-names
^done,register-names=[“r0″,”r1″,”r2″,”r3″,”r4″,”r5″,”r6″,”r7″,”r8″,”r9″,”r10″,”r11″,”r12″,”sp”,”lr”,”pc”,”f0″,”f1″,”f2″,”f3″,”f4″,”f5″,”f6″,”f7″,”fps”,”cpsr”,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””]
-gdb-set disassembly-flavor intel
^error,msg=”No symbol “disassembly” in current context.”
^error,msg=”No symbol “disassembly” in current context.”
-gdb-set print demangle off
^done
-gdb-version
~”GNU gdb (GDB) 7.5.1n”
~”Copyright (C) 2012 Free Software Foundation, Inc.n”
~”License GPLv3+: GNU GPL version 3 or laternThis is free software: you are free to change and redistribute it.nThere is NO WARRANTY, to the extent permitted by law. Type “show copying”nand “show warranty” for details.n”
~”This GDB was configured as “–host=i686-pc-mingw32 –target=arm-eabi”.nFor bug reporting instructions, please see:n”
~”.n”
^done
-break-insert -f main
^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0800072e”,func=”main()”,file=”LEDBlink.cpp”,fullname=”C:\Projects\ARM\C++\EmbeddedProject1\EmbeddedProject1\LEDBlink.cpp”,line=”15″,times=”0″,original-location=”main”}
target remote :3333
&”target remote :3333n”
~”Remote debugging using :3333n”
=thread-group-started,id=”i1″,pid=”42000″
=thread-created,id=”1″,group-id=”i1″
~”Reset_Handler () at C:/Users/Babel/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F30xxx/startup_stm32f30x.c:204n”
~”204ttSCB->VTOR = (uint32_t)&g_pfnVectors;n”
*stopped,frame={addr=”0x080004ec”,func=”Reset_Handler”,args=[],file=”C:/Users/Babel/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F30xxx/startup_stm32f30x.c”,fullname=”C:\Users\Babel\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.stm32\STM32F30xxx\startup_stm32f30x.c”,line=”204″},thread-id=”1″,stopped-threads=”all”
^done
mon halt
&”mon haltn”
^done
^done
info shared
&”info sharedn”
~”No shared libraries loaded at this time.n”
^done
load
&”loadn”
~”Loading section .isr_vector, size 0x188 lma 0x8000000n”
+download,{section=”.isr_vector”,section-size=”392″,total-size=”22634″}
~”Loading section .text, size 0x614 lma 0x8000188n”
+download,{section=”.text”,section-size=”1556″,total-size=”22634″}
~”Loading section .init_array, size 0x4 lma 0x800079cn”
+download,{section=”.init_array”,section-size=”4″,total-size=”22634″}
~”Loading section .fini_array, size 0x4 lma 0x80007a0n”
+download,{section=”.fini_array”,section-size=”4″,total-size=”22634″}
~”Start address 0x80004ed, load size 1956n”
~”Transfer rate: 5 KB/sec, 489 bytes/write.n”
^done
mon reset init
&”mon reset initn”
@”target state: haltedn”
@”target halted due to debug-request, current mode: Thread n”
@”xPSR: 0x01000000 pc: 0x080004ec msp: 0x2000a000n”
^done
info target
&”info targetn”
~”Symbols from “C:\Projects\ARM\C++\EmbeddedProject1\EmbeddedProject1\Debug\EmbeddedProject1.elf”.n”
~”Remote serial target in gdb-specific protocol:n”
~”Debugging a target over a serial line.n”
~”tWhile running this, GDB does not access memory from…n”
~”Local exec file:n”
~”t`C:\Projects\ARM\C++\EmbeddedProject1\EmbeddedProject1\Debug\EmbeddedProject1.elf’, file type elf32-littlearm.n”
~”tEntry point: 0x80004ecn”
~”t0x08000000 – 0x08000188 is .isr_vectorn”
~”t0x08000188 – 0x0800079c is .textn”
~”t0x0800079c – 0x080007a0 is .init_arrayn”
~”t0x080007a0 – 0x080007a4 is .fini_arrayn”
~”t0x20000000 – 0x2000001c is .bssn”
^done
-exec-continue
~”Note: automatically using hardware breakpoints for read-only addresses.n”
^running
*running,thread-id=”all”
=breakpoint-modified,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0800072e”,func=”main()”,file=”LEDBlink.cpp”,fullname=”C:\\Projects\\ARM\\C++\\EmbeddedProject1\\EmbeddedProject1\\LEDBlink.cpp”,line=”15″,times=”1″,original-location=”main”}
*stopped,reason=”breakpoint-hit”,disp=”keep”,bkptno=”1″,frame={addr=”0x0800072e”,func=”main”,args=[],file=”LEDBlink.cpp”,fullname=”C:\Projects\ARM\C++\EmbeddedProject1\EmbeddedProject1\LEDBlink.cpp”,line=”15″},thread-id=”1″,stopped-threads=”all”
-break-delete 1
^done
-exec-continue
^running
*running,thread-id=”all”
*stopped,reason=”signal-received”,signal-name=”SIGINT”,signal-meaning=”Interrupt”,frame={addr=”0x0800071c”,func=”Delay”,args=[],file=”LEDBlink.cpp”,fullname=”C:\Projects\ARM\C++\EmbeddedProject1\EmbeddedProject1\LEDBlink.cpp”,line=”7″},thread-id=”1″,stopped-threads=”all”
-gdb-exit
^exit
=thread-group-exited,id=”i1″AnonymousParticipantAny progress on this?
AnonymousParticipantI had to finish the assignment without debugging features, I’ll never have to use that platform again. I’m able to do all this just fine on a new version of Ubuntu so the issues are unimportant now.
AnonymousParticipantI fixed the above error, digging though some mailing lists others noted (in different contexts) that having the -O0 flag present causes this and the -O2 apparent works. It did. Now I get the following
Failed to start debugging session, GDB has reported the following error: cannot determine GDB stub port for virtual machine …. Please build your project first. If this does not help, check GDB startup parameters in VisualKernel project settings.
The GDB interaction reads
Your VisualKernel trial expires in 29 days!
C:Program Files (x86)SysprogsVisualKernelKernelToolsamd64x86_64-linux-gnu-gdb.exe –interpreter mi
-file-exec-and-symbols “c:\KernelCache\3.5.0-21-generic_0.kernel\vmlinux-3.5.0-21-generic”
=thread-group-added,id=”i1″
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[snip]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “–host=i686-pc-mingw32 –target=x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<[snip]>.
Find the GDB manual and other documentation resources online at:
<[snip]>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”.
OK
-list-features
^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”language-option”,”info-gdb-mi-command”,”undefined-command-error-code”,”exec-run-start-option”]
-gdb-set stop-on-solib-events 1
OK
-data-list-register-names
^done,register-names=[“rax”,”rbx”,”rcx”,”rdx”,”rsi”,”rdi”,”rbp”,”rsp”,”r8″,”r9″,”r10″,”r11″,”r12″,”r13″,”r14″,”r15″,”rip”,”eflags”,”cs”,”ss”,”ds”,”es”,”fs”,”gs”,”st0″,”st1″,”st2″,”st3″,”st4″,”st5″,”st6″,”st7″,”fctrl”,”fstat”,”ftag”,”fiseg”,”fioff”,”foseg”,”fooff”,”fop”,”xmm0″,”xmm1″,”xmm2″,”xmm3″,”xmm4″,”xmm5″,”xmm6″,”xmm7″,”xmm8″,”xmm9″,”xmm10″,”xmm11″,”xmm12″,”xmm13″,”xmm14″,”xmm15″,”mxcsr”,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,””,”orig_rax”,”al”,”bl”,”cl”,”dl”,”sil”,”dil”,”bpl”,”spl”,”r8l”,”r9l”,”r10l”,”r11l”,”r12l”,”r13l”,”r14l”,”r15l”,”ah”,”bh”,”ch”,”dh”,”ax”,”bx”,”cx”,”dx”,”si”,”di”,”bp”,””,”r8w”,”r9w”,”r10w”,”r11w”,”r12w”,”r13w”,”r14w”,”r15w”,”eax”,”ebx”,”ecx”,”edx”,”esi”,”edi”,”ebp”,”esp”,”r8d”,”r9d”,”r10d”,”r11d”,”r12d”,”r13d”,”r14d”,”r15d”]
-gdb-set disassembly-flavor intel
OK
-gdb-set print demangle off
OK
-gdb-version
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[snip]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “–host=i686-pc-mingw32 –target=x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<[snip]>.
Find the GDB manual and other documentation resources online at:
<[snip]>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”.
OK
info target
&”info targetn”
Symbols from “c:KernelCache3.5.0-21-generic_0.kernelvmlinux-3.5.0-21-generic”.
Local exec file:
`c:KernelCache3.5.0-21-generic_0.kernelvmlinux-3.5.0-21-generic’, file type elf64-x86-64.
&”warning: Cannot find section for the entry point of c:\KernelCache\3.5.0-21-generic_0.kernel\vmlinux-3.5.0-21-generic.n”
Entry point: 0x1000000
0xffffffff81000000 – 0xffffffff8168f9c2 is .text
0xffffffff8168f9c4 – 0xffffffff8168fb40 is .notes
0xffffffff8168fb40 – 0xffffffff81691bb8 is __ex_table
0xffffffff81800000 – 0xffffffff81a9236e is .rodata
0xffffffff81a92370 – 0xffffffff81a99f3c is __bug_table
0xffffffff81a99f40 – 0xffffffff81a9c8e0 is .pci_fixup
0xffffffff81a9c8e0 – 0xffffffff81a9ca00 is .builtin_fw
0xffffffff81a9ca00 – 0xffffffff81a9cb10 is .rio_ops
0xffffffff81a9cb10 – 0xffffffff81a9cb4c is .tracedata
0xffffffff81a9cb50 – 0xffffffff81aac100 is __ksymtab
0xffffffff81aac100 – 0xffffffff81ab6a20 is __ksymtab_gpl
0xffffffff81ab6a20 – 0xffffffff81abe4f8 is __kcrctab
0xffffffff81abe4f8 – 0xffffffff81ac3988 is __kcrctab_gpl
0xffffffff81ac3988 – 0xffffffff81ae1841 is __ksymtab_strings
0xffffffff81ae1860 – 0xffffffff81ae5e50 is __init_rodata
0xffffffff81ae5e50 – 0xffffffff81ae7850 is __param
0xffffffff81ae7850 – 0xffffffff81ae8000 is __modver
0xffffffff81c00000 – 0xffffffff81cdcb00 is .data
0xffffffff81cdd000 – 0xffffffff81cdd0e8 is .vvar
0x0000000000000000 – 0x0000000000014680 is .data..percpu
0xffffffff81cf3000 – 0xffffffff81d3a892 is .init.text
0xffffffff81d3b000 – 0xffffffff81da9fa0 is .init.data
0xffffffff81da9fa0 – 0xffffffff81da9fb8 is .x86_cpu_dev.init
0xffffffff81da9fb8 – 0xffffffff81dc3194 is .parainstructions
0xffffffff81dc3198 – 0xffffffff81dc3ca8 is .altinstructions
0xffffffff81dc3ca8 – 0xffffffff81dc412a is .altinstr_replacement
0xffffffff81dc4130 – 0xffffffff81dc4248 is .iommu_table
0xffffffff81dc4248 – 0xffffffff81dc4270 is .apicdrivers
0xffffffff81dc4270 – 0xffffffff81dc622c is .exit.text
0xffffffff81dc7000 – 0xffffffff81dcd000 is .smp_locks
0xffffffff81dcd000 – 0xffffffff81dce000 is .data_nosave
0xffffffff81dce000 – 0xffffffff81f2f000 is .bss
0xffffffff81f2f000 – 0xffffffff82350000 is .brk
OKAnonymousParticipantThat fixed creating a new one, I decided to create a new module opposed to importing one so the previous issue is probably moot (likely me not doing something correctly). Now I can’t build anything, I try building the basic “hello world” module and get
Error 1 error : size of unnamed array is negative c:Usersdandocumentsvisualstudio2013ProjectsLinuxKernelModule3LinuxKernelModule3includelinuxrcupdate.h LinuxKernelModule3
Error 2 error MSB3073: The command “”C:Program Files (x86)SysprogsVisualKernel\VisualKernel.exe” /build “c:Usersdandocumentsvisualstudio2013ProjectsLinuxKernelModule3LinuxKernelModule3LinuxKernelModule3.vcxproj” “/solution:c:usersdandocumentsvisualstudio2013ProjectsLinuxKernelModule3LinuxKernelModule3.sln” “/config:Debug” “/platform:Win32″” exited with code 1. C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.MakeFile.Targets 38 5 LinuxKernelModule3AnonymousParticipantI also get this when I try to create a new kernel module. I probably should have mentioned it earlier but I am working with version 3.5.0 of the kernel (not my choice).
Tool arguments:
make: Entering directory `/usr/src/linux-headers-3.5.0-21-generic’
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo;
echo ” ERROR: Kernel configuration is invalid.”;
echo ” include/generated/autoconf.h or include/config/auto.conf are missing.”;
echo ” Run ‘make oldconfig && make prepare’ on kernel src to fix it.”;
echo;
/bin/false)
mkdir -p /tmp/VisualGDB-de7f256d-cdbd-4f9c-becf-92a407b32497/.tmp_versions ; rm -f /tmp/VisualGDB-de7f256d-cdbd-4f9c-becf-92a407b32497/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/VisualGDB-de7f256d-cdbd-4f9c-becf-92a407b32497
(cat /dev/null; ) > /tmp/VisualGDB-de7f256d-cdbd-4f9c-becf-92a407b32497/modules.order
make -f /usr/src/linux-headers-3.5.0-21-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-3.5.0-21-generic/Module.symvers -I /tmp/VisualGDB-de7f256d-cdbd-4f9c-becf-92a407b32497/Module.symvers -o /tmp/VisualGDB-de7f256d-cdbd-4f9c-becf-92a407b32497/Module.symvers -S -w -s
make: Leaving directory `/usr/src/linux-headers-3.5.0-21-generic’
/usr/src/linux-headers-3.5.0-21-generic/scripts/gcc-goto.sh: line 5: cannot create temp file for here-document: No space left on deviceAnonymousParticipantSingle machine setup, my kernel cache is in c:KernelCache. The Launcher Output reads
VisualKernel: Executing predebug actions
VisualKernel: Executing predebug actionsAnonymousParticipantSomehow Windows 8 doesn’t bother to tll you why it fails. The emulation drivers are unsigned and on contrary to older Windows versions 8 is not asking the user whether he/she really wants to install unsigned drivers or not.
WinCDEmu installed perfectly fine for me on Win 8.1 Pro x64 by
1. following thishttp://www.howtogeek.com/167723/how-to-disable-driver-signature-verification-on-64-bit-windows-8.1-so-that-you-can-install-unsigned-drivers/
2. running the setup as admin (shift+right click -> run as admin)
Hope this helps anyone
-
AuthorPosts