kurt

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Attached to Linux process on remote ARM target #23966
    kurt
    Participant

    Just realized that my team license’s support expired on 2018.  Let me get management to renew the licenses first, and I’ll come back here again.

    kurt
    Participant

    Thanks for the tip!

    kurt
    Participant

    Thanks for the info on where IntelliSense looks at — it helps to know where to tweak things in the future.  I am able to make it work now (both C++ and BSP headers are automatically detected).

    Another follow-up question:

    Is there a way to “trick” IntelliSense to sync/download the source (not just headers) for the BSP files?

    For example, the following header is currently being sync’d automatically:

    C:\Users\kurt\AppData\Local\VisualGDB\RemoteSourceCache\192.168.1.83\0006\include\bsp\hal\led.h

    This header is remotely located in  /opt/blah/sysroots/armv5e-linux-gnueabi/usr/include/bsp/hal/.

    The corresponding source file is remotely located in /opt/blah/sysroots/armv5e-linux-gnueabi/usr/<strong>src</strong>/bsp/hal/

    and I would like to sync these files, and F12 into the definition.

     

    In the “IntelliSense Settings” tab, I see that there is a “List of additional source files”.  Unfortunately, that’s only referencing local files and not remote files, plus it’s a per-file selection rather than a directory selection (i.e. grab all).

    I can edit the yocto/toolchain file if needed.

    • This reply was modified 5 years, 10 months ago by kurt.
    kurt
    Participant

    Correction to description above:

    • Specify a Yocto environment file I provided an empty file, ignoring toolchain errors. Use Yocto-generated environment file.
    kurt
    Participant

    Ok, it seems like a toolchain file problem.  As a workaround, I just choose “Default GCC ..” to get past the wizard, then change the toolchain file after the project has been created.

    kurt
    Participant

    I forgot to reply earlier … that new build works!  Thanks for the fast response!

    in reply to: Advance CMake build reporting delay and issues #20234
    kurt
    Participant

    Quick update:

    • New version didn’t help (but I just installed and ran … I didn’t re-create the project. I’m not sure if I’m previous hack to add “Ninja” in the XML messes up anything).
    • Manual call to ninja via SSH works fine, no stalling.

    It actually works fine outside of Advanced CMake.

    Anyway, I’ll gather the detailed log.  Be right back …

    in reply to: Examine core dump of target device #20177
    kurt
    Participant

    Yeah, I did point it to the gdb executable that I use for regular debugging.

    Perhaps I still need to adjust the path to the libraries?  I think during regular debugging, it is using the .so files that reside in the target.

    in reply to: Ninja Build #13589
    kurt
    Participant

    Thanks for the quick response, as always.  It works great!

    in reply to: Ninja Build #13560
    kurt
    Participant

    In the dialog shown in the attachment, is it possible to pass -G "Ninja" as the argument?  I have tried it and it doesn’t work, but perhaps it is supported, just that I am doing things incorrectly?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Slow stepping. Here is why I think #13559
    kurt
    Participant

    Thanks for the feedback.

    I did try to close all the windows (leaving only the source code), but it is still happening.  That flurry of “breakpoint-modified” seems to typically appear on stepping through the first command after the breakpoint hits.  The wait for stepping-through to complete for hours is just too long.

    I have also tried the log, but it didn’t give any other information besides the timestamps.

    Unfortunately, I’m not familiar enough with gdb to spot what is wrong, and rely entirely on VisualGDB for my transition to Linux.

    Occasionally, I will get this:

    ../../../gdb-7.12.1/gdb/gdbserver/linux-low.c:2627: A problem internal to GDBserver has been detected.
    int maybe_hw_step(thread_info*): Assertion `has_reinsert_breakpoints (thread)' failed.

    Does that provide any helpful hints?

    in reply to: Slow stepping. Here is why I think #13540
    kurt
    Participant

    Hi,

    My multi-threaded program is facing a similar issue too.  The problem that I have is with stepping over after a breakpoint hits.  I will get an endless amount of "=breakpoint-modified" (sometimes, for hours) before it goes to the next statement.

    Any pointers on where I should look to provide more info?  A simple hello-world program doesn’t produce the problem.

    I am using VS 2017 with VGDB 5.3 R8

    -break-after 2 0
    -stack-list-frames --thread 2
    -stack-list-arguments --thread 2 0
    -stack-list-frames --thread 2
    -stack-list-arguments --thread 2 0
    -stack-list-frames --thread 1
    -stack-list-arguments --thread 1 0
    -stack-list-frames --thread 1
    -stack-list-arguments --thread 1 0
    -stack-list-frames --thread 2
    -stack-list-arguments --thread 2 0
    -stack-list-frames --thread 3
    -stack-list-arguments --thread 3 0
    -stack-list-frames --thread 3
    -stack-list-arguments --thread 3 0
    -stack-list-frames --thread 4
    -stack-list-arguments --thread 4 0
    -stack-list-frames --thread 4
    -stack-list-arguments --thread 4 0
    -stack-list-frames --thread 5
    -stack-list-arguments --thread 5 0
    -stack-list-frames --thread 5
    -stack-list-arguments --thread 5 0
    -stack-list-frames --thread 6
    -stack-list-arguments --thread 6 0
    -stack-list-frames --thread 6
    -stack-list-arguments --thread 6 0
    -stack-list-frames --thread 7
    -stack-list-arguments --thread 7 0
    -stack-list-frames --thread 7
    -stack-list-arguments --thread 7 0
    -stack-list-frames --thread 8
    -stack-list-arguments --thread 8 0
    -stack-list-frames --thread 8
    -stack-list-arguments --thread 8 0
    -stack-list-frames --thread 9
    -stack-list-arguments --thread 9 0
    -stack-list-frames --thread 9
    -stack-list-arguments --thread 9 0
    -stack-list-frames --thread 10
    -stack-list-arguments --thread 10 0
    -stack-list-frames --thread 10
    -stack-list-arguments --thread 10 0
    -stack-list-frames --thread 11
    -stack-list-arguments --thread 11 0
    -stack-list-frames --thread 11
    -stack-list-arguments --thread 11 0
    -stack-list-frames --thread 12
    -stack-list-arguments --thread 12 0
    -stack-list-frames --thread 12
    -stack-list-arguments --thread 12 0
    -stack-list-frames --thread 13
    -stack-list-arguments --thread 13 0
    -stack-list-frames --thread 13
    -stack-list-arguments --thread 13 0
    -stack-select-frame 0
    -thread-select 2
    -exec-next
    ^running
    *running,thread-id="all"
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="2",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="3",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="4",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="5",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="6",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="7",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="8",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="9",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="10",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="11",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="12",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="13",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="14",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="15",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="16",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="17",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="18",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="19",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="20",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="21",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="22",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="23",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="24",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="25",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="26",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="27",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="28",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="29",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="30",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="31",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="32",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="33",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="34",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="35",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="36",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="37",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="38",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="39",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="40",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="41",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="42",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="43",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="44",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="45",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="46",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="47",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="48",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="49",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="50",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="51",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="52",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="53",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="54",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="55",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="56",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="57",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="58",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="59",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="60",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="61",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="62",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="63",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="64",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="65",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="66",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="67",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="68",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="69",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="70",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="71",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="72",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="73",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="74",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="75",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="76",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="77",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="78",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="79",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="80",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="81",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="82",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="83",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="84",original-location="/build/linux/myFile.cpp:5880"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="85",original-location="/build/linux/myFile.cpp:5880"}
    *stopped,reason="end-stepping-range",frame={addr="0x001e736c",func="myfunction",args=[{name="updateSaveViews",value="1 '\\001'"},{name="menuVal",value="10"},{name="inFullFileName",value="0x0"}],file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5881"},thread-id="2",stopped-threads="all",core="0"
    -break-after 2 0
    -stack-list-frames --thread 2
    -stack-list-arguments --thread 2 0
    -stack-list-frames --thread 2
    -stack-list-arguments --thread 2 0
    -stack-list-frames --thread 1
    -stack-list-arguments --thread 1 0
    -stack-list-frames --thread 1
    -stack-list-arguments --thread 1 0
    -stack-list-frames --thread 2
    -stack-list-arguments --thread 2 0
    -stack-list-frames --thread 3
    -stack-list-arguments --thread 3 0
    -stack-list-frames --thread 3
    -stack-list-arguments --thread 3 0
    -stack-list-frames --thread 4
    -stack-list-arguments --thread 4 0
    -stack-list-frames --thread 4
    -stack-list-arguments --thread 4 0
    -stack-list-frames --thread 5
    -stack-list-arguments --thread 5 0
    -stack-list-frames --thread 5
    -stack-list-arguments --thread 5 0
    -stack-list-frames --thread 6
    -stack-list-arguments --thread 6 0
    -stack-list-frames --thread 6
    -stack-list-arguments --thread 6 0
    -stack-list-frames --thread 7
    -stack-list-arguments --thread 7 0
    -stack-list-frames --thread 7
    -stack-list-arguments --thread 7 0
    -stack-list-frames --thread 8
    -stack-list-arguments --thread 8 0
    -stack-list-frames --thread 8
    -stack-list-arguments --thread 8 0
    -stack-list-frames --thread 9
    -stack-list-arguments --thread 9 0
    -stack-list-frames --thread 9
    -stack-list-arguments --thread 9 0
    -stack-list-frames --thread 10
    -stack-list-arguments --thread 10 0
    -stack-list-frames --thread 10
    -stack-list-arguments --thread 10 0
    -stack-list-frames --thread 11
    -stack-list-arguments --thread 11 0
    -stack-list-frames --thread 11
    -stack-list-arguments --thread 11 0
    -stack-list-frames --thread 12
    -stack-list-arguments --thread 12 0
    -stack-list-frames --thread 12
    -stack-list-arguments --thread 12 0
    -stack-list-frames --thread 13
    -stack-list-arguments --thread 13 0
    -stack-list-frames --thread 13
    -stack-list-arguments --thread 13 0

     

    in reply to: Exclude specific folders #13447
    kurt
    Participant

    Is there an option to select “Include all directories”, but then add an “Except for these folders” exclusion option?

    My scenario is similar to the OP’s, where I want to include everything except for “.git” and one other personal folder.  The exclude list is a minority, so it is a hassle to check every folder using “Included selected directories only”, especially when the project is very big.

    in reply to: Clang-IntelliSense bug on "static const initialization"? #13446
    kurt
    Participant

    I am using a CMake project, with CXXFLAGS = -std=c++11

    In one of my header files, there was a legacy code the removed const:

    #ifdef unix
    #define const
    #endif

    I then added this to test:

    const int i = 0;
    printf("%d\n", ++i);

    The compilation on the VM flagged the error, so clearly unix is not defined.  I wondering who defined unix for me.  After some searching, it actually came from the gcc_Debug.h file.  This file says it is generated “based on my GCC”.

    Question 1:  If it compilation didn’t use the flag, why did the IntelliSense file added that flag?

    If I removed the -std=c++11, the compilation did not flag the error (interesting…).   So maybe my GCC configuration did have unix, but the c++11 flag removed it, but the visualgdb IntelliSense file didn’t capture this?  (I’m new to Linux).

    Question 2:  If it’s my configuration problem, anything I can do to remedy this?  It seems like I am not supposed to edit the IntelliSense file.

     

     

    in reply to: How to use Clang Static Analysis #13406
    kurt
    Participant

    <span style=”text-decoration: underline;”>Problem with remote caching:</span>  My toolchain folder paths are long.  VGDB’s default RemoteSourceCache path is long too given it’s stored in AppData.  Some of the files couldn’t be copied, so that explains why Clang couldn’t find certain symbols.

    Cannot create C:\Users\kurt\AppData\Local\VisualGDB\RemoteSourceCache\192.168.1.82\0000\usr\src\debug\gcc-runtime\6.3.0-r0\gcc-6.3.0\build.arm-company-linux-gnueabi.arm-company-linux-gnueabi\arm-company-linux-gnueabi\libstdc++-v3\include\bits\stl_iterator_base_types.h: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Q:  Is there a way to define where the remote cache is located?

    I’m gonna try an alternative of copying the entire toolchain folder to Windows in a shorted path, and see if Clang can find it.

Viewing 15 posts - 1 through 15 (of 18 total)