Not sure if I should dump the whole error message here or not. But here it is:
Code: Select all
Using gdbinit file: C:\Users\frask\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: C:\Program Files\CodeLite
Launching gdb from : C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out
Starting debugger : C:\ProgramFiles\msys64\mingw64\bin\gdb.exe --command="C:\Users\frask\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out\test_MockGetToken.exe
GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis 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.
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
\nFor bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out\test_MockGetToken.exe...
done.
>> Debuggee process ID: 8224
[New Thread 8224.0x27b4]
[New Thread 8224.0x2398]
Continuing...
Thread 1 hit Temporary breakpoint 1, main () at build/test/runners/test_MockGetToken_runner.c:77
77\t UnityBegin("test_MockGetToken.c");
Using gdbinit file: C:\Users\frask\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: C:\Program Files\CodeLite
Launching gdb from : C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out
Starting debugger : C:\ProgramFiles\msys64\mingw64\bin\gdb.exe --command="C:\Users\frask\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out\test_MockGetToken.exe
GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis 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.
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
\nFor bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out\test_MockGetToken.exe...
done.
>> Debuggee process ID: 5460
[New Thread 5460.0x944]
Continuing...
[New Thread 5460.0xcdc]
Thread 1 hit Temporary breakpoint 1, main () at build/test/runners/test_MockGetToken_runner.c:77
77\t UnityBegin("test_MockGetToken.c");
Using gdbinit file: C:\Users\frask\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: C:\Program Files\CodeLite
Launching gdb from : C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out
Starting debugger : C:\ProgramFiles\msys64\mingw64\bin\gdb.exe --command="C:\Users\frask\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out\test_MockGetToken.exe
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print elements 200
DEBUG>>00000019-break-insert -f -t main
DEBUG>>00000020-enable-pretty-printing
DEBUG>>00000021-exec-arguments
DEBUG>>00000022-exec-run
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (GDB) 8.1\n"
GNU gdb (GDB) 8.1
DEBUG>>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
Copyright (C) 2018 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis 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"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis 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.
DEBUG>>~"This GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-w64-mingw32".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>~"Reading symbols from C:\\Students\\Venno\\Projects\\C\\TokenizerSkeleton\\build\\test\\out\\test_MockGetToken.exe..."
Reading symbols from C:\Students\Venno\Projects\C\TokenizerSkeleton\build\test\out\test_MockGetToken.exe...
DEBUG>>~"done.\n"
done.
DEBUG>>&" File \"<string>\", line 2\n"
DEBUG>>&"SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \\UXXXXXXXX escape\n"
DEBUG>>&"C:\\Users\\frask\\AppData\\Local\\Temp\\codelite_gdbinit.txt:14: Error in sourced command file:\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>&"set new-console on\n"
DEBUG>>=cmd-param-changed,param="new-console",value="on"
=cmd-param-changed,param="new-console",value="on"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>00000019^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000000004015fc",func="main",file="build/test/runners/test_MockGetToken_runner.c",fullname="C:\\Students\\Venno\\Projects\\C\\TokenizerSkeleton\\build\\test\\runners\\test_MockGetToken_runner.c",line="77",thread-groups=["i1"],times="0",original-location="main"}
DEBUG>>00000020^done
DEBUG>>00000021^done
>> Debuggee process ID: 1652
DEBUG>>=thread-group-started,id="i1",pid="1652"
=thread-group-started,id="i1",pid="1652"
DEBUG>>=thread-created,id="1",group-id="i1"
=thread-created,id="1",group-id="i1"
DEBUG>>~"[New Thread 1652.0x2454]\n"
[New Thread 1652.0x2454]
DEBUG>>=library-loaded,id="C:\\WINDOWS\\SYSTEM32\\ntdll.dll",target-name="C:\\WINDOWS\\SYSTEM32\\ntdll.dll",host-name="C:\\WINDOWS\\SYSTEM32\\ntdll.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffeb301000",to="0x00007fffeb4e04d8"}]
=library-loaded,id="C:\\WINDOWS\\SYSTEM32\\ntdll.dll",target-name="C:\\WINDOWS\\SYSTEM32\\ntdll.dll",host-name="C:\\WINDOWS\\SYSTEM32\\ntdll.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffeb301000",to="0x00007fffeb4e04d8"}]
DEBUG>>=library-loaded,id="C:\\WINDOWS\\System32\\kernel32.dll",target-name="C:\\WINDOWS\\System32\\kernel32.dll",host-name="C:\\WINDOWS\\System32\\kernel32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffe9111000",to="0x00007fffe91c124c"}]
=library-loaded,id="C:\\WINDOWS\\System32\\kernel32.dll",target-name="C:\\WINDOWS\\System32\\kernel32.dll",host-name="C:\\WINDOWS\\System32\\kernel32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffe9111000",to="0x00007fffe91c124c"}]
DEBUG>>=library-loaded,id="C:\\WINDOWS\\System32\\KernelBase.dll",target-name="C:\\WINDOWS\\System32\\KernelBase.dll",host-name="C:\\WINDOWS\\System32\\KernelBase.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffe78c1000",to="0x00007fffe7b32e24"}]
=library-loaded,id="C:\\WINDOWS\\System32\\KernelBase.dll",target-name="C:\\WINDOWS\\System32\\KernelBase.dll",host-name="C:\\WINDOWS\\System32\\KernelBase.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffe78c1000",to="0x00007fffe7b32e24"}]
DEBUG>>=library-loaded,id="C:\\WINDOWS\\System32\\msvcrt.dll",target-name="C:\\WINDOWS\\System32\\msvcrt.dll",host-name="C:\\WINDOWS\\System32\\msvcrt.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffe8791000",to="0x00007fffe882d4a4"}]
=library-loaded,id="C:\\WINDOWS\\System32\\msvcrt.dll",target-name="C:\\WINDOWS\\System32\\msvcrt.dll",host-name="C:\\WINDOWS\\System32\\msvcrt.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffe8791000",to="0x00007fffe882d4a4"}]
DEBUG>>00000022^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=thread-created,id="2",group-id="i1"
=thread-created,id="2",group-id="i1"
DEBUG>>~"[New Thread 1652.0xb3c]\n"
[New Thread 1652.0xb3c]
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000000004015fc",func="main",file="build/test/runners/test_MockGetToken_runner.c",fullname="C:\\Students\\Venno\\Projects\\C\\TokenizerSkeleton\\build\\test\\runners\\test_MockGetToken_runner.c",line="77",thread-groups=["i1"],times="1",original-location="main"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000000004015fc",func="main",file="build/test/runners/test_MockGetToken_runner.c",fullname="C:\\Students\\Venno\\Projects\\C\\TokenizerSkeleton\\build\\test\\runners\\test_MockGetToken_runner.c",line="77",thread-groups=["i1"],times="1",original-location="main"}
DEBUG>>~"\n"
DEBUG>>~"Thread 1 hit Temporary breakpoint 1, main () at build/test/runners/test_MockGetToken_runner.c:77\n"
Thread 1 hit Temporary breakpoint 1, main () at build/test/runners/test_MockGetToken_runner.c:77
DEBUG>>~"77\t UnityBegin(\"test_MockGetToken.c\");\n"
77\t UnityBegin("test_MockGetToken.c");
DEBUG>>*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x00000000004015fc",func="main",args=[],file="build/test/runners/test_MockGetToken_runner.c",fullname="C:\\Students\\Venno\\Projects\\C\\TokenizerSkeleton\\build\\test\\runners\\test_MockGetToken_runner.c",line="77"},thread-id="1",stopped-threads="all"
DEBUG>>00000023-file-list-exec-source-file
DEBUG>>00000024-break-list
DEBUG>>=breakpoint-deleted,id="1"
=breakpoint-deleted,id="1"
DEBUG>>00000023^done,line="77",file="build/test/runners/test_MockGetToken_runner.c",fullname="C:\\Students\\Venno\\Projects\\C\\TokenizerSkeleton\\build\\test\\runners\\test_MockGetToken_runner.c",macro-info="0"
DEBUG>>00000025-stack-list-variables 2
DEBUG>>00000026-data-list-register-names
DEBUG>>00000024^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
DEBUG>>00000025^done,variables=[]
DEBUG>>00000026^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","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fs_base","gs_base","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"]
DEBUG>>00000027-data-list-register-values N