This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12/03/15 20:02, Shahbaz Youssefi wrote:
Do you have optimization enabled when you compile your code?
No. I always compile with CFLAGS="-g -O0"
On Wed, Mar 11, 2015 at 3:24 PM, Russell Shaw <rjshaw@netspace.net.au <mailto:rjshaw@netspace.net.au>> wrote: Hi, When i set a breakpoint at "main", it appears half way between the first and second line: int main(int argc, char *argv[]) { int ret = EXIT_SUCCESS; <-- red dot ... Is there any fix for that? I tried recompiling, so the source is not out of sync with the binary.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |