Code:
>&"set displaced-stepping on\n"
>67^done
>&"set mem inaccessible-by-default\n"
>68^done
>&"mem 0x00400000 0x70000000 cache\n"
>69^done
>&"mem 0x70000000 0x80000000 cache ro\n"
>70^done
>&"set remotecache on\n"
>71^done
>&"target remote 127.0.0.1:2222\n"
>~"Remote debugging using 127.0.0.1:2222\n"
>&"warning: limiting remote suggested packet size (131072 bytes) to 16384\n"
limiting remote suggested packet size (131072 bytes) to 16384
>=thread-group-started,id="i1",pid="42000"
sThread group i1 created
dTaking notice of pid 42000
>=thread-created,id="1",group-id="i1"
sThread 1 created
>~"0x00000008 in ?? ()\n"
>*stopped,frame={addr="0x00000008",func="??",args=[]},thread-id="1",stopped-threads="all"
>72^done
sSetting breakpoints...
dSetting breakpoints...
<73-break-insert -h -f "\"main.cpp\":6"
I get this error with shared libraries on nfcchat example, not on other applications that crash though.
Code:
>=library-loaded,id="sqlite3.dll",target-name="sqlite3.dll",host-name="sqlite3.dll",symbols-loaded="0",thread-group="i1"
sLibrary sqlite3.dll loaded
>&"warning: Could not load shared library symbols for 29 libraries, e.g. QtCore.dll.\nUse the \"info sharedlibrary\" command to see the complete listing.\nDo you need \"set solib-search-path\" or \"set sysroot\"?"
Could not load shared library symbols for 29 libraries, e.g. QtCore.dll.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
>&"\n"
>~"From To Syms Read Shared Object Library\n"
>~" No QtCore.dll\n"
>~" No QtGui.dll\n"
>~" No libc.dll\n"
>~" No QtNetwork.dll\n"
>~" No QtScript.dll\n"
>~" No QtSql.dll\n"
>~" No QtXml.dll\n"
>~" No QtXmlPatterns.dll\n"
>~" No libdl.dll\n"
>~" No libm.dll\n"
>~" No libpthread.dll\n"
>~" No libssl.dll\n"
>~" No libstdcpp.dll\n"
>~" No libz.dll\n"
>~" No qts60plugin_5_0.dll\n"
>~" No sqlite3.dll\n"
>~" No QtNetwork.dll\n"
>~" No QtScript.dll\n"
>~" No QtSql.dll\n"
>~" No QtXml.dll\n"
>~" No QtXmlPatterns.dll\n"
>~" No libdl.dll\n"
>~" No libm.dll\n"
>~" No libpthread.dll\n"
>~" No libssl.dll\n"
>~" No libstdcpp.dll\n"
>~" No libz.dll\n"
>~" No qts60plugin_5_0.dll\n"
>~" No sqlite3.dll\n"
>79^done
>80^done,BreakpointTable={nr_rows="2",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=[bkpt={number="1",type="hw breakpoint",disp="keep",enabled="y",addr="0x004000aa",func="getFontHeight(const QString &, const int)",file="C:/Qt_ws/nfcchat/main.cpp",fullname="C:/Qt_ws/nfcchat/main.cpp",line="6",times="0",original-location="\"main.cpp\":6"},bkpt={number="2",type="hw breakpoint",disp="keep",enabled="y",addr="0x0040016a",func="main(int, char **)",file="C:/Qt_ws/nfcchat/main.cpp",fullname="C:/Qt_ws/nfcchat/main.cpp",line="35",times="1",original-location="\"main.cpp\":35"}]}
>81^done,stack=[frame={level="0",addr="0x0040016a",func="main",file="C:/Qt_ws/nfcchat/main.cpp",fullname="C:/Qt_ws/nfcchat/main.cpp",line="35"}]
<82-stack-select-frame 0
<83bb options:fancy,autoderef vars: expanded: typeformats: formats: watchers:
>82^done
>&"bb options:fancy,autoderef vars: expanded: typeformats: formats: watchers:\n"
eNAK: Retransmission requested
dNOTE: INFERIOR RUN REQUESTED
dState changed from InferiorStopOk(14) to InferiorRunRequested(10).
--- token barrier ---
dNOTE: INFERIOR RUN REQUESTED
dState changed from InferiorStopOk(14) to InferiorRunRequested(10).
sStep next requested...
<84sal next,0x40016a
<85-exec-next
eNAK: Retransmission requested
eNAK: Retransmission requested
Thread 5398 stopped: 'Exception': A code abort exception has occurred accessing 0x0.
>~"Ignoring packet error, continuing...\n"
>~"\nProgram received signal "
>~"SIGSEGV, Segmentation fault.\n"
>~"0x00000000 in ?? ()\n"
eNAK: Retransmission requested
eNAK: Retransmission requested
eNAK: Retransmission requested
I'm currently developing on Parallels virtual machine running Windows 7 that has only qt development, phone drivers and firefox installed on it. I also tried on a PC with windows 7 and had the same problem. Phone is Nokia C7 with CODA version 4.0.23, I'm using the latest version of QT SDK.