The following diff fixes this (for me):

mbp:~/developer/assembler/arm/openocd-0.2.0/src/target colin$ diff  
arm_disassembler_old.c arm_disassembler.c

1318,1319c1318,1319
<       LOG_ERROR("should never reach this point");
<       return -1;
---
 >      snprintf(instruction->text, 128, "0x%8.8" PRIx32 "\t0x%8.8" PRIx32  
"\tDATA", address, opcode);
 >      return 0;


I can't submit anything to git, since I've never heard of git before  
(except in the phrase "You git!") and it doesn't sound any better than  
svn, from what I've read here so far :-) so I'm not in a hurry to  
learn it.

Actually, I'm not a fan of svn either. I use rcs :-)



On 22 Oct, 2009, at 17:38, Colin Howarth wrote:

> When trying to disassemble the STR912 Comstick (not the stick itself,
> just its flash)
> with the command
>
> armv4_5 disassemble 0 2048
>
> I get a
>
> "should never reach this point"      called at file "command.c", line
> 469
>
> error.
>
>
>
> This is due to the last LOG_ERROR call in the
>
> int arm_evaluate_opcode(uint32_t opcode, uint32_t address,
> arm_instruction_t *instruction)
>
> procedure of the file:
>
> .../openocd-0.2.0/src/target/arm_disassembler.c
>
>
>
> Is this intended/expected behaviour?  What about embedded data???

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to