Re: [OpenOCD-devel] Reuse of commands

2014-10-22 Thread Kent Brinkley
Andreas Fritiofson Sent: Wednesday, October 22, 2014 12:29 PM To: Kent Brinkley Cc: [email protected] Subject: Re: [OpenOCD-devel] Reuse of commands On Wed, Oct 22, 2014 at 7:47 PM, Kent Brinkley mailto:[email protected]>> wrote: Hi Guys, I would like to remove red

Re: [OpenOCD-devel] Reuse of commands

2014-10-22 Thread Andreas Fritiofson
On Wed, Oct 22, 2014 at 7:47 PM, Kent Brinkley wrote: > Hi Guys, > > > > I would like to remove redundant commands from openocd, for example both > mips32 and m4k targets have “cp0” command (exactly the same code) . There > is no reason to have duplicate commands but I would like not to break >

[OpenOCD-devel] Reuse of commands

2014-10-22 Thread Kent Brinkley
Hi Guys, I would like to remove redundant commands from openocd, for example both mips32 and m4k targets have "cp0" command (exactly the same code) . There is no reason to have duplicate commands but I would like not to break backward compatibility. Is there a way to reference the COMMAND_HANDL