Hi folks,

I've submitted a new patch set for http://openocd.zylin.com/#/c/4348/

I've addressed the line pointed out by Andreas (thinaks!) and have fixed
it: the original code missed PLDW instructions, and my initial patch had
the mask wrong as well.

I've tested the latest with the literal, register, and immediate forms of
PLD and PLDW. The test code uses inline assembly / gcc / objdump to
generate the assembly instructions to test (surely there is a better
way...). The code is available here:
https://github.com/jcmarsh/Research_Notes/tree/master/openocd_misc/openocd_pld_disassemble

Thanks,
James

On Wed, Jun 6, 2018 at 11:28 AM, James Marshall <jcma...@gwmail.gwu.edu>
wrote:

> Hi Folks,
>
> Any chance that this patch could get pulled? http://openocd.zylin.
> com/#/c/4348/
>
> I took a look into using GDB for disassembly, but ran into issues with it:
> GDB is doing something in the background that is impacting the L2 cache
> controller counters. This makes OpenOCD the best solution I've found so far
> for disassembly.
>
> Thanks,
> James
>
> On Wed, Apr 11, 2018 at 10:16 AM, James Marshall <jcma...@gwmail.gwu.edu>
> wrote:
>
>> Hi Folks,
>>
>> This was a pretty small patch adding PLD support to the arm disasembler (
>> http://openocd.zylin.com/#/c/4348/), and it would be nice to either:
>> a) Get it pulled into the main repo so people using the dissasembler
>> don't get a "TODO" message
>> -or-
>> b) Have the disassembly feature cut so people know to seek out different
>> solutions for disassembly
>>
>> Thanks,
>> James
>>
>>
>>
>>
>>
>> On Tue, Jan 16, 2018 at 8:47 PM, James Marshall <jcma...@gwmail.gwu.edu>
>> wrote:
>>
>>> We looked at GDB, but didn't end up having a need for it... because we
>>> were already using OpenOCD which has an integrated disassembler. :)
>>>
>>>
>>>
>>> On Tue, Jan 16, 2018 at 8:20 AM, Marc Schink <openocd-...@marcschink.de>
>>> wrote:
>>>
>>>> So it's a pretty odd use-case, and maybe not worth maintaining (I would
>>>>> obviously vote for keeping it... if I have a vote that is). And maybe 
>>>>> there
>>>>> is a smarter / better way to do it. We did investigate using the RPC
>>>>> interface and decided against it (I don't recall the specifics). And maybe
>>>>> there is a way to use Capstone...
>>>>>
>>>>
>>>> What about GDB - have you tried it? It has an integrated disassembler.
>>>>
>>>> Marc
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> OpenOCD-devel mailing list
>>>> OpenOCD-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to