efficiently debugging using gdb - TechRepublic
General discussion
April 26, 2001 at 09:16 PM
k_abraham

efficiently debugging using gdb

by k_abraham . Updated 25 years, 2 months ago

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..??

This discussion is locked

All Comments