Bug #18655 2012-07-04 09:51

titanping

get BreakPoint index problem

Dear tpetrov :

I am see your "gdb_commands.h" source code , I know how you setup breakpoint index . I am use arm_linux_gdb connect to gdbserver ,it connect and setup breakpoint time ,the gdbserver maybe send some other infomation ,let your program check index value error , Below is a part of full debug info ,Can you update your program , filter some error echo message ? I donot know is your program run speed too fast can't get the gdbserver echo message ,or have some dummy message let your program can't read the correct breakpoint index number . Hope can help me fix this bug. ThanKs.

[debug]> target remote tcp:192.168.1.97:1000

[debug]warning: Unable to find dynamic linker breakpoint function.

[debug]GDB will be unable to debug shared library initializers

[debug]and track explicitly loaded dynamic code.

[debug]0x400009c0 in ?? ()

[debug]>>>>>>cb_gdb:

Connected

[debug]> break "/usr/src/HiSilicon/Hi3515_SDK_V1.0.5.0.c1/DVRWork/PushNotification/apns.c:896"

In ?? () ()

[debug]> break "/usr/src/HiSilicon/Hi3515_SDK_V1.0.5.0.c1/DVRWork/PushNotification/apns.c:896"

[debug]Cannot access memory at address 0x0

[debug]Breakpoint 1 at 0xb8f0: file apns.c, line 896.

[debug]>>>>>>cb_gdb:Breakpoint 2 at 0xb8f0: file apns.c, line 896.

[debug]> break "/usr/src/HiSilicon/Hi3515_SDK_V1.0.5.0.c1/DVRWork/PushNotification/apns.c:897"

[debug]>>>>>>cb_gdb:

[debug]> break "/usr/src/HiSilicon/Hi3515_SDK_V1.0.5.0.c1/DVRWork/PushNotification/apns.c:898"

[debug]Breakpoint 3 at 0xb8fc: file apns.c, line 897.

[debug]>>>>>>cb_gdb:Breakpoint 4 at 0xb908: file apns.c, line 898.

Category
Debugger
Group
Platform:Linux
Status
Open
Close date
 
Assigned to
tpetrov
tpetrov 2012-10-01 10:57

I don't understand what is your problem. Please try to explain better.