This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb ignore iteratotr++ operation
- From: "fedor_qd via gdb" <gdb at sourceware dot org>
- To: gdb at sourceware dot org
- Date: Sun, 02 Apr 2017 23:31:27 +0300
- Subject: Re: gdb ignore iteratotr++ operation
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp51.i.mail.ru; auth=pass smtp.auth=fedor_qd at mail dot ru smtp.mailfrom=fedor_qd at mail dot ru
- Reply-to: fedor_qd <fedor_qd at mail dot ru>
Sorry for doublepost, first mail sended to gdb@gcc.gnu.org.
I solved my problem, not bug... I send to my app command contained app name and ups... Sorry.
Always yours, Strizhniou Fiodar
Всегда ваш, Стрижнёв Фёдор
Пользователь fedor_qd via gdb <gdb@sourceware.org> писал:
>I start my app in codeblock with cmdline arguments with gdb. App terminares before reached breakpoint. I run in stepping mode. That code:
>ParamList::iterator p = iParamList.begin()+1;
>gdb see as:
>ParamList::iterator p = iParamList.begin();
>After that I download build and install gdb 7.12.1. Nothing changes. Also I run gdb directly: gdb myapp -options and got same result. I run app with that params and it crashes after that statement. To track path to crash I print to console messages like cout << "here".
>My build enviroment : msys with mingw(not mingw-32/64) 5.3.0
>How to deal with that?
>Source here - https://github.com/fedor4ever/elf2e32
>
>Always yours, Strizhniou Fiodar
>Всегда ваш, Стрижнёв Фёдор