This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GDB segmentation fault DM8148

Hi.
I have cross-compiled gdb 7.6.1 for DM8148 sucessfully, with the following procedure:

./configure --prefix=<prefix> --host=arm-none-linux-gnueabi CC=<path-to-toolchain>/arm-none-linux-gnueabi-gcc --disable-werror

then 

export LDFLAGS="-static -L<termcap_lib_path>/lib"
export CFLAGS="-g -O2 -I<termcap_lib_path>/include"

then make and make install. I am successfully running it on the target. But every time i load an executable and set a break/watch point, the issue 'run', i get a segmentation fault. What is the problem and how can i debug it?



Kind regards