two questions about GDB coding standards

Wu Zhou woodzltc@cn.ibm.com
Thu May 19 08:08:00 GMT 2005


Quoting Mark Kettenis <mark.kettenis@xs4all.nl>:

>    I'd like to contribute.  But running splint against GDB source tree, I
>    find over 230 usages of sprintf.  If the conversion depends completely
>    on hand work, the workload might be quite big.  Is there any method to
>    achieve this more quickly?  to say, a script to handle it automatically,
>    or any others?  
> 
> I'm afraid not; but hey you don't have to do all of them ;-).  Start
> with the ones in code that you're a bit familliar with, and see where
> you end up.  Even if you only convert 10% it is very useful.

OK.  I'd like to begin with what you suggested in the near future.  

Cheers
- Wu Zhou



More information about the Gdb-patches mailing list