Debugger Command: [C:\cygwin\bin\gdb.exe, --nw, --silent, --interpreter=mi] Env[0]: [] workingDirectory: C:/working/nb_trunk_working/Quote_3/ NB version: 200905140201 ================================================ 100-gdb-version 100~"GNU gdb 6.8.0.20080328-cvs (cygwin-special)\n" 100~"Copyright (C) 2008 Free Software Foundation, Inc.\n" 100~"License GPLv3+: GNU GPL version 3 or later \n" 100~"This is free software: you are free to change and redistribute it.\n" 100~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n" 100~"and \"show warranty\" for details.\n" 100~"This GDB was configured as \"i686-pc-cygwin\".\n" 100^done 101-environment-directory "C:/working/nb_trunk_working/Quote_3/" 102-gdb-show language 103-gdb-set print repeat 10 104-file-exec-and-symbols C:/working/nb_trunk_working/Quote_3/dist/Debug/Cygwin_gcc4-Windows/quote_3 105-gdb-set environment Path=;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Java\jdk1.6.0_07\bin;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ASUS Security Center\ASUS Security Protect Manager\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Mercurial;C:\cygwin\bin 106set new-console 107-break-insert -t -f main 101^done,source-path="C:/working/nb_trunk_working/Quote_3:$cdir:$cwd" 108-break-insert -t -f WinMain 102^done,value="auto; currently c" 109-data-list-register-names 103^done 110-exec-run 111info threads 104^done 105^done 106&"set new-console\n" 106^done 107^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00401b5d",func="main",file="quote.cc",fullname="/cygdrive/c/working/nb_trunk_working/Quote_3/quote.cc",line="111",times="0"} &"Function \"WinMain\" not defined.\n" 108^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="",pending="WinMain",times="0"} 109^done,register-names=["eax","ecx","edx","ebx","esp","ebp","esi","edi","eip","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","mxcsr","mm0","mm1","mm2","mm3","mm4","mm5","mm6","mm7"] 110^running ~"[New thread 316.0x1eb0]\n" ~"[New thread 316.0x1b6c]\n" 110*stopped,thread-id="1",frame={addr="0x00401b5d",func="main",args=[],file="quote.cc",fullname="/cygdrive/c/working/nb_trunk_working/Quote_3/quote.cc",line="111"} 112info share 113-break-insert -f C:/working/nb_trunk_working/Quote_2/quote.cc:67 114-break-insert -f C:/working/nb_trunk_working/Quote_3/quote.cc:66 111&"info threads\n" 111~" 2 thread 316.0x1b6c 0x77169a94 in ntdll!LdrAccessResource ()\n" 111~" from /cygdrive/c/Windows/system32/ntdll.dll\n" 111~"* 1 thread 316.0x1eb0 main () at quote.cc:111\n" 111^done 112&"info share\n" 112~"From To Syms Read Shared Object Library\n" 112~"0x77111000 0x77236860 Yes /cygdrive/c/Windows/system32/ntdll.dll\n" 112~"0x763d1000 0x764aaa60 Yes /cygdrive/c/Windows/system32/kernel32.dll\n" 112~"0x61741000 0x617a9852 Yes /cygdrive/c/Windows/SYSTEM32/sysfer.dll\n" 112~"0x75721000 0x75794cf4 Yes /cygdrive/c/Windows/system32/netapi32.dll\n" 112~"0x75bb1000 0x75c59234 Yes /cygdrive/c/Windows/system32/msvcrt.dll\n" 112~"0x75cc1000 0x75d8551c Yes /cygdrive/c/Windows/system32/advapi32.dll\n" 112~"0x764b1000 0x76571b98 Yes /cygdrive/c/Windows/system32/rpcrt4.dll\n" 112~"0x75981000 0x759861a0 Yes /cygdrive/c/Windows/system32/psapi.dll\n" 112~"0x61001000 0x61200000 Yes /usr/bin/cygwin1.dll\n" 112~"0x67f01000 0x67f0e4f4 Yes /usr/bin/cyggcc_s-1.dll\n" 112~"0x6c481000 0x6c4fe904 Yes /usr/bin/cygstdc++-6.dll\n" 112~"0x75821000 0x75833aa8 Yes /cygdrive/c/Windows/system32/secur32.dll\n" 112~"0x76251000 0x762ec12c Yes /cygdrive/c/Windows/system32/user32.dll\n" 112~"0x77251000 0x7729a8e8 Yes /cygdrive/c/Windows/system32/gdi32.dll\n" 112~"0x76351000 0x7636dc78 Yes /cygdrive/c/Windows/system32/imm32.dll\n" 112~"0x75991000 0x75a57b0c Yes /cygdrive/c/Windows/system32/msctf.dll\n" 112~"0x77241000 0x77248248 Yes /cygdrive/c/Windows/system32/lpk.dll\n" 112~"0x77091000 0x7710c8bc Yes /cygdrive/c/Windows/system32/usp10.dll\n" 112~"0x00271000 0x00284164 Yes /cygdrive/c/Windows/system32/APSHook.dll\n" 112~"0x76371000 0x763c7930 Yes /cygdrive/c/Windows/system32/shlwapi.dll\n" 112~"0x75811000 0x758172f4 Yes /cygdrive/c/Windows/system32/version.dll\n" 112~"0x753e1000 0x7557d844 Yes /cygdrive/c/Windows/WinSxS/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc/comctl32.dll\n" 112^done &"No source file named C:/working/nb_trunk_working/Quote_2/quote.cc.\n" 113^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="",pending="C:/working/nb_trunk_working/Quote_2/quote.cc:67",times="0"} 114^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x0040150a",func="getDiscountFor",file="quote.cc",fullname="/cygdrive/c/working/nb_trunk_working/Quote_3/quote.cc",line="66",times="0"} 115-break-insert -f dlopen 116-exec-continue 115^done,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="0x6100fbb0",at="",times="0"} 116^running 116*stopped,reason="breakpoint-hit",bkptno="4",thread-id="1",frame={addr="0x0040150a",func="getDiscountFor",args=[{name="name",value="{static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x22cc24 \"\\264\\0271\\001\\377\\377\\377\\377\\314\\001\\001a\"}}"}],file="quote.cc",fullname="/cygdrive/c/working/nb_trunk_working/Quote_3/quote.cc",line="66"} 117-stack-list-frames 118-stack-select-frame 0 119-stack-list-arguments 1 120-stack-list-locals --all-values 117^done,stack=[frame={level="0",addr="0x0040150a",func="getDiscountFor",file="quote.cc",fullname="/cygdrive/c/working/nb_trunk_working/Quote_3/quote.cc",line="66"},frame={level="1",addr="0x00401bf6",func="_fu25___ZSt3cin",file="quote.cc",fullname="/cygdrive/c/working/nb_trunk_working/Quote_3/quote.cc",line="123"}] 118^done 119^done,stack-args=[frame={level="0",args=[{name="name",value="{static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x22cc24 \"\\264\\0271\\001\\377\\377\\377\\377\\314\\001\\001a\"}}"}]},frame={level="1",args=[]}] 120^done,locals=[{name="it",value="{_M_node = 0x40713c}"}] 121whatis name 121&"whatis name\n" 121~"type = string\n" 121^done 122ptype name 122&"ptype name\n" 122~"type = \n" 122~" class std::basic_string, std::allocator > {\n" 122~" public:\n" 122~" static const size_t npos;\n" 122~" private:\n" 122~" \n" 122~" std::basic_string, std::allocator >::_Alloc_hider _M_dataplus;\n" 122~"\n" 122~" char * _M_data() const;\n" 122~" char * _M_data(char*);\n" 122~" \n" 122~" class std::basic_string, std::allocator >::_Rep * _M_rep() const;\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > > _M_ibegin() const;\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > > _M_iend() const;\n" 122~" void _M_leak();\n" 122~" size_t _M_check(unsigned int, char const*) const;\n" 122~" void _M_check_length(unsigned int, unsigned int, char const*) const;\n" 122~" size_t _M_limit(unsigned int, unsigned int) const;\n" 122~" bool _M_disjunct(char const*) const;\n" 122~" static void _M_copy(char*, char const*, unsigned int);\n" 122~" static void _M_move(char*, char const*, unsigned int);\n" 122~" static void _M_assign(char*, unsigned int, char);\n" 122~" static \n" 122~" void _S_copy_chars(char*, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator);\n" 122~" static \n" 122~" void _S_copy_chars(char*, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator);\n" 122~" static void _S_copy_chars(char*, char*, char*);\n" 122~" static void _S_copy_chars(char*, char const*, char const*);\n" 122~" static int _S_compare(unsigned int, unsigned int);\n" 122~" void _M_mutate(unsigned int, unsigned int, unsigned int);\n" 122~" void _M_leak_hard();\n" 122~" static \n" 122~" class std::basic_string, std::allocator >::_Rep & _S_empty_rep();\n" 122~" public:\n" 122~" void basic_string(void);\n" 122~" void basic_string(const std::allocator &);\n" 122~" void basic_string(\n" 122~" const std::basic_string, std::allocator > &);\n" 122~" void basic_string(\n" 122~" const std::basic_string, std::allocator > &, unsigned int, unsigned int);\n" 122~" void basic_string(\n" 122~" const std::basic_string, std::allocator > &, unsigned int, unsigned int, const std::allocator &);\n" 122~" void basic_string(const char *, unsigned int, \n" 122~" const std::allocator &);\n" 122~" void basic_string(const char *, const std::allocator &);\n" 122~" void basic_string(unsigned int, char, const std::allocator &);\n" 122~" ~basic_string(int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & operator=(std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & operator=(char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & operator=(char);\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > > begin();\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > > begin() const;\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > > end();\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > > end() const;\n" 122~" \n" 122~" struct std::reverse_iterator<__gnu_cxx::__normal_iterator, std::allocator > > > rbegin();\n" 122~" \n" 122~" struct std::reverse_iterator<__gnu_cxx::__normal_iterator, std::allocator > > >\n" 122~" rbegin() const;\n" 122~" \n" 122~" struct std::reverse_iterator<__gnu_cxx::__normal_iterator, std::allocator > > > rend();\n" 122~" \n" 122~" struct std::reverse_iterator<__gnu_cxx::__normal_iterator, std::allocator > > >\n" 122~" rend() const;\n" 122~" size_t size() const;\n" 122~" size_t length() const;\n" 122~" size_t max_size() const;\n" 122~" void resize(unsigned int, char);\n" 122~" void resize(unsigned int);\n" 122~" size_t capacity() const;\n" 122~" void reserve(unsigned int);\n" 122~" void clear();\n" 122~" bool empty() const;\n" 122~" const char & operator[](unsigned int) const;\n" 122~" char & operator[](unsigned int);\n" 122~" const char & at(unsigned int) const;\n" 122~" char & at(unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & operator+=(std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & operator+=(char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & operator+=(char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & append(std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & append(std::string const&, unsigned int, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & append(char const*, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & append(char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & append(unsigned int, char);\n" 122~" void push_back(char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & assign(std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & assign(std::string const&, unsigned int, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & assign(char const*, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & assign(char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & assign(unsigned int, char);\n" 122~" \n" 122~" void insert(__gnu_cxx::__normal_iterator, unsigned int, char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & insert(unsigned int, std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & insert(unsigned int, std::string const&, unsigned int, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & insert(unsigned int, char const*, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & insert(unsigned int, char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & insert(unsigned int, unsigned int, char);\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > >\n" 122~" insert(__gnu_cxx::__normal_iterator, char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & erase(unsigned int, unsigned int);\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > >\n" 122~" erase(__gnu_cxx::__normal_iterator);\n" 122~" \n" 122~" struct __gnu_cxx::__normal_iterator, std::allocator > >\n" 122~" erase(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(unsigned int, unsigned int, std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(unsigned int, unsigned int, std::string const&, unsigned int, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(unsigned int, unsigned int, char const*, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(unsigned int, unsigned int, char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(unsigned int, unsigned int, unsigned int, char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, std::string const&);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, char const*, unsigned int);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, unsigned int, char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, char*, char*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, char const*, char const*);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator);\n" 122~" \n" 122~" std::basic_string, std::allocator > & replace(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator);\n" 122~" private:\n" 122~" \n" 122~" std::basic_string, std::allocator > & _M_replace_aux(unsigned int, unsigned int, unsigned int, char);\n" 122~" \n" 122~" std::basic_string, std::allocator > & _M_replace_safe(unsigned int, unsigned int, char const*, unsigned int);\n" 122~" static \n" 122~" char * _S_construct(unsigned int, char, std::allocator const&);\n" 122~" public:\n" 122~" size_t copy(char*, unsigned int, unsigned int) const;\n" 122~" void swap(std::string&);\n" 122~" const char * c_str() const;\n" 122~" const char * data() const;\n" 122~" std::allocator get_allocator() const;\n" 122~" size_t find(char const*, unsigned int, unsigned int) const;\n" 122~" size_t find(std::string const&, unsigned int) const;\n" 122~" size_t find(char const*, unsigned int) const;\n" 122~" size_t find(char, unsigned int) const;\n" 122~" size_t rfind(std::string const&, unsigned int) const;\n" 122~" size_t rfind(char const*, unsigned int, unsigned int) const;\n" 122~" size_t rfind(char const*, unsigned int) const;\n" 122~" size_t rfind(char, unsigned int) const;\n" 122~" size_t find_first_of(std::string const&, unsigned int) const;\n" 122~" size_t find_first_of(char const*, unsigned int, unsigned int) const;\n" 122~" size_t find_first_of(char const*, unsigned int) const;\n" 122~" size_t find_first_of(char, unsigned int) const;\n" 122~" size_t find_last_of(std::string const&, unsigned int) const;\n" 122~" size_t find_last_of(char const*, unsigned int, unsigned int) const;\n" 122~" size_t find_last_of(char const*, unsigned int) const;\n" 122~" size_t find_last_of(char, unsigned int) const;\n" 122~" size_t find_first_not_of(std::string const&, unsigned int) const;\n" 122~" size_t find_first_not_of(char const*, unsigned int, unsigned int) const;\n" 122~" size_t find_first_not_of(char const*, unsigned int) const;\n" 122~" size_t find_first_not_of(char, unsigned int) const;\n" 122~" size_t find_last_not_of(std::string const&, unsigned int) const;\n" 122~" size_t find_last_not_of(char const*, unsigned int, unsigned int) const;\n" 122~" size_t find_last_not_of(char const*, unsigned int) const;\n" 122~" size_t find_last_not_of(char, unsigned int) const;\n" 122~" \n" 122~" std::basic_string, std::allocator > substr(unsigned int, unsigned int) const;\n" 122~" int compare(std::string const&) const;\n" 122~" int compare(unsigned int, unsigned int, std::string const&) const;\n" 122~" \n" 122~" int compare(unsigned int, unsigned int, std::string const&, unsigned int, unsigned int) const;\n" 122~" int compare(char const*) const;\n" 122~" int compare(unsigned int, unsigned int, char const*) const;\n" 122~" int compare(unsigned int, unsigned int, char const*, unsigned int) const;\n" 122~"}\n" 122^done 123whatis it 123&"whatis it\n" 123~"type = std::_List_iterator\n" 123^done 124ptype it 124&"ptype it\n" 124~"type = class std::_List_iterator {\n" 124~" public:\n" 124~" std::_List_node_base *_M_node;\n" 124~"\n" 124~" void _List_iterator(void);\n" 124~" void _List_iterator(std::_List_node_base *);\n" 124~" Customer & operator*() const;\n" 124~" Customer * operator->() const;\n" 124~" std::_List_iterator & operator++();\n" 124~" std::_List_iterator operator++(int);\n" 124~" std::_List_iterator & operator--();\n" 124~" std::_List_iterator operator--(int);\n" 124~" bool operator==(std::_List_iterator const&) const;\n" 124~" bool operator!=(std::_List_iterator const&) const;\n" 124~"}\n" 124^done