Re: [Openocd-development] [PATCH] Cortex_A context hybrid breakpoints

2011-08-29 Thread Øyvind Harboe
Nobody has given feedback so far and I have only glossed over it and I can't go into great detail at this point. Can you say something about what the regression risks are? Any objections out there? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 /

Re: [Openocd-development] [PATCH] Cortex_A context hybrid breakpoints

2011-08-29 Thread Heythem BOUHAJA
Hi I'm not surprised that nobody has given feedback, because it's difficult to know the ASID value of a process, which is needed to set these breakpoints. However if someone is interested I can provide a GDB script that extract this value form the linux kernel(task_struct). Anyway I haven't

Re: [Openocd-development] [PATCH] Cortex_A context hybrid breakpoints

2011-08-29 Thread Øyvind Harboe
I'm inclined to commit this if I hear nothing. Any objections out there? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/ ___ Openocd-development mailing

[Openocd-development] openocd openrd board failing checksums

2011-08-29 Thread rektide
Running openrd_load_uboot from a freshly made uboot v2011.06 tagged release directory gives: sudo openocd -f /opt/openocd/share/openocd/scripts/board/openrd.cfg Open On-Chip Debugger 0.6.0-dev-00048-ge175f02 (2011-08-29-04:39) Licensed under GNU GPL v2 For bug reports, read

Re: [Openocd-development] Coding style

2011-08-29 Thread Øyvind Harboe
On Mon, Aug 29, 2011 at 1:07 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Hi,        personnally I'd like we use the same coding style as the kernel        in the kernel anre barebox we use checkpatch to check the patch coding        style I don't mind picking the

Re: [Openocd-development] Halt times out on a LPC3131 board during reset

2011-08-29 Thread Simon Clubley
On 29 August 2011 02:00, Andrew Leech coronasen...@gmail.com wrote: Hi Simon, Hello, Actually, your problem may be directly  caused by the delay settings in the file: jtag_nsrst_delay 1000 jtag_ntrst_delay 0 try setting both to 500, and bigger/smaller settings. The delay required will

Re: [Openocd-development] Coding style

2011-08-29 Thread Antonio Borneo
On Mon, Aug 29, 2011 at 7:35 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Mon, Aug 29, 2011 at 1:07 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Hi,        personnally I'd like we use the same coding style as the kernel        in the kernel anre barebox we use

Re: [Openocd-development] Coding style

2011-08-29 Thread Jie Zhang
On Mon, Aug 29, 2011 at 7:35 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: I don't mind picking the kernel style, if nothing else because we then can get scripts to check for the style. It seems people like Linux kernel coding style. It's widely used and well documented. So I think it will

Re: [Openocd-development] Coding style

2011-08-29 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, personnally I'd like we use the same coding style as the kernel in the kernel anre barebox we use checkpatch to check the patch coding style Best Regards, J. On 19:40 Sat 27 Aug , Øyvind Harboe wrote: As a maintainer I'm interested in this subject from the point

Re: [Openocd-development] Coding style

2011-08-29 Thread Eric Wetzel
On Mon, Aug 29, 2011 at 9:11 AM, Jie Zhang jzhang...@gmail.com wrote: On Mon, Aug 29, 2011 at 7:35 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: I don't mind picking the kernel style, if nothing else because we then can get scripts to check for the style. It seems people like Linux

Re: [Openocd-development] Coding style

2011-08-29 Thread Michel Catudal
Le 29/08/2011 12:28, Eric Wetzel a écrit : For the record, here are the relevant standards: GNU: http://www.gnu.org/prep/standards/standards.html#Writing-C Kernighan Ritchie: http://en.wikipedia.org/wiki/Indent_style#K.26R_style (sorry, didn't try very hard on this one) Linux:

Re: [Openocd-development] Coding style

2011-08-29 Thread mike
I strongly disagree on using anything that resembles KR. Where I work you could get reprimanded and maybe even fired if you did use it. So are you saying that if (x == y) { x++; } else { x--; } is a serious offence where you work? If it is, I'd love to know the logic behind the

Re: [Openocd-development] Coding style

2011-08-29 Thread Tomek CEDRO
2011/8/29 Michel Catudal michelcatu...@gmail.com: Since we have bigger monitor than in the 70s and 80s why make the code unreadable? The only valid reason for using KR would be 1- You still expect to be stuck with a teletype at times and want to make sure you can see many lines of code at

Re: [Openocd-development] Coding style

2011-08-29 Thread Michel Catudal
Le 29/08/2011 20:03, mike a écrit : I strongly disagree on using anything that resembles KR. Where I work you could get reprimanded and maybe even fired if you did use it. So are you saying that if (x == y) { x++; } else { x--; } is a serious offence where you work? If it is,

Re: [Openocd-development] Coding style

2011-08-29 Thread Øyvind Harboe
unsigned long ulApp_eOdometer_E2p; or U32 ulApp_eOdometer_E2p; Now there are identifiers from hell. - Since the invention of IDE's that can present type information, we don't need to encode type info into the name. - After the invention of namespaces, the world stopped embedding scoping into