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 debug DM368IPNC

Hi ALL,

            I am trying to debug the av_server app in IPNC with DM368,when i set a breakpoint in the child threads(capturethread,displaythread...,other than main thread),i will get the following error,whereas the breakpoints in main thread works well.

Child terminated with signal = 0x5(SIGTRAP)


Does anyone have an idea about this?I compiled IPNC in debug mode(In Rules.make,set CONFIG :=debug)

  • OK,got to know the GDB in host need the libs(libthread.,etc),just use the  following command:

    (GDB) set solib-search-path /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/lib

    this suppose your cross-compile toolchain is in /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le

    I am using Montavista's 5 cross-compile toolchains,with that seems we can only get GDB 6.6 worked with it