Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] DSF: weird disassebly view

The initial problem seems to be that the file name is not correctly
quoted/escaped.
On the other hand the disassembly can probably do better in handling
this situation.

Please file a bug.

Toni

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Dmitry Smirnov
> Sent: Wednesday, March 11, 2009 7:36 AM
> To: CDT General developers list.
> Subject: [cdt-dev] DSF: weird disassebly view
> 
> Hi,
> 
> While using DSF in the latest I200903060602, I had encountered some
> weird behaviour fof the disassembly view.
> 
> When stopped on breakpoint, first it shows an GDB error message
> (directly in the view).
> After some time, some disassembled code appears but this error message
> do not disappear.
> The result you can see in the attached picture.
> Note that the ARM code (in this case it is the THUMB) cannot start
> from odd address. It always use 2 bytes, so the code from 0xC1D1F3
> 
> The same happens if I refresh the view.
> 
> Here is the log from the gdb traces console.
> I had truncated it since it is very long. I can send full 
> version if needed.
> 
> 902,695 111-data-disassemble -f dir1\\\\services\\\\tmc\\\\tmc.c -l
> 11541 -n 64 -- 1
> 909,648 110^error,msg="mi_cmd_var_create: unable to create 
> variable object"
> 909,648 (gdb)
> 909,695 111^error,msg="mi_cmd_disassemble: Invalid filename."
> 909,695 (gdb)
> 909,695 112-data-disassemble -s 12702195 -e 12702323 -- 1
> 912,539 
> 112^done,asm_insns=[src_and_asm_line={line="3320",file="dir1\\
services\\tmc\\tmc.c",line_asm_insn=[{address="0x00c1d25c",func->
name="tmc_init",offset="108",inst="movs\tr0,
> #5"},...
> 912,695 (gdb)
> 916,773 113-data-disassemble -s 12702195 -e 12702323 -- 0
> 916,820 
> 113^done,asm_insns=[{address="0x00c1d1f3",func-name="tmc_init"
,offset="3",inst="ldr\tr2,
> [pc, #284]\t(0xc1d310 <tmc_cmd+148>)"},...
> 916,820 (gdb)
> 916,867 114-data-disassemble -s 12702044 -e 12702194 -- 1
> 917,195 
> 114^done,asm_insns=[src_and_asm_line={line="11131",file="dir1\
\services\\tmc>
\\tmc.c",line_asm_insn=[{address="0x00c1d160",func-name="tmc_s
tart_application_tasks",offset="1390",inst="movs\tr0,
> #1"},...
> 917,195 (gdb)
> 917,257 115-data-disassemble -s 12702044 -e 12702194 -- 0
> 917,663 
> 115^done,asm_insns=[{address="0x00c1d15c",func-name="tmc_start
_application_tasks",offset="1386",inst="bl\t0xeede22
> <rex_set_sigs>"},...
> 917,663 (gdb)
> 
> Dmitry
> 


Back to the top