[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Couple issues with DSF

2009/2/25 Dmitry Smirnov <divis1969@xxxxxxxxx>:
> I've encountered another problem. I cannot see DSF disassembly. It

I would like to report one more problem with DSF: a very long time to
initialize debugger.
It takes about 30 minutes to set about 20 breakpoint on debugger start up.
Hardware debugging that I was using before did not have such problem.
Perhaps this is somehow connected to paths (cygwin, windows).

BTW, I would like to note here that there is a problem that I'm seeing
for a long time (at least in 5.0.1): some breakpoints
(file:linenumber) are duplicated in the list of breakpoint shown by
CDT. I cannot capture a moment when new sibling appears. Initially I
had set just one breakpoint and after some time (debug sessions) there
are few identical BPs. 6.0 also seems to suffer from this problem.
Perhaps I have to report it as a bug?

Let's get back to a long time startup. Here is the log of mi session.
I had replaced some propriatary info (paths DIR1, DIR2) but this
should not cause any misunderstanding I hope.

052,101 1source .gdbinit
052,116 &"source .gdbinit\n"
052,116 &".gdbinit: No such file or directory.\n"
052,116 1^error,msg=".gdbinit: No such file or directory."
052,132 (gdb)
052,132 2-file-exec-and-symbols C:/p4/views/DIR1/m2000/m2000.elf
052,179 &"warning: unknown ARM EABI version 0x2000000\n"
052,210 &"warning: unknown ARM EABI version 0x2000000\n"
052,257 &"warning: Loadable segment \"INTERNAL_BOOT_RAM_1\" outside of
ELF segments\n"
052,257 &"warning: Loadable segment \"INTERNAL_BOOT_RAM_2\" outside of
ELF segments\n"
052,257 &"warning: Loadable segment \"FILL_PAD_4\" outside of ELF segments\n"
070,350 2^done
070,350 (gdb)
070,382 3-environment-cd D:/Dvs/Project/EclipseWorkspaces/3.5/M2000_ZQ/M2000_ZQ
070,382 3^done
070,382 (gdb)
070,382 4-gdb-set auto-solib-add off
070,413 4^done
070,413 (gdb)
070,413 5-environment-directory C:/p4/views/DIR1
070,413 5^done,source-path="C:/p4/views/DIR1:$cdir:$cwd"
070,413 (gdb)
070,413 6-target-select remote localhost:12345
070,975 =thread-created,id="1"
071,257 *stopped,thread-id="1",frame={addr="0x01969a2c",func="keypad_init",args=[],file="cpsw\\target\\m2000\\keypad_target.c",line="1437"}
071,257 6^connected
071,257 (gdb)
071,366 7-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
071,569 8-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
071,616 9-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1403
071,616 10-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
071,616 11-break-insert keypad_target.c:1391
071,616 12-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
071,616 13-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
202,254 7^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
202,254 14-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
202,254 (gdb)
331,892 8^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
331,892 (gdb)
331,892 15-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
460,608 9^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
460,608 (gdb)
460,608 16-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
588,637 10^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
588,637 (gdb)
588,637 17-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
588,637 11^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x019699f0",func="keypad_init",file="cpsw\\target\\m2000\\keypad_target.c",line
="1391",times="0",original-location="keypad_target.c:1391"}
588,653 (gdb)
588,653 18-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
716,916 12^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
716,916 (gdb)
716,932 19-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
845,648 13^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
845,648 (gdb)
845,648 20-break-insert keypad_target.c:1404
845,648 21-break-insert tmc.c:9983
973,208 14^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
973,208 (gdb)
973,208 22-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
103,034 15^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
103,034 (gdb)
103,034 23-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
232,390 16^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
232,390 (gdb)
232,390 24-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
361,029 17^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
361,029 (gdb)
361,029 25-break-insert C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c:1404
489,292 18^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
489,292 (gdb)
489,292 26-break-insert C:/p4/views/DIR1/DIR2/services/tmc/tmc.c:9983
489,307 27-thread-list-ids
616,492 19^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
616,492 (gdb)
616,508 20^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x01969a00",func="keypad_init",file="cpsw\\target\\m2000\\keypad_target.c",line
="1404",times="0",original-location="keypad_target.c:1404"}
616,524 (gdb)
616,571 21^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00c1c92e",func="tmc_start_service_tasks",file="DIR2\\services\\tmc\\tmc.c",lin
e="9983",times="0",original-location="tmc.c:9983"}
616,571 (gdb)
745,568 22^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
745,568 (gdb)
874,066 23^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
874,066 (gdb)
002,516 24^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
002,516 (gdb)
131,389 25^error,msg="No source file named
C:/p4/views/DIR1/cpsw/target/m2000/keypad_target.c."
131,389 (gdb)
260,386 26^error,msg="No source file named
C:/p4/views/DIR1/DIR2/services/tmc/tmc.c."
260,402 (gdb)
260,402 28-break-insert -t tmc_init
260,449 &"warning: RMT ERROR : failed to get remote thread list.\n"
260,449 27^done,thread-ids={thread-id="1"},number-of-threads="1"
260,449 (gdb)
260,480 28^done,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x00c1d1f2",func="tmc_init",file="DIR2\\services\\tmc\\tmc.c",line="11541",times=
"0",original-location="tmc_init"}
260,480 (gdb)
260,480 29-thread-select 1
260,480 30-stack-info-depth 11
260,480 31-exec-continue
260,480 29^done,new-thread-id="1",frame={level="0",addr="0x01969a2c",func="keypad_init",args=[],file="cpsw\\target\\m2000\\keypad_target.c",line="1437"}
260,480 (gdb)
260,543 30^done,depth="6"
260,543 (gdb)
260,558 31^running
260,558 *running,thread-id="all"
260,558 (gdb)