Discussion Locked

efficiently debugging using gdb

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i am in a Layer2 process that has 20,000
lines of code.It is concerning packet data transfer between mobiles.
My program core-dumps...in the malloc() fn.
I am shooting in the dark....i am presuming that i allocated some memory,but writingmore that the allocated size.
how do i pinpoint the error by seeing the
assembly code pointed by the address in gdb
where the malloc fails..??

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.