This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Attempt at ATTRIBUTE_UNUSED patch


The enclosed scripts use the warnings from the gdb build with gcc and the
standard format of gdb source to add appropriate ATTRIBUTE_UNUSED 
decorations. (Workaround for lack of Copyright assignment)

In gdb/gdb 

sed -nf unus.sed $TARGET_DIR/build.log | awk -f unus.awk > unus.sh
sh -v unus.sh

This will leave modified file copies (and the sed scripts that
were used) in gdb/gdb/unus

(tar contains unus.sed, unus.awk)
begin 664 unus.tar.bz2
M0EIH.3%!629369\^Q;H``7/_@L0P`"!W__^_-Z&>3_^O7LY````(0`&\!(#4
MTDVA&@``````T`T]0VID`.:9&0R8(:,)@C31HQ`TR9&``(<TR,ADP0T83!&F
MC1B!IDR,``02*%-,$9%/)B93U#Q(T!ZAM1H:!DT::>*=)\_OQRCD3P<P)4BN
M:(HB-I-#)&+EZ2-YK@9M\'S#(/%'3)RPQ_=Q7RT+2U`?P8*\K[4QKV0![+W;
MB]&)R.P^PS9]5(J/+:@J[C^WN>*Q7[$'"OG(PM)MI@,-AI\5<;]LN]$5)^EJ
M&EAZU07<!(KU]>!'##-('.98Y6H*B4?`B:.J:#0X-D4;URHLIIB4L<AGDXPD
MMM!JUA$U%2YGT%A3,Z'VD"ZPE3MFW5U0IDYAOG;K")$B3P*J'"X1J*0W'^Q&
MB4!=4WR^,'G@$]+O5Y-6'8"GC,J4?PV<R%@2GXT7@&]0Q:12(7',<"Z>9!#G
M;1F7:03%<^0F!`0(25S(WOR%CZP&A4G,D'.(Z_O;J3#E@W[6+=4&[5W9DK.-
M<YQ&21LS8P&\=62$I2OHIQUW>M"XS^-*PH:.1"Z+DX7IS'=P1N&\SHCP"I-,
MJ&NQQ6@+Q%>:%VW,6<B(-/(IO9GXJ(3"/40IH@;<'55WW)&;)`:/^+N2*<*$
%A/GV+=``
`
end

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]