2024-03-23 18:43 ftp://ftp.de.debian.org/debian/pool/main/g/gdb/gdb_13.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 8dc5e0c (2024-03-23 09:56:02 +0100) count: 18871 16996 elapsed-time: 247.1 244.8 head-timing-info: Condition::runChecks: 74.0354s (avg. 74.0354s - 1 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 71.0948s (avg. 71.0948s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 64.4336s (avg. 21.4779s - 3 result(s)) Other::runChecks: 11.1749s (avg. 11.1749s - 1 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 4.32409s (avg. 1.44136s - 3 result(s)) Overall time: 156.706s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 9.89078s (avg. 9.89078s - 1 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 8.01962s (avg. 2.0049s - 4 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.60083s (avg. 0.53361s - 3 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.158695s (avg. 0.0528983s - 3 result(s)) valueFlowUninit(tokenlist, settings): 0.065264s (avg. 0.0217547s - 3 result(s)) Overall time: 9.91663s head results: gdb-13.2/bfd/aix5ppc-core.c:345:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/aix5ppc-core.c:351:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/aix386-core.c:147:16: style: Local variable 'flags' shadows outer variable [shadowVariable] gdb-13.2/bfd/aix386-core.c:81:12: note: Shadowed declaration gdb-13.2/bfd/aix386-core.c:147:16: note: Shadow variable gdb-13.2/bfd/aout-ns32k.c:145:1: error: There is an unknown macro here somewhere. Configuration is required. If CONCAT2 is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/aoutx.h:274:1: error: There is an unknown macro here somewhere. Configuration is required. If CONCAT3 is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/archures.c:1460:28: style:inconclusive: Function 'bfd_arch_default_fill' argument 2 names different: declaration 'is_bigendian' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:3573:10: note: Function 'bfd_arch_default_fill' argument 2 names different: declaration 'is_bigendian' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/archures.c:1460:28: note: Function 'bfd_arch_default_fill' argument 2 names different: declaration 'is_bigendian' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/archures.c:1461:20: style:inconclusive: Function 'bfd_arch_default_fill' argument 3 names different: declaration 'code' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:3574:10: note: Function 'bfd_arch_default_fill' argument 3 names different: declaration 'code' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/archures.c:1461:20: note: Function 'bfd_arch_default_fill' argument 3 names different: declaration 'code' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/archures.c:1327:25: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive64.c:213:16: style: Redundant initialization for 'current'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/archive64.c:170:16: note: current is initialized gdb-13.2/bfd/archive64.c:213:16: note: current is overwritten gdb-13.2/bfd/binary.c:47:28: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'binary_mkobject' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/binary.c:354:5: note: You might need to cast the function pointer here gdb-13.2/bfd/binary.c:47:28: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/binary.c:100:19: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/binary.c:114:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/binary.c:122:31: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/binary.c:299:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/binary.c:300:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/bfdio.c:526:25: style: Variable 'adata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/bfdio.c:590:25: style: Variable 'bim' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/bfdio.c:637:20: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'memory_btell' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/bfdio.c:737:35: note: You might need to cast the function pointer here gdb-13.2/bfd/bfdio.c:637:20: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/bfdio.c:709:26: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'memory_bflush' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/bfdio.c:738:20: note: You might need to cast the function pointer here gdb-13.2/bfd/bfdio.c:709:26: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/bfdio.c:717:25: style: Variable 'bim' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/bfdio.c:726:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/bfdio.c:730:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/cache.c:110:28: style: The comparison 'max < 10' is always false. [knownConditionTrueFalse] gdb-13.2/bfd/cache.c:106:8: note: 'max' is assigned value '10' here. gdb-13.2/bfd/cache.c:110:28: note: The comparison 'max < 10' is always false. gdb-13.2/bfd/cache.c:110:38: style: Same value in both branches of ternary operator. [duplicateValueTernary] gdb-13.2/bfd/cisco-core.c:305:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/cisco-core.c:311:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/cisco-core.c:67:8: style: struct member 'crashinfo_external::textbase' is never used. [unusedStructMember] gdb-13.2/bfd/cisco-core.c:68:8: style: struct member 'crashinfo_external::database' is never used. [unusedStructMember] gdb-13.2/bfd/cisco-core.c:69:8: style: struct member 'crashinfo_external::bssbase' is never used. [unusedStructMember] gdb-13.2/bfd/coff-aarch64.c:212:0: error: #error "target symbol name not specified" [preprocessorErrorDirective] gdb-13.2/bfd/bfd.c:821:7: error: Memory leak: buf [memleak] gdb-13.2/bfd/bfd.c:933:10: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/bfd.c:1101:30: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:97:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:236:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:97:22: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:98:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:236:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:98:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:99:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:236:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:99:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:100:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:236:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:100:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:101:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:236:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:101:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:102:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:236:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:102:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:469:32: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:776:14: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:1150:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-alpha.c:1202:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-alpha.c:1352:26: style: Variable 'ext_rel_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:1982:28: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'alpha_adjust_headers' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2386:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:1982:28: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2020:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:2056:18: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:2200:22: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-alpha.c:2238:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_aux_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2305:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2238:41: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2239:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_aux_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2305:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2239:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2244:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_aux_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2305:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2244:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2249:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_sym_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2305:35: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2249:41: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2250:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_sym_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2305:35: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2250:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2251:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_sym_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2305:35: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2251:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2256:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_lineno_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2306:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2256:44: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2257:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_lineno_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2306:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2257:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2258:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_lineno_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2306:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2258:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2263:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_aux_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2306:38: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2263:42: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2264:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_aux_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2306:38: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2264:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2269:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_aux_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2306:38: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2269:22: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2275:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_sym_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2307:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2275:42: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2276:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_sym_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2307:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2276:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2277:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_sym_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2307:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2277:22: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2283:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_lineno_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2307:36: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2283:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2284:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_lineno_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2307:36: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2284:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2285:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_lineno_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2307:36: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2285:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2291:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2308:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2291:44: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2292:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2308:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2292:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-alpha.c:2293:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'alpha_ecoff_swap_coff_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-alpha.c:2308:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-alpha.c:2293:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-bfd.c:65:21: style: Variable 'csym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:766:21: style: Condition 'sec_flags&SEC_NEVER_LOAD' is always false [knownConditionTrueFalse] gdb-13.2/bfd/coffcode.h:745:24: note: Assignment 'sec_flags=0', assigned value is 0 gdb-13.2/bfd/coffcode.h:766:21: note: Condition 'sec_flags&SEC_NEVER_LOAD' is always false gdb-13.2/bfd/coffcode.h:773:21: style: Condition 'sec_flags&SEC_NEVER_LOAD' is always false [knownConditionTrueFalse] gdb-13.2/bfd/coffcode.h:745:24: note: Assignment 'sec_flags=0', assigned value is 0 gdb-13.2/bfd/coffcode.h:773:21: note: Condition 'sec_flags&SEC_NEVER_LOAD' is always false gdb-13.2/bfd/coffcode.h:781:21: style: Condition 'sec_flags&SEC_NEVER_LOAD' is always false [knownConditionTrueFalse] gdb-13.2/bfd/coffcode.h:745:24: note: Assignment 'sec_flags=0', assigned value is 0 gdb-13.2/bfd/coffcode.h:781:21: note: Condition 'sec_flags&SEC_NEVER_LOAD' is always false gdb-13.2/bfd/archive.c:442:13: style: Condition 'errno!=0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/archive.c:439:11: note: Assignment 'errno=0', assigned value is 0 gdb-13.2/bfd/archive.c:442:13: note: Condition 'errno!=0' is always false gdb-13.2/bfd/archive.c:2750:11: style: Redundant initialization for 'current'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/archive.c:2677:16: note: current is initialized gdb-13.2/bfd/archive.c:2750:11: note: current is overwritten gdb-13.2/bfd/coff-i386.c:70:9: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'coff_i386_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-i386.c:355:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:70:9: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:525:16: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'coff_i386_rtype_to_howto' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:525:16: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:526:29: style: Parameter 'rel' can be declared as pointer to const. However it seems that 'coff_i386_rtype_to_howto' is a callback function, if 'rel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:526:29: note: Parameter 'rel' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:528:30: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'coff_i386_rtype_to_howto' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:528:30: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:639:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-i386.c:671:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coffcode.h:743:27: style: Variable 'internal_s' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2041:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_set_alignment_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5476:42: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2041:36: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2042:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_set_alignment_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5476:42: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2042:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2043:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_set_alignment_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5476:42: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2043:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2084:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2168:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2430:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5477:28: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2430:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2431:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5477:28: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2431:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2486:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_print_aux' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5478:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2486:27: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2487:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_print_aux' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5478:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2487:14: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:3446:13: style: Variable 'bss_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:4971:33: style: Parameter 'syment' can be declared as pointer to const. However it seems that 'coff_classify_symbol' is a callback function, if 'syment' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5479:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:4971:33: note: Parameter 'syment' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5388:35: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5482:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5388:35: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5389:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5482:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5389:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5398:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5482:31: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5398:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5399:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5482:31: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5399:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/archive.c:336:20: style: Variable 'arc1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:337:20: style: Variable 'arc2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:575:13: style: Variable 'e' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:1383:17: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:1544:57: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:1546:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:1872:34: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:1882:29: style: Variable 'bim' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:1959:18: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:2111:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:2113:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:2453:8: style: Variable 'last_elt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:2544:26: style: Variable 'ared' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/archive.c:2805:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/archive.c:2807:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coffcode.h:3461:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/coffcode.h:5269:19: style: Variable 'tblptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coffcode.h:5203:7: style: Variable 'coffsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-mips.c:241:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-mips.c:380:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_adjust_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1393:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:380:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:382:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_adjust_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1393:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:382:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:400:16: style: Parameter 'symbol' can be declared as pointer to const. However it seems that 'mips_generic_reloc' is a callback function, if 'symbol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:225:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:400:16: note: Parameter 'symbol' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:402:17: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'mips_generic_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:225:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:402:17: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:403:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'mips_generic_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:225:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:403:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:443:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'mips_refhi_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:156:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:443:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:696:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mips.c:736:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mips.c:757:42: style: Parameter 'refhi' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mips.c:758:28: style: Parameter 'reflo' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mips.c:760:15: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mips.c:1249:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_aux_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1316:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1249:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1250:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_aux_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1316:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1250:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1255:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_aux_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1316:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1255:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1260:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_sym_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1316:34: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1260:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1261:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_sym_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1316:34: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1261:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1262:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_sym_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1316:34: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1262:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1267:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_lineno_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1317:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1267:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1268:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_lineno_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1317:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1268:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1269:15: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_lineno_in' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1317:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1269:15: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1274:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_aux_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1317:37: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1274:41: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1275:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_aux_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1317:37: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1275:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1280:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_aux_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1317:37: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1280:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1286:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_sym_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1318:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1286:41: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1287:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_sym_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1318:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1287:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1288:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_sym_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1318:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1288:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1294:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_lineno_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1318:35: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1294:44: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1295:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_lineno_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1318:35: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1295:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1296:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_lineno_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1318:35: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1296:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1302:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1319:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1302:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1303:15: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1319:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1303:15: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mips.c:1304:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'mips_ecoff_swap_coff_reloc_out' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-mips.c:1319:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mips.c:1304:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-loongarch64.c:82:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-loongarch64.c:83:25: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mcore.c:429:15: warning: Either the condition 'sym==NULL' is redundant or there is possible null pointer dereference: sym. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-mcore.c:433:16: note: Assuming that condition 'sym==NULL' is not redundant gdb-13.2/bfd/coff-mcore.c:429:15: note: Null pointer dereference gdb-13.2/bfd/coff-mcore.c:258:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mcore.c:280:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mcore.c:302:31: style: Parameter 'rel' can be declared as pointer to const. However it seems that 'coff_mcore_rtype_to_howto' is a callback function, if 'rel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mcore.c:302:31: note: Parameter 'rel' can be declared as pointer to const gdb-13.2/bfd/coff-mcore.c:304:32: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'coff_mcore_rtype_to_howto' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mcore.c:304:32: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/coff-mcore.c:340:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mcore.c:340:61: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-mcore.c:197:12: style: struct member 'coff_mcore_link_hash_table::bfd_of_toc_owner' is never used. [unusedStructMember] gdb-13.2/bfd/coff-mcore.c:198:14: style: struct member 'coff_mcore_link_hash_table::global_toc_size' is never used. [unusedStructMember] gdb-13.2/bfd/coff-mcore.c:199:14: style: struct member 'coff_mcore_link_hash_table::import_table_size' is never used. [unusedStructMember] gdb-13.2/bfd/coff-mcore.c:200:14: style: struct member 'coff_mcore_link_hash_table::first_thunk_address' is never used. [unusedStructMember] gdb-13.2/bfd/coff-mcore.c:201:14: style: struct member 'coff_mcore_link_hash_table::thunk_size' is never used. [unusedStructMember] gdb-13.2/bfd/coff-arm.c:1355:9: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1354:9: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1355:9: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1362:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1361:9: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1362:9: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1443:9: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1442:9: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1443:9: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1451:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1450:9: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1451:9: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1799:7: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1797:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1799:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1810:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1806:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1810:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1811:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1806:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1811:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1825:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1821:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1825:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1826:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1821:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1826:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1848:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1847:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1848:3: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1904:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1903:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1904:3: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:1985:7: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:1983:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:1985:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:2041:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:2040:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:2041:3: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:2309:12: warning: Either the condition 'ptr!=NULL' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:2307:3: note: Assuming that condition 'ptr!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:2305:15: note: file is assigned '(FILE*)ptr' here. gdb-13.2/bfd/coff-arm.c:2309:12: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:2309:44: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:2307:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:2309:44: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:2311:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:2307:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:2311:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:2527:7: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-arm.c:2525:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/coff-arm.c:2527:7: note: Null pointer dereference gdb-13.2/bfd/coff-arm.c:2065:29: warning: Either the condition 'i!=0' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] gdb-13.2/bfd/coff-arm.c:2063:7: note: Assuming that condition 'i!=0' is not redundant gdb-13.2/bfd/coff-arm.c:2065:29: note: Null pointer addition gdb-13.2/bfd/coff-arm.c:1589:8: style: Variable 'rstat' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/coff-arm.c:1561:12: note: rstat is assigned gdb-13.2/bfd/coff-arm.c:1589:8: note: rstat is overwritten gdb-13.2/bfd/coff-arm.c:103:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'coff_arm_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:462:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:103:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:535:28: style: Parameter 'rel' can be declared as pointer to const. However it seems that 'coff_arm_rtype_to_howto' is a callback function, if 'rel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:535:28: note: Parameter 'rel' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:581:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26_done' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:421:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:581:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:582:28: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26_done' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:421:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:582:28: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:583:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26_done' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:421:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:583:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:584:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26_done' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:421:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:584:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:585:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26_done' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:421:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:585:31: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:586:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26_done' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:421:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:586:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:601:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'aoutarm_fix_pcrel_26' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-arm.c:1249:9: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:601:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:659:10: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-arm.c:865:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-arm.c:1839:37: style: Variable 'myh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-arm.c:2158:14: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'coff_arm_adjust_symndx' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5481:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:2158:14: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:2164:36: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-arm.c:2303:40: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-arm.c:2472:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-arm.c:2511:39: style: Parameter 'sub' can be declared as pointer to const. However it seems that 'coff_arm_link_output_has_begun' is a callback function, if 'sub' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5482:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:2511:39: note: Parameter 'sub' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:1304:12: style: Variable 'sec' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-tic30.c:56:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic30.c:78:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic30.c:99:44: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic30.c:119:56: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic30.c:159:15: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic4x.c:78:15: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'tic4x_relocation' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-tic4x.c:108:72: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-tic4x.c:78:15: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/coff-tic4x.c:79:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'tic4x_relocation' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-tic4x.c:108:72: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-tic4x.c:79:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-tic4x.c:121:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic4x.c:149:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic4x.c:216:14: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic4x.c:254:3: style: Variable 'coffsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-tic54x.c:134:16: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'tic54x_relocation' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-tic54x.c:209:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-tic54x.c:134:16: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/coff-tic54x.c:135:11: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'tic54x_relocation' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-tic54x.c:209:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-tic54x.c:135:11: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-tic54x.c:219:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic54x.c:244:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic54x.c:354:15: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-tic54x.c:392:3: style: Variable 'coffsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:3281:7: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-rs6000.c:3278:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/coff-rs6000.c:3281:7: note: Null pointer dereference gdb-13.2/bfd/coff-rs6000.c:375:23: style: Variable 'ix' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:419:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-rs6000.c:1159:60: style: Parameter 'internal' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-rs6000.c:1190:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-rs6000.c:1234:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-rs6000.c:1344:24: style: Variable 'cend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:1709:22: style: Variable 'arel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:1742:22: style: Variable 'arel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:1782:28: style: Variable 'hdrp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:1792:32: style: Variable 'hdrp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:1966:22: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-rs6000.c:2260:30: style: Variable 'bim' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:2496:30: style: Variable 'bim' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:2740:12: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:2773:29: style: Variable 'e' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:2925:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2925:39: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2926:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2926:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2927:26: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2927:26: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2928:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2928:37: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2929:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2929:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2930:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2930:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2933:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2933:30: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2934:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2934:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:2935:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_noop' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:176:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:2935:37: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3252:36: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'xcoff_reloc_type_tls' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:198:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3252:36: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3321:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_complain_overflow_dont_func' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:216:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3321:51: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3325:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_complain_overflow_dont_func' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:216:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3325:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3334:39: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'xcoff_complain_overflow_bitfield_func' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:217:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3334:39: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3408:37: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'xcoff_complain_overflow_signed_func' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:218:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3408:37: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3469:39: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'xcoff_complain_overflow_unsigned_func' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:219:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3469:39: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3912:51: style: Parameter 'info' can be declared as pointer to const. However it seems that '_bfd_xcoff_put_symbol_name' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4717:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3912:51: note: Parameter 'info' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3974:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_is_lineno_count_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4723:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3974:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3983:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_is_reloc_count_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4724:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3983:42: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3993:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff_loader_symbol_offset' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4726:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3993:37: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:3999:62: style: Parameter 'ldhdr' can be declared as pointer to const. However it seems that 'xcoff_loader_reloc_offset' is a callback function, if 'ldhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4727:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-rs6000.c:3999:62: note: Parameter 'ldhdr' can be declared as pointer to const gdb-13.2/bfd/coff-rs6000.c:4024:9: style: Variable 'data_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:4025:9: style: Variable 'rtinit_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-rs6000.c:4026:9: style: Variable 'rtld_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:1985:27: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2116:32: style: Variable 'internal_a' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2430:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4678:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2430:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2431:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4678:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2431:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:3448:13: style: Variable 'tdata_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:3449:13: style: Variable 'tbss_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:4095:17: style: Variable 'loader_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:5388:35: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4690:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5388:35: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5389:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4690:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5389:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5398:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4691:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5398:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5399:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-rs6000.c:4691:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5399:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-z80.c:258:56: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-z80.c:312:15: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-rs6000.c:2371:11: style: Variable 'prevoff' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-rs6000.c:2674:11: style: Variable 'prevoff' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-rs6000.c:4214:11: style: Variable 'st_tmp' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-x86_64.c:68:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'coff_amd64_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-x86_64.c:491:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:68:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:661:17: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'coff_amd64_rtype_to_howto' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:661:17: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:662:30: style: Parameter 'rel' can be declared as pointer to const. However it seems that 'coff_amd64_rtype_to_howto' is a callback function, if 'rel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:662:30: note: Parameter 'rel' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:664:31: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'coff_amd64_rtype_to_howto' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:664:31: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:773:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-sh.c:868:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/coff-sh.c:867:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/coff-sh.c:868:8: note: Null pointer dereference gdb-13.2/bfd/coff-sh.c:510:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-sh.c:567:15: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'sh_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:359:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:567:15: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:714:33: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:1076:33: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:1077:26: style: Variable 'irelalign' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:1079:20: style: Variable 'esymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:1373:41: style: Variable 'irelscanend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:2321:14: style: Parameter 'label_end' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-sh.c:2528:20: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'sh_swap_insns' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:2715:59: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:2528:20: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:2535:33: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:2668:33: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-sh.c:2939:24: style: Variable 'esymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2041:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_set_alignment_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3110:42: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2041:36: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2042:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_set_alignment_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3110:42: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2042:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2043:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_set_alignment_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3110:42: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2043:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2430:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3111:28: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2430:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2431:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3111:28: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2431:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2486:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_print_aux' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3112:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2486:27: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2487:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_print_aux' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3112:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2487:14: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:4971:33: style: Parameter 'syment' can be declared as pointer to const. However it seems that 'coff_classify_symbol' is a callback function, if 'syment' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3113:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:4971:33: note: Parameter 'syment' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5388:35: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3116:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5388:35: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5389:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3116:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5389:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5398:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3116:31: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5398:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5399:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff-sh.c:3116:31: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5399:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:2827:12: style: Variable 'sec' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-z8k.c:83:56: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-z8k.c:120:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-z8k.c:139:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-z8k.c:175:15: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/compress.c:540:58: style: Condition 'strm.avail_out!=uncompressed_size' is always false [knownConditionTrueFalse] gdb-13.2/bfd/compress.c:536:18: note: strm.avail_out is assigned 'uncompressed_size' here. gdb-13.2/bfd/compress.c:540:58: note: Condition 'strm.avail_out!=uncompressed_size' is always false gdb-13.2/bfd/compress.c:1029:52: style: Condition 'strm.avail_out!=uncompressed_size' is always false [knownConditionTrueFalse] gdb-13.2/bfd/compress.c:1028:18: note: strm.avail_out is assigned 'uncompressed_size' here. gdb-13.2/bfd/compress.c:1029:52: note: Condition 'strm.avail_out!=uncompressed_size' is always false gdb-13.2/bfd/compress.c:164:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/compress.c:219:20: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/compress.c:272:55: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coffgen.c:2367:11: style: Condition 'p2=pend' is not redundant gdb-13.2/bfd/coffgen.c:2367:11: note: Condition 'p2mach>=b->mach' is always true [knownConditionTrueFalse] gdb-13.2/bfd/cpu-avr.c:54:19: note: Assuming that condition 'a->mach<=b->mach' is not redundant gdb-13.2/bfd/cpu-avr.c:57:19: note: Condition 'a->mach>=b->mach' is always true gdb-13.2/bfd/cofflink.c:248:13: style: Variable 'esym_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:1033:27: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:1213:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:1579:20: style: Variable 'eslend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:1924:33: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:2136:14: style: Variable 'elineend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:2389:31: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:2447:30: style: Variable 'is' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cofflink.c:239:16: style: Variable 'n_tmask' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cofflink.c:240:16: style: Variable 'n_btshft' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cofflink.c:241:16: style: Variable 'n_btmask' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cofflink.c:1353:16: style: Variable 'n_tmask' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cofflink.c:1354:16: style: Variable 'n_btshft' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cpu-ia64-opc.c:132:7: style: Condition 'result' is always false [knownConditionTrueFalse] gdb-13.2/bfd/cpu-ia64-opc.c:131:21: note: Calling function 'ext_immu' returns 0 gdb-13.2/bfd/cpu-ia64-opc.c:131:21: note: Assignment 'result=ext_immu(self,code,valuep)', assigned value is 0 gdb-13.2/bfd/cpu-ia64-opc.c:132:7: note: Condition 'result' is always false gdb-13.2/bfd/cpu-ia64-opc.c:153:7: style: Condition 'result' is always false [knownConditionTrueFalse] gdb-13.2/bfd/cpu-ia64-opc.c:152:21: note: Calling function 'ext_immu' returns 0 gdb-13.2/bfd/cpu-ia64-opc.c:152:21: note: Assignment 'result=ext_immu(self,code,valuep)', assigned value is 0 gdb-13.2/bfd/cpu-ia64-opc.c:153:7: note: Condition 'result' is always false gdb-13.2/bfd/cpu-ia64-opc.c:303:7: style: Condition '!result' is always true [knownConditionTrueFalse] gdb-13.2/bfd/cpu-ia64-opc.c:302:21: note: Calling function 'ext_immu' returns 0 gdb-13.2/bfd/cpu-ia64-opc.c:302:21: note: Assignment 'result=ext_immu(self,code,valuep)', assigned value is 0 gdb-13.2/bfd/cpu-ia64-opc.c:303:7: note: Condition '!result' is always true gdb-13.2/bfd/cpu-ia64-opc.c:397:7: style: Condition 'result' is always false [knownConditionTrueFalse] gdb-13.2/bfd/cpu-ia64-opc.c:396:21: note: Calling function 'ext_immu' returns 0 gdb-13.2/bfd/cpu-ia64-opc.c:396:21: note: Assignment 'result=ext_immu(self,code,valuep)', assigned value is 0 gdb-13.2/bfd/cpu-ia64-opc.c:397:7: note: Condition 'result' is always false gdb-13.2/bfd/cpu-ia64-opc.c:199:23: error: Shifting by a negative value is undefined behaviour [shiftNegative] gdb-13.2/bfd/cpu-ia64-opc.c:36:54: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'ins_rsvd' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/cpu-ia64-opc.c:660:12: note: You might need to cast the function pointer here gdb-13.2/bfd/cpu-ia64-opc.c:36:54: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/cpu-ia64-opc.c:43:55: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'ext_rsvd' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/cpu-ia64-opc.c:660:22: note: You might need to cast the function pointer here gdb-13.2/bfd/cpu-ia64-opc.c:43:55: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/cpu-ia64-opc.c:50:55: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'ins_const' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/cpu-ia64-opc.c:663:12: note: You might need to cast the function pointer here gdb-13.2/bfd/cpu-ia64-opc.c:50:55: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/cpu-ia64-opc.c:57:56: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'ext_const' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/cpu-ia64-opc.c:663:23: note: You might need to cast the function pointer here gdb-13.2/bfd/cpu-ia64-opc.c:57:56: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/cpu-ia64-opc.c:199:33: warning: Expression 'total-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] gdb-13.2/bfd/cpu-ia64-opc.c:188:28: note: Assignment 'total=0', assigned value is 0 gdb-13.2/bfd/cpu-ia64-opc.c:191:40: note: Assuming condition is false gdb-13.2/bfd/cpu-ia64-opc.c:199:33: note: Negative value is converted to an unsigned value gdb-13.2/bfd/cpu-ia64-opc.c:103:15: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cpu-ia64-opc.c:188:15: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cpu-ia64-opc.c:301:8: style: Variable 'mask' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff64-rs6000.c:576:53: style: Parameter 'info' can be declared as pointer to const. However it seems that '_bfd_xcoff64_put_symbol_name' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2809:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:576:53: note: Parameter 'info' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:1440:62: style: Parameter 'internal' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff64-rs6000.c:1480:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_reloc_type_lookup' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2954:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:1480:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:1526:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_reloc_name_lookup' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2955:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:1526:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:1805:24: style: Variable 'cend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff64-rs6000.c:1992:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_sizeof_headers' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2962:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:1992:31: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2046:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_is_lineno_count_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2815:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:2046:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2053:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_is_reloc_count_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2816:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:2053:44: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2060:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_loader_symbol_offset' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2818:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:2060:41: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2061:33: style: Parameter 'ldhdr' can be declared as pointer to const. However it seems that 'xcoff64_loader_symbol_offset' is a callback function, if 'ldhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2818:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:2061:33: note: Parameter 'ldhdr' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2067:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'xcoff64_loader_reloc_offset' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2819:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:2067:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2068:32: style: Parameter 'ldhdr' can be declared as pointer to const. However it seems that 'xcoff64_loader_reloc_offset' is a callback function, if 'ldhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2819:5: note: You might need to cast the function pointer here gdb-13.2/bfd/coff64-rs6000.c:2068:32: note: Parameter 'ldhdr' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2076:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff64-rs6000.c:2110:9: style: Variable 'text_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff64-rs6000.c:2111:9: style: Variable 'data_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff64-rs6000.c:2112:9: style: Variable 'bss_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff64-rs6000.c:2113:9: style: Variable 'rtinit_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff64-rs6000.c:2114:9: style: Variable 'rtld_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:2430:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2771:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2430:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2431:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2771:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2431:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5388:35: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2783:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5388:35: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5389:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2783:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5389:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5398:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2784:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5398:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5399:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_final_link_postscript' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coff64-rs6000.c:2784:7: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5399:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff64-rs6000.c:2364:14: style: Variable 'st_tmp' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cpu-ns32k.c:151:14: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/cpu-ns32k.c:162:13: style: Variable 'reloc_target_output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/cpu-ns32k.c:136:41: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/cpu-tic4x.c:37:23: warning:inconclusive: Logical conjunction always evaluates to false: string[1] < '0' && string[1] > '9'. [incorrectLogicOperator] gdb-13.2/bfd/dwarf1.c:184:21: style: Parameter 'aDiePtrEnd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf1.c:322:17: style: Variable 'tblend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf1.c:484:21: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:398:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:398:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:469:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:469:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:540:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:540:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:572:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:572:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:622:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:622:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:708:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:708:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:763:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:763:16: note: Shadow variable gdb-13.2/bfd/doc/chew.c:870:7: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:870:7: note: Shadow variable gdb-13.2/bfd/doc/chew.c:957:7: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:957:7: note: Shadow variable gdb-13.2/bfd/doc/chew.c:1100:7: style: Local variable 'idx' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:129:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:1100:7: note: Shadow variable gdb-13.2/bfd/doc/chew.c:1187:14: style: Local variable 'ptr' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:130:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:1187:14: note: Shadow variable gdb-13.2/bfd/doc/chew.c:1202:14: style: Local variable 'ptr' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:130:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:1202:14: note: Shadow variable gdb-13.2/bfd/doc/chew.c:1309:15: style: Local variable 'ptr' shadows outer variable [shadowVariable] gdb-13.2/bfd/doc/chew.c:130:14: note: Shadowed declaration gdb-13.2/bfd/doc/chew.c:1309:15: note: Shadow variable gdb-13.2/bfd/doc/chew.c:140:12: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:200:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:216:28: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:231:20: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:266:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:1102:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/doc/chew.c:1185:20: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:1289:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/doc/chew.c:1471:21: style: Parameter 'av' can be declared as const array [constParameter] gdb-13.2/bfd/elf-attrs.c:751:8: warning: Either the condition 'in_list' is redundant or there is possible null pointer dereference: in_list. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-attrs.c:735:16: note: Assuming that condition 'in_list' is not redundant gdb-13.2/bfd/elf-attrs.c:751:8: note: Null pointer dereference gdb-13.2/bfd/elf-attrs.c:43:33: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-attrs.c:673:18: style: Variable 'in_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:1777:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gdb-13.2/bfd/ecofflink.c:1791:7: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/ecofflink.c:1777:7: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/ecofflink.c:464:39: style:inconclusive: Function 'bfd_ecoff_debug_init' argument 1 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/ecoff-bfd.h:27:9: note: Function 'bfd_ecoff_debug_init' argument 1 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:464:39: note: Function 'bfd_ecoff_debug_init' argument 1 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:466:52: style:inconclusive: Function 'bfd_ecoff_debug_init' argument 3 names different: declaration 'output_swap' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/ecoff-bfd.h:28:35: note: Function 'bfd_ecoff_debug_init' argument 3 names different: declaration 'output_swap' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:466:52: note: Function 'bfd_ecoff_debug_init' argument 3 names different: declaration 'output_swap' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:524:25: style:inconclusive: Function 'bfd_ecoff_debug_free' argument 2 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/ecoff-bfd.h:30:23: note: Function 'bfd_ecoff_debug_free' argument 2 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:524:25: note: Function 'bfd_ecoff_debug_free' argument 2 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:525:47: style:inconclusive: Function 'bfd_ecoff_debug_free' argument 3 names different: declaration 'output_debug' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/ecoff-bfd.h:30:60: note: Function 'bfd_ecoff_debug_free' argument 3 names different: declaration 'output_debug' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:525:47: note: Function 'bfd_ecoff_debug_free' argument 3 names different: declaration 'output_debug' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:526:52: style:inconclusive: Function 'bfd_ecoff_debug_free' argument 4 names different: declaration 'output_swap' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/ecoff-bfd.h:31:35: note: Function 'bfd_ecoff_debug_free' argument 4 names different: declaration 'output_swap' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:526:52: note: Function 'bfd_ecoff_debug_free' argument 4 names different: declaration 'output_swap' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/ecofflink.c:576:16: style: Variable 'input_symhdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:581:13: style: Variable 'fdr_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:588:13: style: Variable 'rfd_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:754:17: style: Variable 'lraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:950:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:1731:8: style: Variable 'fdr_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:1814:40: style: Parameter 'line_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecofflink.c:1818:30: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:1986:22: style: Variable 'line_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:2064:10: style: Variable 'pdr_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:2204:23: style: Variable 'sym_ptr_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecofflink.c:2062:24: style: Variable 'dist' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/ecoff.c:75:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:159:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:160:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:161:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:173:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:344:27: style: Variable 'internal_s' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:476:9: style: Variable 'internal_symhdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:482:9: style: Variable 'fraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:833:9: style: Variable 'eraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:835:8: style: Variable 'fdr_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:906:13: style: Variable 'lraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:997:14: style: Parameter 'fdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:999:16: style: Parameter 'rndx' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:1361:47: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:1891:13: style: Variable 'current' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:2173:23: style: Variable 'recend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:2222:19: style: Parameter 'cprmask' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ecoff.c:3031:8: style: Variable 'last_elt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:3492:35: style: Parameter 'h' can be declared as pointer to const. However it seems that 'ecoff_link_check_archive_element' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/ecoff.c:3546:19: note: You might need to cast the function pointer here gdb-13.2/bfd/ecoff.c:3492:35: note: Parameter 'h' can be declared as pointer to const gdb-13.2/bfd/ecoff.c:3562:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:3990:37: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/ecoff.c:3640:9: style: Variable 'hash' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf-ifunc.c:245:7: style: The if condition is the same as the previous if condition [duplicateCondition] gdb-13.2/bfd/elf-ifunc.c:229:7: note: First condition gdb-13.2/bfd/elf-ifunc.c:245:7: note: Second condition gdb-13.2/bfd/elf-eh-frame.c:2154:14: warning: Either the condition 'htab->hgot!=NULL' is redundant or there is possible null pointer dereference: htab->hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-eh-frame.c:2148:4: note: Assuming that condition 'htab->hgot!=NULL' is not redundant gdb-13.2/bfd/elf-eh-frame.c:2154:14: note: Null pointer dereference gdb-13.2/bfd/elf-eh-frame.c:2155:16: warning: Either the condition 'htab->hgot!=NULL' is redundant or there is possible null pointer dereference: htab->hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-eh-frame.c:2148:4: note: Assuming that condition 'htab->hgot!=NULL' is not redundant gdb-13.2/bfd/elf-eh-frame.c:2155:16: note: Null pointer dereference gdb-13.2/bfd/elf-eh-frame.c:2156:17: warning: Either the condition 'htab->hgot!=NULL' is redundant or there is possible null pointer dereference: htab->hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-eh-frame.c:2148:4: note: Assuming that condition 'htab->hgot!=NULL' is not redundant gdb-13.2/bfd/elf-eh-frame.c:2156:17: note: Null pointer dereference gdb-13.2/bfd/elf-eh-frame.c:2374:22: warning: Either the condition '!bed->compact_eh_encoding' is redundant or there is possible null pointer dereference: bed->compact_eh_encoding. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-eh-frame.c:2373:3: note: Assuming that condition '!bed->compact_eh_encoding' is not redundant gdb-13.2/bfd/elf-eh-frame.c:2374:22: note: Null pointer dereference gdb-13.2/bfd/elf-eh-frame.c:2549:44: style:inconclusive: Function '_bfd_elf_can_make_relative' argument 1 names different: declaration 'input_bfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf-bfd.h:2256:9: note: Function '_bfd_elf_can_make_relative' argument 1 names different: declaration 'input_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2549:44: note: Function '_bfd_elf_can_make_relative' argument 1 names different: declaration 'input_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2550:35: style:inconclusive: Function '_bfd_elf_can_make_relative' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf-bfd.h:2256:42: note: Function '_bfd_elf_can_make_relative' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2550:35: note: Function '_bfd_elf_can_make_relative' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2551:35: style:inconclusive: Function '_bfd_elf_can_make_relative' argument 3 names different: declaration 'eh_frame_section' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf-bfd.h:2256:58: note: Function '_bfd_elf_can_make_relative' argument 3 names different: declaration 'eh_frame_section' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2551:35: note: Function '_bfd_elf_can_make_relative' argument 3 names different: declaration 'eh_frame_section' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2560:39: style:inconclusive: Function '_bfd_elf_encode_eh_address' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf-bfd.h:2253:9: note: Function '_bfd_elf_encode_eh_address' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2560:39: note: Function '_bfd_elf_encode_eh_address' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2561:35: style:inconclusive: Function '_bfd_elf_encode_eh_address' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf-bfd.h:2253:37: note: Function '_bfd_elf_encode_eh_address' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:2561:35: note: Function '_bfd_elf_encode_eh_address' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf-eh-frame.c:64:39: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:107:13: style: Variable 'start' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:126:13: style: Variable 'start' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:286:53: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:302:51: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:525:54: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:699:33: style: Variable 'insns_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1115:54: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:1148:25: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:1167:62: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:1262:22: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1263:14: style: Variable 'sym_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1371:26: style: Variable 'last' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1418:13: style: Variable 'sym_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1441:36: style: Parameter 'cookie' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:1448:25: style: Variable 'end_sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1615:62: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:1657:13: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1675:56: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:1678:8: style: Variable 'abfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:1922:28: style: Variable 'last_ent' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:2288:52: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:2522:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-eh-frame.c:2549:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:2550:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:2551:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-eh-frame.c:2562:18: style: Parameter 'osec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:2021:9: warning: Either the condition 'table==NULL' is redundant or there is possible null pointer dereference: table. [nullPointerRedundantCheck] gdb-13.2/bfd/dwarf2.c:2029:13: note: Assuming that condition 'table==NULL' is not redundant gdb-13.2/bfd/dwarf2.c:2021:9: note: Null pointer dereference gdb-13.2/bfd/dwarf2.c:2444:29: warning: Either the condition '!seq' is redundant or there is possible null pointer dereference: seq. [nullPointerRedundantCheck] gdb-13.2/bfd/dwarf2.c:2443:7: note: Assuming that condition '!seq' is not redundant gdb-13.2/bfd/dwarf2.c:2444:29: note: Null pointer dereference gdb-13.2/bfd/dwarf2.c:2446:32: warning: Either the condition '!seq' is redundant or there is possible null pointer dereference: seq. [nullPointerRedundantCheck] gdb-13.2/bfd/dwarf2.c:2443:7: note: Assuming that condition '!seq' is not redundant gdb-13.2/bfd/dwarf2.c:2446:32: note: Null pointer dereference gdb-13.2/bfd/dwarf2.c:2449:13: warning: Either the condition '!seq' is redundant or there is possible null pointer dereference: seq. [nullPointerRedundantCheck] gdb-13.2/bfd/dwarf2.c:2443:7: note: Assuming that condition '!seq' is not redundant gdb-13.2/bfd/dwarf2.c:2449:13: note: Null pointer dereference gdb-13.2/bfd/dwarf2.c:4033:11: warning: Either the condition 'abbrev!=NULL' is redundant or there is possible null pointer dereference: abbrev. [nullPointerRedundantCheck] gdb-13.2/bfd/dwarf2.c:4029:7: note: Assuming that condition 'abbrev!=NULL' is not redundant gdb-13.2/bfd/dwarf2.c:4033:11: note: Null pointer dereference gdb-13.2/bfd/dwarf2.c:3515:15: style: Variable 'info_ptr_end' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/dwarf2.c:3504:20: note: info_ptr_end is assigned gdb-13.2/bfd/dwarf2.c:3515:15: note: info_ptr_end is overwritten gdb-13.2/bfd/dwarf2.c:166:43: style: Parameter 'r1' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:166:66: style: Parameter 'r2' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:856:17: style: Parameter 'buf_end' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:1871:41: style: Parameter 'new_line' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:1871:69: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:1888:15: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:2043:13: style: Variable 'dir_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:3094:21: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:3281:27: style: Variable 'lookup_funcinfo' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:3363:20: style: Variable 'best_fit' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:4751:43: style: Parameter 'stash' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:4825:14: style: Parameter 'after_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:4869:21: style: Parameter 'orig_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:4869:36: style: Parameter 'debug_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:4871:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:4895:58: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:4900:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:4952:8: style: Variable 'abfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:5083:20: style: Variable 'best_fit' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:5131:19: style: Variable 'each' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:5649:24: style: Variable 'stash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/dwarf2.c:6057:38: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/dwarf2.c:2115:12: style: Variable 'low1' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/dwarf2.c:2120:13: style: Variable 'high2' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/dwarf2.c:2214:20: style: Variable 'is_full_leaf' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/dwarf2.c:2603:10: style: Variable 'string_trash' is not assigned a value. [unassignedVariable] gdb-13.2/bfd/dwarf2.c:2605:17: style: Unused variable: uint_trash [unusedVariable] gdb-13.2/bfd/elf-nacl.c:28:45: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-nacl.c:49:55: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-nacl.c:88:31: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-nacl.c:106:18: style: Variable 'lastsec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-nacl.c:265:23: style: Variable 'next_load_phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-s390-common.c:29:36: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-s390-common.c:38:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-s390-common.c:170:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-s390-common.c:283:64: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-s390-common.c:311:39: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-properties.c:85:13: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-sframe.c:350:35: style: Condition 'sfe_info==NULL' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf-sframe.c:373:11: style: Variable 'sfe_ctx' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf-sframe.c:344:11: note: sfe_ctx is assigned gdb-13.2/bfd/elf-sframe.c:373:11: note: sfe_ctx is overwritten gdb-13.2/bfd/elf-sframe.c:100:45: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-sframe.c:162:13: style: Variable 'sframe' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-sframe.c:269:8: style: Variable 'keep' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf-vxworks.c:164:26: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-vxworks.c:305:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-strtab.c:277:46: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10200.c:662:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10200.c:661:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf-m10200.c:662:8: note: Null pointer dereference gdb-13.2/bfd/elf-m10200.c:180:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10200.c:197:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10200.c:239:52: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10200.c:469:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:472:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:569:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:637:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:1228:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:1230:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:1252:35: style: Variable 'sym_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10200.c:1306:25: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:1198:16: style: Condition 'h' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf-m10300.c:1793:42: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:1792:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:1793:42: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:1811:48: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:1801:4: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:1811:48: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:1812:12: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:1801:4: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:1812:12: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:1813:7: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:1801:4: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:1813:7: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:4921:11: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:4917:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:4921:11: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:4945:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:4944:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:4945:7: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:4950:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:4949:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:4950:7: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5005:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5004:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5005:7: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5033:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5032:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5033:4: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5034:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5032:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5034:4: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5053:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5052:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5053:7: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5237:23: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5235:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5237:23: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5238:11: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5235:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5238:11: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5320:44: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5312:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5320:44: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5321:15: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5312:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5321:15: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5322:10: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5312:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5322:10: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5357:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5355:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5357:39: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5358:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-m10300.c:5355:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf-m10300.c:5358:43: note: Null pointer dereference gdb-13.2/bfd/elf-m10300.c:5421:65: style: Variable '((struct bfd_elf_section_data*)(splt->output_section)->used_by_bfd)->this_hdr.sh_entsize' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf-m10300.c:5413:65: note: ((struct bfd_elf_section_data*)(splt->output_section)->used_by_bfd)->this_hdr.sh_entsize is assigned gdb-13.2/bfd/elf-m10300.c:5421:65: note: ((struct bfd_elf_section_data*)(splt->output_section)->used_by_bfd)->this_hdr.sh_entsize is overwritten gdb-13.2/bfd/elf-m10300.c:826:23: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10300.c:864:32: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10300.c:878:31: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10300.c:1320:19: style: Variable 'sym_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:1326:24: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:1406:52: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10300.c:1421:22: style: Variable 'sym_diff_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:1426:14: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2188:25: style: Variable 'link_info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2272:41: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2274:41: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2393:28: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2560:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2562:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2582:35: style: Variable 'sym_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2689:18: style: Variable 'sym_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:2827:30: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:3031:33: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:3070:15: style: Variable 'sym_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:4448:32: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf-m10300.c:4705:75: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-m10300.c:5353:28: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-am33lin.c:42:60: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-am33lin.c:73:58: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arc.c:786:29: style: Condition 'out_attr[i].i!=0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-arc.c:784:24: note: Assuming that condition 'out_attr[i].i==0' is not redundant gdb-13.2/bfd/elf32-arc.c:786:29: note: Condition 'out_attr[i].i!=0' is always true gdb-13.2/bfd/elf32-arc.c:813:27: style: Condition 'out_attr[i].i!=0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-arc.c:811:22: note: Assuming that condition 'out_attr[i].i==0' is not redundant gdb-13.2/bfd/elf32-arc.c:813:27: note: Condition 'out_attr[i].i!=0' is always true gdb-13.2/bfd/elf32-arc.c:2017:12: style: Condition 'h' is always true [knownConditionTrueFalse] gdb-13.2/bfd/arc-got.h:344:21: warning: Either the condition 'tls_sec' is redundant or there is possible null pointer dereference: tls_sec. [nullPointerRedundantCheck] gdb-13.2/bfd/arc-got.h:343:3: note: Assuming that condition 'tls_sec' is not redundant gdb-13.2/bfd/arc-got.h:344:21: note: Null pointer dereference gdb-13.2/bfd/arc-got.h:382:7: warning: Either the condition 'tls_sec' is redundant or there is possible null pointer dereference: tls_sec. [nullPointerRedundantCheck] gdb-13.2/bfd/arc-got.h:380:3: note: Assuming that condition 'tls_sec' is not redundant gdb-13.2/bfd/arc-got.h:382:7: note: Null pointer dereference gdb-13.2/bfd/arc-got.h:452:10: warning: Either the condition 'entry' is redundant or there is possible null pointer dereference: entry. [nullPointerRedundantCheck] gdb-13.2/bfd/arc-got.h:337:11: note: Assuming that condition 'entry' is not redundant gdb-13.2/bfd/arc-got.h:452:10: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:454:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arc.c:449:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-arc.c:454:11: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:1680:28: warning: Either the condition '!ah->got_ents' is redundant or there is possible null pointer dereference: ah->got_ents. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arc.c:1679:5: note: Assuming that condition '!ah->got_ents' is not redundant gdb-13.2/bfd/elf32-arc.c:1680:28: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:2422:20: warning: Either the condition 'arc_htab->elf.srelbss!=NULL' is redundant or there is possible null pointer dereference: arc_htab->elf.srelbss. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arc.c:2421:7: note: Assuming that condition 'arc_htab->elf.srelbss!=NULL' is not redundant gdb-13.2/bfd/elf32-arc.c:2422:20: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:2539:32: warning: Either the condition '!h' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arc.c:2537:7: note: Assuming that condition '!h' is not redundant gdb-13.2/bfd/elf32-arc.c:2539:32: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:2726:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arc.c:2725:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arc.c:2726:4: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:2727:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arc.c:2725:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arc.c:2727:4: note: Null pointer dereference gdb-13.2/bfd/elf32-arc.c:208:19: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arc.c:209:14: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arc.c:554:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:1952:24: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2250:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2300:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2324:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2572:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2718:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2861:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arc.c:2964:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/arc-got.h:296:23: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arc.c:2591:8: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] gdb-13.2/bfd/elf32-arc.c:2592:8: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] gdb-13.2/bfd/elf32-arc.c:2593:8: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] gdb-13.2/bfd/elf32-arc.c:2594:8: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] gdb-13.2/bfd/elf32-arc.c:2595:8: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] gdb-13.2/bfd/elf32-arc.c:2596:8: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] gdb-13.2/bfd/elf32-avr.c:3912:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/elf32-avr.c:2319:11: warning: Either the condition 'relax_info!=NULL' is redundant or there is possible null pointer dereference: relax_info. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-avr.c:2317:7: note: Assuming that condition 'relax_info!=NULL' is not redundant gdb-13.2/bfd/elf32-avr.c:2319:11: note: Null pointer dereference gdb-13.2/bfd/elf32-avr.c:2320:7: warning: Either the condition 'relax_info!=NULL' is redundant or there is possible null pointer dereference: relax_info. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-avr.c:2317:7: note: Assuming that condition 'relax_info!=NULL' is not redundant gdb-13.2/bfd/elf32-avr.c:2320:7: note: Null pointer dereference gdb-13.2/bfd/elf32-avr.c:2606:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-avr.c:2605:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-avr.c:2606:8: note: Null pointer dereference gdb-13.2/bfd/elf32-avr.c:919:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-avr.c:934:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-avr.c:1003:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_avr_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-avr.c:597:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-avr.c:1003:35: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-avr.c:1004:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_avr_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-avr.c:597:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-avr.c:1004:30: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-avr.c:1005:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_avr_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-avr.c:597:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-avr.c:1005:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-avr.c:1006:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_avr_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-avr.c:597:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-avr.c:1006:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-avr.c:1007:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_avr_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-avr.c:597:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-avr.c:1007:32: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-avr.c:1008:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_avr_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-avr.c:597:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-avr.c:1008:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-avr.c:1917:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2127:25: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2224:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2278:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2365:55: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-avr.c:2462:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2585:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2933:29: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2970:38: style: Variable 'sym_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:2991:27: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3233:32: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3441:37: style: Variable 'hsh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3490:37: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-avr.c:3493:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3496:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3612:28: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-avr.c:3660:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3676:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:3730:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:4021:53: style: Variable 'rel_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-avr.c:4225:61: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cr16.c:1802:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:1800:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:1802:8: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2322:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2321:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2322:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2328:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2327:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2328:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2383:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2382:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2383:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2523:23: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2521:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2523:23: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2524:11: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2521:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2524:11: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2573:44: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2565:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2573:44: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2574:15: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2565:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2574:15: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2575:10: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2565:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2575:10: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2609:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2607:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2609:39: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2610:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2607:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2610:43: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:2754:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cr16.c:2753:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-cr16.c:2754:8: note: Null pointer dereference gdb-13.2/bfd/elf32-cr16.c:698:73: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cr16.c:701:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1024:14: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1066:14: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1207:54: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cr16.c:1213:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1216:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1498:25: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1673:72: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cr16.c:1710:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:1776:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:2590:35: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cr16.c:2605:28: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:2678:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:2707:17: style: Variable 'targetsec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cr16.c:2728:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:1893:12: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] gdb-13.2/bfd/elf32-bfin.c:1892:7: note: outer condition: *loc gdb-13.2/bfd/elf32-bfin.c:1893:12: note: identical inner condition: *loc gdb-13.2/bfd/elf32-bfin.c:1527:9: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:1526:3: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:1527:9: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:1553:10: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:1546:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:1553:10: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:1555:6: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:1546:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:1555:6: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4049:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4048:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4049:4: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4050:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4048:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4050:4: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4268:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4266:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4268:39: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4269:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4266:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4269:43: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4725:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4720:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4725:11: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4728:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4720:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4728:45: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4870:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4868:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4870:39: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4871:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4868:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4871:43: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4907:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4905:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4907:24: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:4908:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:4905:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:4908:12: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:5144:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:5143:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:5144:4: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:5145:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:5143:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:5145:4: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:5365:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-bfin.c:5364:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-bfin.c:5365:8: note: Null pointer dereference gdb-13.2/bfd/elf32-bfin.c:138:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-bfin.c:137:7: note: x is assigned gdb-13.2/bfd/elf32-bfin.c:138:7: note: x is overwritten gdb-13.2/bfd/elf32-bfin.c:1352:9: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-bfin.c:1351:9: note: x is assigned gdb-13.2/bfd/elf32-bfin.c:1352:9: note: x is overwritten gdb-13.2/bfd/elf32-bfin.c:34:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfin_pltpc_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:943:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:34:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:35:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfin_pltpc_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:943:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:35:27: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:36:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfin_pltpc_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:943:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:36:22: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:37:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfin_pltpc_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:943:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:37:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:38:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfin_pltpc_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:943:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:38:30: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:39:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfin_pltpc_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:943:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:39:22: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:53:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'bfin_pcrel24_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:633:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:53:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:60:13: style: Variable 'output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:150:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'bfin_imm16_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:535:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:150:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:157:13: style: Variable 'output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:222:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'bfin_byte4_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:689:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:222:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:228:13: style: Variable 'output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:289:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'bfin_bfd_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-bfin.c:703:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-bfin.c:289:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-bfin.c:296:13: style: Variable 'output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:1074:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:1094:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:1120:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:1170:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:2050:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:3161:54: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:3162:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:3163:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4264:28: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:4311:62: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4314:9: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:4343:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4344:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4345:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4346:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4356:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4357:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4358:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4745:69: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4855:32: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-bfin.c:4866:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:5289:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:5319:17: style: Variable 'targetsec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:5339:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-bfin.c:2912:12: style: Variable 'addend' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-bfin.c:3628:13: style: Variable 'fdplt' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-crx.c:1057:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-crx.c:1055:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-crx.c:1057:8: note: Null pointer dereference gdb-13.2/bfd/elf32-crx.c:390:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-crx.c:404:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-crx.c:588:53: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-crx.c:594:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-crx.c:597:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-crx.c:640:26: style: Variable 'rsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-crx.c:759:25: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-crx.c:965:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-crx.c:1031:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:1077:12: warning: Either the condition 'sec==NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:1055:4: note: Assuming that condition 'sec==NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:1077:12: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:1269:9: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:1266:3: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:1269:9: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:1293:10: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:1286:4: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:1293:10: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:1294:11: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:1286:4: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:1294:11: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:1618:11: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:1617:5: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:1618:11: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:1619:12: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:1617:5: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:1619:12: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2148:18: warning: Either the condition 'sgotplt!=NULL' is redundant or there is possible null pointer dereference: sgotplt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2145:7: note: Assuming that condition 'sgotplt!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2148:18: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2245:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2243:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2245:24: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2246:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2243:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2246:12: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2254:15: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2243:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2254:15: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2335:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2333:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2335:39: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2336:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2333:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2336:43: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2578:7: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2575:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2578:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2581:7: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2575:7: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2581:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2746:11: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2742:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2746:11: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2802:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2801:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2802:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2808:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2807:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2808:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:2872:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:2871:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:2872:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:3533:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:3532:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:3533:4: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:3534:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:3532:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:3534:4: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:3745:4: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:3743:4: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:3745:4: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:3862:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:3858:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:3862:45: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:3864:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:3858:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:3864:7: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:4015:11: warning: Either the condition 'local_got_refcounts!=NULL' is redundant or there is possible null pointer dereference: local_got_refcounts. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-cris.c:4013:7: note: Assuming that condition 'local_got_refcounts!=NULL' is not redundant gdb-13.2/bfd/elf32-cris.c:4015:11: note: Null pointer dereference gdb-13.2/bfd/elf32-cris.c:427:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cris.c:440:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cris.c:508:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cris.c:558:53: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cris.c:1153:18: style: Variable 'sgotplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:2104:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:2330:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:2536:25: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:2954:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:3723:25: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:3739:9: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:3997:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cris.c:3998:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-cris.c:4010:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:4011:23: style: Variable 'local_got_refcounts' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-cris.c:4032:40: style: Variable 'hh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-d10v.c:191:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-d10v.c:206:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-d10v.c:271:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:19269:7: style:inconclusive: Boolean expression 'is_ia_nobang' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] gdb-13.2/bfd/elf32-arm.c:19269:7: style:inconclusive: Boolean expression 'is_db_bang' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] gdb-13.2/bfd/elf32-arm.c:18651:14: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] gdb-13.2/bfd/elf32-arm.c:18652:14: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] gdb-13.2/bfd/elf32-d30v.c:66:21: style: Condition 'output_bfd==NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-d30v.c:51:18: note: Assuming that condition 'output_bfd!=NULL' is not redundant gdb-13.2/bfd/elf32-d30v.c:60:9: note: Assuming condition is false gdb-13.2/bfd/elf32-d30v.c:66:21: note: Condition 'output_bfd==NULL' is always true gdb-13.2/bfd/elf32-d30v.c:174:21: style: Condition 'output_bfd==NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-d30v.c:159:18: note: Assuming that condition 'output_bfd!=NULL' is not redundant gdb-13.2/bfd/elf32-d30v.c:168:9: note: Assuming condition is false gdb-13.2/bfd/elf32-d30v.c:174:21: note: Condition 'output_bfd==NULL' is always true gdb-13.2/bfd/elf32-d30v.c:44:13: style: Variable 'reloc_target_output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-d30v.c:48:21: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-d30v.c:152:13: style: Variable 'reloc_target_output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-d30v.c:156:21: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-d30v.c:477:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-d30v.c:494:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:18714:5: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elf32-arm.c:13562:8: style: Condition '!hdr' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-arm.c:14764:18: style: Condition 'in_attr[i].i' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-arm.c:14755:30: note: Assuming that condition 'in_attr[i].i==0' is not redundant gdb-13.2/bfd/elf32-arm.c:14764:18: note: Condition 'in_attr[i].i' is always true gdb-13.2/bfd/elf32-dlx.c:428:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-dlx.c:506:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-dlx.c:556:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-dlx.c:557:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-dlx.c:558:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-dlx.c:147:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elf32-dlx.c:210:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elf32-arm.c:5866:7: warning: Either the condition '!section' is redundant or there is possible null pointer dereference: section. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:5865:7: note: Assuming that condition '!section' is not redundant gdb-13.2/bfd/elf32-arm.c:5866:7: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6087:19: warning: Either the condition '!hash' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6049:11: note: Assuming that condition '!hash' is not redundant gdb-13.2/bfd/elf32-arm.c:6087:19: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6088:17: warning: Either the condition '!hash' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6049:11: note: Assuming that condition '!hash' is not redundant gdb-13.2/bfd/elf32-arm.c:6088:17: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6328:4: warning: Either the condition 'stub_entry==NULL' is redundant or there is possible null pointer dereference: stub_entry. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6320:19: note: Assuming that condition 'stub_entry==NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6328:4: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6329:4: warning: Either the condition 'stub_entry==NULL' is redundant or there is possible null pointer dereference: stub_entry. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6320:19: note: Assuming that condition 'stub_entry==NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6329:4: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6707:16: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6707:16: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6712:13: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6712:13: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6715:16: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6715:16: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6716:18: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6716:18: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6742:19: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6754:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6742:19: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6772:19: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6772:19: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6774:29: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6774:29: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6775:20: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6727:18: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6775:20: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6919:9: warning: Either the condition 'stub_sec_p!=NULL' is redundant or there is possible null pointer dereference: stub_sec_p. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6918:4: note: Assuming that condition 'stub_sec_p!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:6919:9: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6940:13: warning: Either the condition '!stub_sec_p' is redundant or there is possible null pointer dereference: stub_sec_p. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6938:4: note: Assuming that condition '!stub_sec_p' is not redundant gdb-13.2/bfd/elf32-arm.c:6940:13: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:6942:6: warning: Either the condition '!stub_sec_p' is redundant or there is possible null pointer dereference: stub_sec_p. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:6938:4: note: Assuming that condition '!stub_sec_p' is not redundant gdb-13.2/bfd/elf32-arm.c:6942:6: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7073:12: warning: Either the condition 'stub_sec_p!=NULL' is redundant or there is possible null pointer dereference: stub_sec_p. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7072:7: note: Assuming that condition 'stub_sec_p!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7073:12: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7256:3: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7252:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7256:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7268:36: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7268:36: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7269:8: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7269:8: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7272:36: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7272:36: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7273:8: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7273:8: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7276:36: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7276:36: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7277:8: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7277:8: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7280:36: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7280:36: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7281:8: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7281:8: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7284:36: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7284:36: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7285:8: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7266:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7285:8: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7309:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7308:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7309:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7381:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7380:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7381:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7475:3: warning: Either the condition 'hash_table!=NULL' is redundant or there is possible null pointer dereference: hash_table. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7474:3: note: Assuming that condition 'hash_table!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7475:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7594:3: warning: Either the condition 'hash_table!=NULL' is redundant or there is possible null pointer dereference: hash_table. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7593:3: note: Assuming that condition 'hash_table!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7594:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7601:14: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7599:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7601:14: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7808:7: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7806:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7808:7: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7822:40: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7857:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7859:18: note: Calling function 'check_use_blx', 1st argument 'globals' value is 0 gdb-13.2/bfd/elf32-arm.c:7822:40: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7825:7: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7857:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7859:18: note: Calling function 'check_use_blx', 1st argument 'globals' value is 0 gdb-13.2/bfd/elf32-arm.c:7825:7: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:7861:7: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:7857:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:7861:7: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:8399:21: warning: Either the condition 'globals==NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:8401:15: note: Assuming that condition 'globals==NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:8399:21: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9139:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9138:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9139:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9147:3: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9146:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9147:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9236:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9235:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9236:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9332:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9331:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9332:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9337:3: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9336:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9337:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9386:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9385:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9386:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9391:3: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9390:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9391:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9421:3: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9420:3: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9421:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:9426:3: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:9425:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:9426:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:15114:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:15109:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:15114:11: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:15118:47: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:15109:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:15118:47: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:16761:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:16760:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:16761:4: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:16762:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:16760:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:16762:4: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:17393:25: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:17392:8: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:17393:25: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:17653:11: warning: Either the condition 'globals!=NULL' is redundant or there is possible null pointer dereference: globals. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:17650:19: note: Assuming that condition 'globals!=NULL' is not redundant gdb-13.2/bfd/elf32-arm.c:17653:11: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:17967:3: warning: Either the condition '!hash' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:17966:3: note: Assuming that condition '!hash' is not redundant gdb-13.2/bfd/elf32-arm.c:17967:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:17968:3: warning: Either the condition '!hash' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:17966:3: note: Assuming that condition '!hash' is not redundant gdb-13.2/bfd/elf32-arm.c:17968:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:17969:3: warning: Either the condition '!hash' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-arm.c:17966:3: note: Assuming that condition '!hash' is not redundant gdb-13.2/bfd/elf32-arm.c:17969:3: note: Null pointer dereference gdb-13.2/bfd/elf32-arm.c:13339:8: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] gdb-13.2/bfd/elf32-arm.c:11043:26: style: Clarify calculation precedence for '^' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:11044:26: style: Clarify calculation precedence for '^' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:11767:36: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:19295:25: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:19304:25: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:20714:39: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:20715:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf32-arm.c:2144:61: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:2174:59: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:3688:70: style: Parameter 'globals' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:3727:28: style: Parameter 'arm_plt' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:4738:69: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:4851:50: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:4864:52: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:4877:53: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:4898:34: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:5033:37: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5292:37: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:5295:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5298:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5526:29: style: Parameter 'a8_relocs' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:5532:37: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5639:37: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5967:21: style: Variable 'cmse_sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5970:20: style: Variable 'lsym_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5973:37: style: Variable 'stub_entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:6180:25: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:6221:13: style: Variable 'stub_out_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:6558:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:6781:43: style: Variable 'stub_entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:6910:13: style: Variable 'start_offset_p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:7064:16: style: Variable 'start_offset_p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:7735:37: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:7841:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:7843:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:8052:18: style: Variable 'out_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:8074:18: style: Variable 'out_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:8104:37: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:8105:18: style: Variable 'out_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:8167:56: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:8398:37: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:9120:17: style: Parameter 'hit_data' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:9372:32: style: Variable 'myh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:10030:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:10042:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:13545:8: style: Variable 'inp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:13560:23: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:13597:26: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:13812:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:15764:26: style: Variable 'eado' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:15933:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:15964:27: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:16035:76: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:16046:61: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:16113:9: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:16771:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:16776:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:17127:37: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:17294:16: style: Parameter 'plt' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:17339:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:17635:37: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:17841:28: style: Parameter 'root_plt' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:17996:13: style: Variable 'stub_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:17998:9: style: Variable 'stub_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:18377:41: style: Variable 'cmse_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:18380:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:18430:37: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:19844:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:20000:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:20113:39: style: Parameter 'flag_name' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:20250:43: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:20484:54: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:20486:9: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-arm.c:20487:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-epiphany.c:107:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-epiphany.c:187:21: style: Variable 'first_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-epiphany.c:41:18: style: struct member 'epiphany_opcode::opcode' is never used. [unusedStructMember] gdb-13.2/bfd/elf32-epiphany.c:42:18: style: struct member 'epiphany_opcode::mask' is never used. [unusedStructMember] gdb-13.2/bfd/elf32-arm.c:18655:5: warning: Conversion of string literal "Error: branch out of range. Cannot create branch." to bool always evaluates to true. [incorrectStringBooleanError] gdb-13.2/bfd/elf32-arm.c:19206:7: warning: Conversion of string literal "Cannot patch an instruction that has an undefined behavior.\n" to bool always evaluates to true. [incorrectStringBooleanError] gdb-13.2/bfd/elf32-arm.c:8159:17: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 8158. [shiftTooManyBitsSigned] gdb-13.2/bfd/elf32-arm.c:8158:11: note: Assuming that condition 'reg<32' is not redundant gdb-13.2/bfd/elf32-arm.c:8159:17: note: Shift gdb-13.2/bfd/elf32-arm.c:8175:35: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 8175. [shiftTooManyBitsSigned] gdb-13.2/bfd/elf32-arm.c:8175:15: note: Assuming that condition 'reg<32' is not redundant gdb-13.2/bfd/elf32-arm.c:8175:35: note: Shift gdb-13.2/bfd/elf32-arm.c:5632:18: error: Uninitialized variables: &key.destination, &key.hash, &key.sym_name, &key.r_type, &key.branch_type, &key.non_a8_stub [uninitvar] gdb-13.2/bfd/elf32-arm.c:17576:45: error: Uninitialized variable: &rel [uninitvar] gdb-13.2/bfd/elf32-fr30.c:241:28: style:inconclusive: Function 'fr30_elf_i20_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-fr30.c:30:33: note: Function 'fr30_elf_i20_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-fr30.c:241:28: note: Function 'fr30_elf_i20_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-fr30.c:239:17: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'fr30_elf_i20_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-fr30.c:75:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-fr30.c:239:17: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-fr30.c:240:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'fr30_elf_i20_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-fr30.c:75:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-fr30.c:240:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-fr30.c:283:17: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'fr30_elf_i32_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-fr30.c:105:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-fr30.c:283:17: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-fr30.c:284:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'fr30_elf_i32_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-fr30.c:105:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-fr30.c:284:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-fr30.c:340:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-fr30.c:354:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-fr30.c:650:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-arm.c:5719:12: style: Variable 'is_bl' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:5729:12: style: Variable 'is_bl' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:5755:11: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:8922:20: style: Variable 'is_ldm' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:8923:21: style: Variable 'is_vldm' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:11379:7: style: Variable 'insn' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:11849:11: style: Variable 'cur_off' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:18866:29: style: Variable 'current_stub_contents' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:18966:25: style: Variable 'current_stub_contents' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:19009:29: style: Variable 'current_stub_contents' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:19211:25: style: Variable 'current_stub_contents' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-arm.c:19333:25: style: Variable 'current_stub_contents' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf.c:3787:12: warning: Either the condition 'entry!=NULL' is redundant or there is possible null pointer dereference: entry. [nullPointerRedundantCheck] gdb-13.2/bfd/elf.c:3786:4: note: Assuming that condition 'entry!=NULL' is not redundant gdb-13.2/bfd/elf.c:3787:12: note: Null pointer dereference gdb-13.2/bfd/elf.c:3788:4: warning: Either the condition 'entry!=NULL' is redundant or there is possible null pointer dereference: entry. [nullPointerRedundantCheck] gdb-13.2/bfd/elf.c:3786:4: note: Assuming that condition 'entry!=NULL' is not redundant gdb-13.2/bfd/elf.c:3788:4: note: Null pointer dereference gdb-13.2/bfd/elf.c:13395:23: warning: Either the condition 'esd!=NULL' is redundant or there is possible null pointer dereference: esd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf.c:13394:3: note: Assuming that condition 'esd!=NULL' is not redundant gdb-13.2/bfd/elf.c:13395:23: note: Null pointer dereference gdb-13.2/bfd/elf.c:13396:3: warning: Either the condition 'esd!=NULL' is redundant or there is possible null pointer dereference: esd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf.c:13394:3: note: Assuming that condition 'esd!=NULL' is not redundant gdb-13.2/bfd/elf.c:13396:3: note: Null pointer dereference gdb-13.2/bfd/elf.c:5493:55: warning: Either the condition 'phdrs==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] gdb-13.2/bfd/elf.c:5495:13: note: Assuming that condition 'phdrs==NULL' is not redundant gdb-13.2/bfd/elf.c:5493:55: note: Null pointer addition gdb-13.2/bfd/elf.c:3586:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf.c:383:28: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:390:22: style: Variable 'shndx_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:397:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:533:24: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:571:48: style: Parameter 'ghdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:599:44: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:622:23: style: Variable 'shdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:759:24: style: Variable 'idx' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:853:26: style: Variable 'this_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:958:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:964:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:1296:20: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:1297:15: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:1367:27: style: Variable 'oheader' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:1696:26: style: Variable 'extdynend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:1922:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:1929:30: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:2046:22: style: Variable 'ehdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:2115:23: style: Variable 'dynsymhdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:2203:25: style: Variable 'hdr2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:2213:27: style: Variable 'hdr2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:2328:27: style: Variable 'hdr2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:3349:27: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:3485:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:3536:33: style: Variable 'input_elf_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:4000:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:4025:26: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:4102:14: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:4475:66: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:4477:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:4649:26: style: Variable 'eh_frame_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:4650:17: style: Variable 'sframe' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:5748:27: style: Variable 'filehdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:5775:24: style: Variable 'phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:6112:26: style: Variable 'header' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:6263:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:6348:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:6592:26: style: Variable 'end_segment' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:6845:17: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:6899:53: style: Parameter 'segment' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:6933:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:7147:17: style: Variable 'matching_lma' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:7464:19: style: Variable 'prev_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:7915:42: style: Parameter 'ibfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:7917:14: style: Parameter 'obfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:7922:22: style: Variable 'ihdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8008:22: style: Variable 'ihdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8037:37: style: Parameter 'ibfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:8037:53: style: Parameter 'discarded' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:8061:32: style: Variable 'elf_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8588:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8618:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8843:17: style: Variable 'contents_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8978:17: style: Variable 'contents_end_def' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:8978:36: style: Variable 'contents_end_aux' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:9418:28: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:9442:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:9621:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:9622:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:9623:15: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:9624:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:9714:63: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:10135:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:10848:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11101:46: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11103:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:11257:62: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11282:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11300:63: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11474:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11529:29: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11589:54: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:11944:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:11953:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:11966:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:11978:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:11990:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12002:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12014:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12026:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12038:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12050:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12062:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12074:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12086:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12098:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12110:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12122:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12134:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12146:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12158:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12171:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12183:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12195:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12207:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12219:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12231:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12244:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12257:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12269:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12281:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12294:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12307:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12320:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12332:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12344:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12356:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12368:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12380:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12392:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12406:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12418:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12431:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12443:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12455:9: style: Variable 'note_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:12832:22: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:12923:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:13089:60: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:13415:62: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf.c:13450:17: style: Variable 'last_sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf.c:5221:11: style: Variable 'pm' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-ft32.c:605:36: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elf32-ft32.c:568:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ft32.c:567:7: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-ft32.c:568:11: note: Null pointer dereference gdb-13.2/bfd/elf32-ft32.c:252:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_ft32_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ft32.c:215:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ft32.c:252:36: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ft32.c:253:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_ft32_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ft32.c:215:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ft32.c:253:30: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ft32.c:254:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_ft32_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ft32.c:215:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ft32.c:254:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ft32.c:255:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_ft32_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ft32.c:215:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ft32.c:255:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ft32.c:256:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_ft32_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ft32.c:215:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ft32.c:256:32: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ft32.c:257:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_ft32_diff_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ft32.c:215:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ft32.c:257:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ft32.c:264:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ft32.c:277:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ft32.c:533:21: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:547:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:763:54: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ft32.c:769:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:772:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:960:58: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ft32.c:961:31: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ft32.c:965:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:966:21: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:1038:35: style: Variable 'sym_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ft32.c:1082:23: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-gen.c:63:42: style: Parameter 'o' can be declared as pointer to const. However it seems that 'check_for_relocs' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-gen.c:85:32: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-gen.c:63:42: note: Parameter 'o' can be declared as pointer to const gdb-13.2/bfd/elf32-h8300.c:886:20: style: Condition '(int)gap<=130' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-h8300.c:849:41: note: Assuming that condition '(int)gap<=130' is not redundant gdb-13.2/bfd/elf32-h8300.c:886:20: note: Condition '(int)gap<=130' is always true gdb-13.2/bfd/elf32-h8300.c:887:20: style: Condition '(int)gap>=-128' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-h8300.c:849:20: note: Assuming that condition '(int)gap>=-126' is not redundant gdb-13.2/bfd/elf32-h8300.c:887:20: note: Condition '(int)gap>=-128' is always true gdb-13.2/bfd/elf32-h8300.c:809:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-h8300.c:808:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-h8300.c:809:8: note: Null pointer dereference gdb-13.2/bfd/elf32-h8300.c:258:39: style:inconclusive: Function 'elf32_h8_reloc_type_lookup' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-h8300.c:29:9: note: Function 'elf32_h8_reloc_type_lookup' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-h8300.c:258:39: note: Function 'elf32_h8_reloc_type_lookup' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-h8300.c:258:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-h8300.c:272:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-h8300.c:308:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-h8300.c:309:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-h8300.c:310:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-h8300.c:325:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'special' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-h8300.c:224:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-h8300.c:325:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-h8300.c:645:67: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-h8300.c:696:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:699:20: style: Variable 'last_input_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:788:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:894:25: style: Variable 'last_sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1251:22: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1270:22: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1491:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1493:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1562:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1586:35: style: Variable 'sym_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-h8300.c:1640:32: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1989:26: style: Condition 'eh->dyn_relocs!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-hppa.c:3082:15: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-hppa.c:3081:7: note: Assuming that condition 'p!=NULL' is not redundant gdb-13.2/bfd/elf32-hppa.c:3082:15: note: Null pointer dereference gdb-13.2/bfd/elf32-hppa.c:598:41: style: Parameter 'hh' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:930:38: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:961:23: style: Variable 'i_ehdrp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1008:38: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1053:60: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:1066:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1108:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1464:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1530:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:1560:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:1592:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:1779:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:1897:38: style: Variable 'hh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2087:23: style: Variable 'end_local_plt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2089:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2288:38: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:2290:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2293:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2471:22: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:2671:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2687:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:2754:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:3014:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:3025:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:3078:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:3105:18: style: Parameter 'sym_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:4036:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-hppa.c:4337:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/libhppa.h:444:25: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-hppa.h:839:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-hppa.h:851:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf-hppa.h:880:30: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-hppa.c:2132:12: style: Variable 'srel' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-hppa.c:4014:8: style: Variable 'loc' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-hppa.c:4019:15: style: Variable 'cur_off' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-i386.c:352:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-i386.c:843:42: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-i386.c:845:30: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-i386.c:855:13: style: Variable 'call' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-i386.c:1219:35: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-i386.c:3572:23: style: Variable 'resolved_plt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-i386.c:3759:17: style: Variable 'plt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-i386.c:4545:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-i386.c:4547:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-iq2000.c:867:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-iq2000.c:862:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-iq2000.c:867:11: note: Null pointer dereference gdb-13.2/bfd/elf32-iq2000.c:286:25: style: Parameter 'relhi' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-iq2000.c:311:29: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-iq2000.c:340:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-iq2000.c:382:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-iq2000.c:463:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-iq2000.c:742:28: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-iq2000.c:770:69: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:305:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ip2k.c:303:7: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-ip2k.c:305:11: note: Null pointer dereference gdb-13.2/bfd/elf32-ip2k.c:178:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:226:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:251:27: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:275:27: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:281:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:344:16: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:424:16: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ip2k.c:577:38: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:579:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:628:32: style: Variable 'stabend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:834:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:905:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:992:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ip2k.c:1071:21: style: Variable 'first_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-frv.c:1126:12: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] gdb-13.2/bfd/elf32-frv.c:1125:7: note: outer condition: *loc gdb-13.2/bfd/elf32-frv.c:1126:12: note: identical inner condition: *loc gdb-13.2/bfd/elf32-frv.c:5443:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-frv.c:5442:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-frv.c:5443:4: note: Null pointer dereference gdb-13.2/bfd/elf32-frv.c:5444:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-frv.c:5442:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-frv.c:5444:4: note: Null pointer dereference gdb-13.2/bfd/elf32-frv.c:5762:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-frv.c:5760:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-frv.c:5762:39: note: Null pointer dereference gdb-13.2/bfd/elf32-frv.c:5763:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-frv.c:5760:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-frv.c:5763:43: note: Null pointer dereference gdb-13.2/bfd/elf32-frv.c:6611:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-frv.c:6606:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-frv.c:6611:11: note: Null pointer dereference gdb-13.2/bfd/elf32-frv.c:4789:13: style: Variable 'gad->tmin' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-frv.c:4774:17: note: gad->tmin is assigned gdb-13.2/bfd/elf32-frv.c:4789:13: note: gad->tmin is overwritten gdb-13.2/bfd/elf32-frv.c:1290:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-frv.c:1310:40: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2128:27: style: Parameter 'relocation' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2165:28: style: Parameter 'relocation' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2203:24: style: Parameter 'relhi' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2225:24: style: Parameter 'rello' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2250:27: style: Parameter 'rello' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2293:27: style: Parameter 'relocation' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2326:27: style: Parameter 'relocation' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2357:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:2516:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:4106:25: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:4142:53: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:4144:9: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:4145:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5680:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5681:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5756:28: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-frv.c:5809:9: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-frv.c:5839:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5840:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5841:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5842:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5852:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5853:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:5854:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:6253:25: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:6322:66: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:6684:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:6728:54: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-frv.c:3694:12: style: Variable 'addend' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-frv.c:4834:13: style: Variable 'fdplt' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-frv.c:4872:15: style: Variable 'tlsdplt' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-lm32.c:993:14: style: Redundant condition: h. '!h || (h && h->root.type!=bfd_link_hash_undefweak)' is equivalent to '!h || h->root.type!=bfd_link_hash_undefweak' [redundantCondition] gdb-13.2/bfd/elf32-lm32.c:2109:13: style: Redundant condition: h. '!h || (h && h->root.type!=bfd_link_hash_undefweak)' is equivalent to '!h || h->root.type!=bfd_link_hash_undefweak' [redundantCondition] gdb-13.2/bfd/elf32-lm32.c:1669:9: style: Condition '0&&info->nocopyreloc' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-lm32.c:1677:9: style: Condition '0&&!_bfd_elf_readonly_dynrelocs(h)' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-lm32.c:1847:25: style: Condition 'h->dyn_relocs!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-lm32.c:907:11: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:903:5: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:907:11: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:944:12: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:937:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:944:12: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:945:13: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:937:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:945:13: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:947:8: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:937:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:947:8: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:976:22: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:975:8: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:976:22: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1283:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1281:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1283:39: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1284:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1281:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1284:43: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1512:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1510:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1512:24: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1513:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1510:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1513:12: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1564:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1557:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1564:13: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1565:14: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1557:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1565:14: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1567:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1557:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1567:9: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1710:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1709:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1710:7: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1932:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1931:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1932:4: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:1933:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-lm32.c:1931:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-lm32.c:1933:4: note: Null pointer dereference gdb-13.2/bfd/elf32-lm32.c:742:14: style: Redundant initialization for 'symtab_hdr'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-lm32.c:728:33: note: symtab_hdr is initialized gdb-13.2/bfd/elf32-lm32.c:742:14: note: symtab_hdr is overwritten gdb-13.2/bfd/elf32-lm32.c:743:14: style: Redundant initialization for 'sym_hashes'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-lm32.c:729:43: note: sym_hashes is initialized gdb-13.2/bfd/elf32-lm32.c:743:14: note: sym_hashes is overwritten gdb-13.2/bfd/elf32-lm32.c:2093:17: style: Redundant initialization for 'symtab_hdr'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-lm32.c:2088:36: note: symtab_hdr is initialized gdb-13.2/bfd/elf32-lm32.c:2093:17: note: symtab_hdr is overwritten gdb-13.2/bfd/elf32-lm32.c:2094:17: style: Redundant initialization for 'sym_hashes'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-lm32.c:2089:46: note: sym_hashes is initialized gdb-13.2/bfd/elf32-lm32.c:2094:17: note: sym_hashes is overwritten gdb-13.2/bfd/elf32-lm32.c:455:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-lm32.c:467:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-lm32.c:636:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'lm32_elf_gprel_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-lm32.c:259:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-lm32.c:636:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-lm32.c:683:56: style: Parameter 'osec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-lm32.c:685:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:1122:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:1279:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:1437:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:1602:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:1942:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:1944:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:2079:42: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:2088:25: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-lm32.c:2348:21: style: Variable 'iphdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:792:3: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32c.c:790:3: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m32c.c:792:3: note: Null pointer dereference gdb-13.2/bfd/elf32-m32c.c:793:7: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32c.c:790:3: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m32c.c:793:7: note: Null pointer dereference gdb-13.2/bfd/elf32-m32c.c:913:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32c.c:908:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-m32c.c:913:11: note: Null pointer dereference gdb-13.2/bfd/elf32-m32c.c:1316:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32c.c:1314:7: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-m32c.c:1316:11: note: Null pointer dereference gdb-13.2/bfd/elf32-m32c.c:1595:12: style: Variable 'srel' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-m32c.c:1546:12: note: srel is assigned gdb-13.2/bfd/elf32-m32c.c:1595:12: note: srel is overwritten gdb-13.2/bfd/elf32-m32c.c:278:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32c.c:656:25: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32c.c:659:24: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:753:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32c.c:756:13: style: Variable 'splt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:813:67: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32c.c:930:26: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32c.c:1199:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:1286:29: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32c.c:1296:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:1439:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:1530:29: style: Variable 'gap' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:1964:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:1967:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32c.c:2104:43: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc11.c:850:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68hc11.c:849:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-m68hc11.c:850:8: note: Null pointer dereference gdb-13.2/bfd/elf32-m68hc11.c:477:20: style:inconclusive: Function 'm68hc11_elf_size_one_stub' argument 2 names different: declaration 'in_arg' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc11.c:40:44: note: Function 'm68hc11_elf_size_one_stub' argument 2 names different: declaration 'in_arg' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc11.c:477:20: note: Function 'm68hc11_elf_size_one_stub' argument 2 names different: declaration 'in_arg' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc11.c:345:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc11.c:362:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc11.c:696:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc11.c:700:22: style: Variable 'prev_insn_branch' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc11.c:739:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc11.c:1130:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc11.c:1132:38: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc12.c:465:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc12.c:482:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:1415:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68hc1x.c:1409:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-m68hc1x.c:1415:45: note: Null pointer dereference gdb-13.2/bfd/elf32-m68hc1x.c:1417:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68hc1x.c:1409:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-m68hc1x.c:1417:7: note: Null pointer dereference gdb-13.2/bfd/elf32-m68hc1x.c:187:30: style:inconclusive: Function 'elf32_m68hc11_add_symbol_hook' argument 4 names different: declaration 'namep' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:172:40: note: Function 'elf32_m68hc11_add_symbol_hook' argument 4 names different: declaration 'namep' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:187:30: note: Function 'elf32_m68hc11_add_symbol_hook' argument 4 names different: declaration 'namep' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:188:28: style:inconclusive: Function 'elf32_m68hc11_add_symbol_hook' argument 5 names different: declaration 'flagsp' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:173:14: note: Function 'elf32_m68hc11_add_symbol_hook' argument 5 names different: declaration 'flagsp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:188:28: note: Function 'elf32_m68hc11_add_symbol_hook' argument 5 names different: declaration 'flagsp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:189:27: style:inconclusive: Function 'elf32_m68hc11_add_symbol_hook' argument 6 names different: declaration 'secp' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:173:33: note: Function 'elf32_m68hc11_add_symbol_hook' argument 6 names different: declaration 'secp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:189:27: note: Function 'elf32_m68hc11_add_symbol_hook' argument 6 names different: declaration 'secp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:190:25: style:inconclusive: Function 'elf32_m68hc11_add_symbol_hook' argument 7 names different: declaration 'valp' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:174:13: note: Function 'elf32_m68hc11_add_symbol_hook' argument 7 names different: declaration 'valp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:190:25: note: Function 'elf32_m68hc11_add_symbol_hook' argument 7 names different: declaration 'valp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:803:37: style:inconclusive: Function 'm68hc11_elf_ignore_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:153:9: note: Function 'm68hc11_elf_ignore_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:803:37: note: Function 'm68hc11_elf_ignore_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:805:22: style:inconclusive: Function 'm68hc11_elf_ignore_reloc' argument 3 names different: declaration 'symbol' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:154:13: note: Function 'm68hc11_elf_ignore_reloc' argument 3 names different: declaration 'symbol' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:805:22: note: Function 'm68hc11_elf_ignore_reloc' argument 3 names different: declaration 'symbol' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:806:17: style:inconclusive: Function 'm68hc11_elf_ignore_reloc' argument 4 names different: declaration 'data' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:154:27: note: Function 'm68hc11_elf_ignore_reloc' argument 4 names different: declaration 'data' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:806:17: note: Function 'm68hc11_elf_ignore_reloc' argument 4 names different: declaration 'data' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:809:27: style:inconclusive: Function 'm68hc11_elf_ignore_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:155:28: note: Function 'm68hc11_elf_ignore_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:809:27: note: Function 'm68hc11_elf_ignore_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:817:38: style:inconclusive: Function 'm68hc11_elf_special_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:157:9: note: Function 'm68hc11_elf_special_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:817:38: note: Function 'm68hc11_elf_special_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:820:18: style:inconclusive: Function 'm68hc11_elf_special_reloc' argument 4 names different: declaration 'data' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:158:28: note: Function 'm68hc11_elf_special_reloc' argument 4 names different: declaration 'data' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:820:18: note: Function 'm68hc11_elf_special_reloc' argument 4 names different: declaration 'data' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:823:28: style:inconclusive: Function 'm68hc11_elf_special_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:159:29: note: Function 'm68hc11_elf_special_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:823:28: note: Function 'm68hc11_elf_special_reloc' argument 7 names different: declaration 'error_message' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:926:49: style:inconclusive: Function 'elf32_m68hc11_relocate_section' argument 1 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-m68hc1x.h:165:9: note: Function 'elf32_m68hc11_relocate_section' argument 1 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:926:49: note: Function 'elf32_m68hc11_relocate_section' argument 1 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-m68hc1x.c:186:29: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:194:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:236:41: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:238:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:328:32: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:396:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:413:41: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:446:26: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:460:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:759:51: style: Parameter 'pinfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:773:46: style: Parameter 'pinfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:787:46: style: Parameter 'pinfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:807:16: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:808:11: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:819:16: style: Parameter 'symbol' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:822:12: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68hc1x.c:851:24: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68hc1x.c:1448:18: style: Parameter 'asect' can be declared as pointer to const. However it seems that 'scan_sections_for_abi' is a callback function, if 'asect' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m68hc1x.c:1479:32: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m68hc1x.c:1448:18: note: Parameter 'asect' can be declared as pointer to const gdb-13.2/bfd/elf32-mcore.c:293:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mcore.c:322:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mcore.c:589:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-mep.c:115:5: error: There is an unknown macro here somewhere. Configuration is required. If R_MEP_ is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/elf32-m32r.c:1721:9: style: Condition '0&&info->nocopyreloc' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-m32r.c:1729:9: style: Condition '0&&!_bfd_elf_readonly_dynrelocs(h)' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-m32r.c:1899:25: style: Condition 'h->dyn_relocs!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-m32r.c:1762:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:1761:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:1762:7: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:1988:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:1987:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:1988:4: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:1989:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:1987:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:1989:4: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2433:36: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2431:8: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2433:36: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2442:22: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2440:8: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2442:22: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2538:11: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2535:5: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2538:11: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2564:12: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2557:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2564:12: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2565:13: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2557:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2565:13: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2567:8: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2557:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2567:8: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2668:39: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2667:9: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2668:39: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2998:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2996:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2998:24: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2999:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:2996:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:2999:12: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3051:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3044:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3051:13: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3052:14: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3044:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3052:14: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3054:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3044:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3054:9: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3096:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3094:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3096:39: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3097:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3094:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3097:43: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3300:44: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3296:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3300:44: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:3302:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m32r.c:3296:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-m32r.c:3302:11: note: Null pointer dereference gdb-13.2/bfd/elf32-m32r.c:2276:12: style: Variable 'sec' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-m32r.c:2273:12: note: sec is assigned gdb-13.2/bfd/elf32-m32r.c:2276:12: note: sec is overwritten gdb-13.2/bfd/elf32-m32r.c:2400:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/bfd/elf32-m32r.c:2727:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/bfd/elf32-m32r.c:88:26: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:134:11: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'm32r_elf_10_pcrel_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m32r.c:753:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m32r.c:134:11: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-m32r.c:170:9: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'm32r_elf_generic_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m32r.c:527:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m32r.c:170:9: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-m32r.c:259:18: style: Parameter 'symbol' can be declared as pointer to const. However it seems that 'm32r_elf_sda16_reloc' is a callback function, if 'symbol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m32r.c:643:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m32r.c:259:18: note: Parameter 'symbol' can be declared as pointer to const gdb-13.2/bfd/elf32-m32r.c:261:19: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'm32r_elf_sda16_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m32r.c:643:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m32r.c:261:19: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-m32r.c:262:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'm32r_elf_sda16_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m32r.c:643:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m32r.c:262:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-m32r.c:318:13: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'm32r_elf_hi16_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-m32r.c:613:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-m32r.c:318:13: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-m32r.c:374:23: style: Parameter 'relhi' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:375:23: style: Parameter 'rello' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:1233:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:1258:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:1370:24: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:1650:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:1998:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:2000:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:2887:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:3092:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:3233:67: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m32r.c:3345:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:3351:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m32r.c:3543:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:1593:35: warning: Either the condition 'hh!=NULL' is redundant or there is possible null pointer dereference: hh. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-metag.c:1592:5: note: Assuming that condition 'hh!=NULL' is not redundant gdb-13.2/bfd/elf32-metag.c:1593:35: note: Null pointer dereference gdb-13.2/bfd/elf32-metag.c:1656:28: warning: Either the condition 'htab->etab.sgot!=NULL' is redundant or there is possible null pointer dereference: htab->etab.sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-metag.c:1654:4: note: Assuming that condition 'htab->etab.sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-metag.c:1656:28: note: Null pointer dereference gdb-13.2/bfd/elf32-metag.c:1657:14: warning: Either the condition 'htab->etab.sgot!=NULL' is redundant or there is possible null pointer dereference: htab->etab.sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-metag.c:1654:4: note: Assuming that condition 'htab->etab.sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-metag.c:1657:14: note: Null pointer dereference gdb-13.2/bfd/elf32-metag.c:1668:29: warning: Either the condition 'htab->etab.sgot!=NULL' is redundant or there is possible null pointer dereference: htab->etab.sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-metag.c:1666:4: note: Assuming that condition 'htab->etab.sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-metag.c:1668:29: note: Null pointer dereference gdb-13.2/bfd/elf32-metag.c:1669:15: warning: Either the condition 'htab->etab.sgot!=NULL' is redundant or there is possible null pointer dereference: htab->etab.sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-metag.c:1666:4: note: Assuming that condition 'htab->etab.sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-metag.c:1669:15: note: Null pointer dereference gdb-13.2/bfd/elf32-metag.c:2078:12: warning: Either the condition 'htab==NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-metag.c:2083:12: note: Assuming that condition 'htab==NULL' is not redundant gdb-13.2/bfd/elf32-metag.c:2078:12: note: Null pointer dereference gdb-13.2/bfd/elf32-metag.c:838:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:848:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:881:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:894:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:1213:17: style: Parameter 'sym_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:2752:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:2754:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:2926:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:3157:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:3281:41: style: Parameter 'hh' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:3433:37: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-metag.c:3435:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:3438:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:3727:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:3743:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:3806:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-metag.c:1884:8: style: Variable 'loc' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-metag.c:1890:15: style: Variable 'cur_off' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-m68k.c:1265:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:1257:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:1265:45: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:2333:3: warning: Either the condition 'got!=NULL' is redundant or there is possible null pointer dereference: got. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:2332:3: note: Assuming that condition 'got!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:2333:3: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3012:11: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3008:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3012:11: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3036:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3035:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3036:7: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3041:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3040:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3041:7: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3100:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3099:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3100:7: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3127:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3126:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3127:4: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3128:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3126:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3128:4: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3548:19: warning: Either the condition 'got!=NULL' is redundant or there is possible null pointer dereference: got. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3546:6: note: Assuming that condition 'got!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3548:19: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3768:18: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3766:4: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3768:18: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3769:6: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3766:4: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3769:6: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3947:62: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:3953:14: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:3947:62: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4024:12: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4082:30: note: Calling function 'elf_m68k_install_pc32', 1st argument 'splt' value is 0 gdb-13.2/bfd/elf32-m68k.c:4024:12: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4027:24: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4082:30: note: Calling function 'elf_m68k_install_pc32', 1st argument 'splt' value is 0 gdb-13.2/bfd/elf32-m68k.c:4027:24: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4029:15: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4082:30: note: Calling function 'elf_m68k_install_pc32', 1st argument 'splt' value is 0 gdb-13.2/bfd/elf32-m68k.c:4029:15: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4078:15: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4078:15: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4083:10: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4083:10: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4084:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4084:12: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4088:5: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4088:5: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4093:9: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4093:9: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4097:6: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4097:6: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4098:8: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4098:8: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4101:5: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4101:5: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4104:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4104:24: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4105:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4105:12: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4109:13: warning: Either the condition 'srela!=NULL' is redundant or there is possible null pointer dereference: srela. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4065:7: note: Assuming that condition 'srela!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4109:13: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4261:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4254:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4261:13: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4291:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4289:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4291:39: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4292:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4289:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4292:43: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:4455:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-m68k.c:4454:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-m68k.c:4455:8: note: Null pointer dereference gdb-13.2/bfd/elf32-m68k.c:3968:5: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] gdb-13.2/bfd/elf32-m68k.c:416:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:429:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:1129:18: style: Variable 'in_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:1444:50: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:2664:33: style: Variable 'got_entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:3288:29: style: Parameter 'rela' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:3304:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:3313:35: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:3328:15: style: Parameter 'sgot' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:4050:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:4286:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:4379:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:4409:17: style: Variable 'targetsec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:4429:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-m68k.c:4560:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-m68k.c:4590:53: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mips.c:1897:41: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'mips32_64bit_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-mips.c:824:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-mips.c:1897:41: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-mips.c:2097:39: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mips.c:2157:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mips.c:2342:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mips.c:2372:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mips.c:2456:30: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-moxie.c:96:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-moxie.c:110:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-moxie.c:333:14: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-moxie.c:336:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-mt.c:559:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-mt.c:554:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-mt.c:559:11: note: Null pointer dereference gdb-13.2/bfd/elf32-mt.c:158:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mt.c:191:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mt.c:209:26: style: Parameter 'relhi' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mt.c:430:18: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-mt.c:433:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-mt.c:468:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-msp430.c:2114:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-msp430.c:2112:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-msp430.c:2114:8: note: Null pointer dereference gdb-13.2/bfd/elf32-msp430.c:2338:10: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-msp430.c:2336:6: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-msp430.c:2338:10: note: Null pointer dereference gdb-13.2/bfd/elf32-msp430.c:1838:8: style: Variable 'isym' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-msp430.c:1825:8: note: isym is assigned gdb-13.2/bfd/elf32-msp430.c:1838:8: note: isym is overwritten gdb-13.2/bfd/elf32-msp430.c:64:43: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'msp430_elf_ignore_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-msp430.c:600:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-msp430.c:64:43: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-msp430.c:65:9: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'msp430_elf_ignore_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-msp430.c:600:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-msp430.c:65:9: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-msp430.c:764:18: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-msp430.c:766:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:810:22: style: Variable 'sym_diff_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1718:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1720:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1739:35: style: Variable 'sym_hash' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1761:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1775:25: style: Variable 'lsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1797:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1800:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1920:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:1922:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:2006:23: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:2080:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:2304:24: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-msp430.c:2888:58: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-microblaze.c:1863:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-microblaze.c:1861:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-microblaze.c:1863:8: note: Null pointer dereference gdb-13.2/bfd/elf32-microblaze.c:3236:17: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-microblaze.c:3234:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-microblaze.c:3236:17: note: Null pointer dereference gdb-13.2/bfd/elf32-microblaze.c:3381:11: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-microblaze.c:3377:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-microblaze.c:3381:11: note: Null pointer dereference gdb-13.2/bfd/elf32-microblaze.c:553:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-microblaze.c:660:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-microblaze.c:879:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-microblaze.c:894:18: style: Parameter 'sreloc' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-microblaze.c:1752:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:1760:31: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:1993:34: style: Variable 'irelscanend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:2367:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:2550:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:2600:43: style: Variable 'eind' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:2754:36: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:2971:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:3148:36: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:3156:17: style: Variable 'splt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:3157:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:3331:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-microblaze.c:3418:23: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-microblaze.c:2118:19: style: Variable 'immediate' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-microblaze.c:2224:12: style: Variable 'isym' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-or1k.c:1482:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:1478:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:1482:14: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:1506:15: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:1501:9: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:1506:15: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:1507:17: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:1501:9: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:1507:17: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:1510:11: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:1501:9: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:1510:11: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:2338:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:2336:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:2338:39: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:2339:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:2336:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:2339:43: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:2475:23: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:2473:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:2475:23: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:2476:23: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:2473:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:2476:23: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:2587:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:2585:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:2587:24: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:2588:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:2585:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:2588:12: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:3065:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:3064:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:3065:4: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:3066:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-or1k.c:3064:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-or1k.c:3066:4: note: Null pointer dereference gdb-13.2/bfd/elf32-or1k.c:1201:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-or1k.c:1175:9: note: status is assigned gdb-13.2/bfd/elf32-or1k.c:1201:10: note: status is overwritten gdb-13.2/bfd/elf32-or1k.c:1061:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-or1k.c:1098:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-or1k.c:1126:45: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-or1k.c:1943:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:2224:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:2271:18: style: Parameter 'insns' can be declared as const array [constParameter] gdb-13.2/bfd/elf32-or1k.c:2334:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:2455:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:2674:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:3075:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:3077:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-or1k.c:3280:69: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-or1k.c:3321:51: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-or1k.c:3352:49: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:956:31: warning: Either the condition 'csky_code<0' is redundant or the array 'csky_elf_howto_table[65]' is accessed at index -1, which is out of bounds. [negativeIndex] gdb-13.2/bfd/elf32-csky.c:927:17: note: Assuming that condition 'csky_code<0' is not redundant gdb-13.2/bfd/elf32-csky.c:956:31: note: Negative array index gdb-13.2/bfd/elf32-csky.c:1380:14: style: Condition 'h!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-csky.c:1919:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:1918:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:1919:4: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:1920:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:1918:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:1920:4: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:2208:32: warning: Either the condition 'htab->elf.sgot!=NULL' is redundant or there is possible null pointer dereference: htab->elf.sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:2206:7: note: Assuming that condition 'htab->elf.sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:2208:32: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:2209:20: warning: Either the condition 'htab->elf.sgot!=NULL' is redundant or there is possible null pointer dereference: htab->elf.sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:2206:7: note: Assuming that condition 'htab->elf.sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:2209:20: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:2262:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:2261:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:2262:13: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:2298:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:2296:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:2298:39: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:2299:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:2296:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:2299:43: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:3590:16: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:3603:44: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:3590:16: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:3594:13: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:3603:44: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:3594:13: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:3597:16: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:3603:44: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:3597:16: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:3598:18: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:3603:44: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:3598:18: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:3621:32: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:3603:44: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:3621:32: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:3622:20: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:3603:44: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:3622:20: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:4497:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:4496:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:4497:14: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:4527:14: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:4520:8: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:4527:14: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:4528:16: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:4520:8: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:4528:16: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:4649:15: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:4642:9: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:4649:15: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:4650:17: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:4642:9: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:4650:17: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:4948:20: warning: Either the condition 'htab->elf.srelgot!=NULL' is redundant or there is possible null pointer dereference: htab->elf.srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:4939:5: note: Assuming that condition 'htab->elf.srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:4948:20: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:5006:9: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:5005:3: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:5006:9: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:5032:22: warning: Either the condition 'htab->elf.srelgot!=NULL' is redundant or there is possible null pointer dereference: htab->elf.srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:5030:7: note: Assuming that condition 'htab->elf.srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:5032:22: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:5033:24: warning: Either the condition 'htab->elf.srelgot!=NULL' is redundant or there is possible null pointer dereference: htab->elf.srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-csky.c:5030:7: note: Assuming that condition 'htab->elf.srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-csky.c:5033:24: note: Null pointer dereference gdb-13.2/bfd/elf32-csky.c:5068:22: style: Variable 'outrel.r_info' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-csky.c:5063:10: note: outrel.r_info is assigned gdb-13.2/bfd/elf32-csky.c:5068:22: note: outrel.r_info is overwritten gdb-13.2/bfd/elf32-csky.c:922:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:960:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:1274:70: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:1366:32: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:1666:36: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:1929:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:1931:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2126:23: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2126:32: style: Variable 'gotplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2294:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2334:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2448:73: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:2477:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2482:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2501:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:2614:23: style: Variable 'loc_isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:3133:45: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:3147:8: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:3296:51: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:3484:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:3550:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:3600:39: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:3887:38: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:3890:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:3893:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-csky.c:4261:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:4273:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:5207:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:5237:53: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:5301:48: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-pj.c:61:27: warning: Either the condition 'symbol_in!=NULL' is redundant or there is possible null pointer dereference: symbol_in. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-pj.c:56:17: note: Assuming that condition 'symbol_in!=NULL' is not redundant gdb-13.2/bfd/elf32-pj.c:61:27: note: Null pointer dereference gdb-13.2/bfd/elf32-pj.c:38:13: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'pj_elf_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pj.c:218:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pj.c:38:13: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-pj.c:284:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-pj.c:297:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-csky.c:5116:8: style: Variable 'loc' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nios2.c:5621:25: style: Condition 'h->dyn_relocs!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-nios2.c:3828:9: warning: asprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] gdb-13.2/bfd/elf32-nios2.c:3860:13: warning: asprintf format string requires 1 parameter but 4 are given. [wrongPrintfScanfArgNum] gdb-13.2/bfd/elf32-nios2.c:4046:11: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:4043:5: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:4046:11: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:4072:12: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:4065:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:4072:12: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:4073:14: warning: Either the condition 'srelgot!=NULL' is redundant or there is possible null pointer dereference: srelgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:4065:6: note: Assuming that condition 'srelgot!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:4073:14: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5074:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5071:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5074:24: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5075:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5071:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5075:12: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5134:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5133:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5134:13: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5169:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5167:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5169:39: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5170:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5167:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5170:43: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5700:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5699:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5700:4: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:5701:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nios2.c:5699:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nios2.c:5701:4: note: Null pointer dereference gdb-13.2/bfd/elf32-nios2.c:1915:52: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:1946:50: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:2217:39: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:2219:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:2222:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:2404:43: style: Parameter 'hh' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:2407:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:2643:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:2659:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:2721:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:3031:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:3042:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:3346:45: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'nios2_elf32_ignore_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1039:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3346:45: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3347:11: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_ignore_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1039:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3347:11: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3358:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_hi16_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:871:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3358:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3386:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_lo16_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:885:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3386:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3414:15: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_hiadj16_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:899:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3414:15: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3442:36: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_pcrel_lo16_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1109:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3442:36: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3468:39: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_pcrel_hiadj16_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1124:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3468:39: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3494:15: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_pcrel16_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:787:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3494:15: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3522:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_call26_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1320:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3522:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3550:13: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_gprel_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:955:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3550:13: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3598:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_ujmp_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:997:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3598:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3625:12: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_cjmp_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1011:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3625:12: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3652:13: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nios2_elf32_callr_relocate' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nios2.c:1025:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nios2.c:3652:13: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nios2.c:3688:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:4678:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:4683:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:4896:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:4967:39: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:4977:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5106:17: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5163:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5291:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5419:39: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5449:39: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5721:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5724:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nios2.c:5953:25: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:5993:56: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:5995:6: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:5997:6: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nios2.c:1822:8: style: struct member 'nios2_elf32_obj_tdata::has_tlsgd' is never used. [unusedStructMember] gdb-13.2/bfd/elf32-nios2.c:4352:12: style: Variable 'loc' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nios2.c:4358:12: style: Variable 'cur_off' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-pru.c:1427:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-pru.c:1425:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-pru.c:1427:8: note: Null pointer dereference gdb-13.2/bfd/elf32-pru.c:966:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_pru_diff_relocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pru.c:285:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pru.c:966:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-pru.c:967:28: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_pru_diff_relocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pru.c:285:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pru.c:967:28: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-pru.c:968:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_pru_diff_relocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pru.c:285:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pru.c:968:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-pru.c:969:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_pru_diff_relocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pru.c:285:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pru.c:969:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-pru.c:970:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_pru_diff_relocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pru.c:285:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pru.c:970:31: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-pru.c:971:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_elf_pru_diff_relocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-pru.c:285:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-pru.c:971:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-pru.c:1128:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-pru.c:1282:25: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-pru.c:1346:23: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-pru.c:1402:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rl78.c:1067:7: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rl78.c:1057:17: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-rl78.c:1067:7: note: Null pointer dereference gdb-13.2/bfd/elf32-rl78.c:1274:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rl78.c:1269:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-rl78.c:1274:11: note: Null pointer dereference gdb-13.2/bfd/elf32-rl78.c:1459:3: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rl78.c:1457:3: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-rl78.c:1459:3: note: Null pointer dereference gdb-13.2/bfd/elf32-rl78.c:1460:7: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rl78.c:1457:3: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-rl78.c:1460:7: note: Null pointer dereference gdb-13.2/bfd/elf32-rl78.c:1913:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rl78.c:1911:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-rl78.c:1913:8: note: Null pointer dereference gdb-13.2/bfd/elf32-rl78.c:566:35: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1181:67: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1290:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1312:25: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1315:24: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rl78.c:1408:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1411:13: style: Variable 'splt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rl78.c:1525:34: style: Parameter 'dynobj' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1581:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rl78.c:1656:30: style: Parameter 'alignment_rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:1662:23: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rl78.c:1664:23: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rl78.c:1839:30: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rl78.c:2084:23: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s12z.c:40:35: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'opru18_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-s12z.c:183:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-s12z.c:40:35: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-s12z.c:73:26: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'shift_addend_reloc' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-s12z.c:153:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-s12z.c:73:26: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/elf32-s12z.c:248:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-s12z.c:269:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:9934:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/bfd/elf32-nds32.c:11540:11: style: Redundant condition: h. '!h || (h && strcmp(h->root.root.string,"_FP_BASE_")!=0)' is equivalent to '!h || strcmp(h->root.root.string,"_FP_BASE_")!=0' [redundantCondition] gdb-13.2/bfd/elf32-nds32.c:11634:14: style: Redundant condition: h. '!h || (h && strcmp(h->root.root.string,"_FP_BASE_")!=0)' is equivalent to '!h || strcmp(h->root.root.string,"_FP_BASE_")!=0' [redundantCondition] gdb-13.2/bfd/elf32-nds32.c:4013:9: style: Condition '0&&info->nocopyreloc' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-nds32.c:9278:9: style: Condition 'mask' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-nds32.c:9277:14: note: Assignment 'mask=0-(val>>31)', assigned value is less than 1 gdb-13.2/bfd/elf32-nds32.c:9278:9: note: Condition 'mask' is always false gdb-13.2/bfd/elf32-nds32.c:13321:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/elf32-nds32.c:4051:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:4050:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:4051:7: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:4328:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:4327:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:4328:4: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:4329:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:4327:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:4329:4: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6265:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6263:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6265:24: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6266:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6263:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6266:12: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6324:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6317:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6324:13: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6325:14: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6317:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6325:14: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6327:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6317:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6327:9: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6371:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6369:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6371:39: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6372:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6369:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6372:43: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6394:25: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6393:8: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6394:25: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6401:25: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6400:8: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6401:25: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6900:44: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6896:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6900:44: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:6902:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:6896:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:6902:11: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:7476:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:7474:7: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:7476:11: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:8692:14: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:8690:7: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-nds32.c:8692:14: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:13402:7: warning: Either the condition '!result' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:13401:7: note: Assuming that condition '!result' is not redundant gdb-13.2/bfd/elf32-nds32.c:13402:7: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:13435:4: warning: Either the condition '!result' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-nds32.c:13434:4: note: Assuming that condition '!result' is not redundant gdb-13.2/bfd/elf32-nds32.c:13435:4: note: Null pointer dereference gdb-13.2/bfd/elf32-nds32.c:5053:12: style: Variable 'rel' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-nds32.c:5028:7: note: rel is assigned gdb-13.2/bfd/elf32-nds32.c:5053:12: note: rel is overwritten gdb-13.2/bfd/elf32-nds32.c:9397:11: style: Variable 'blank_t' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] gdb-13.2/bfd/elf32-nds32.c:9230:11: note: $symbol is assigned gdb-13.2/bfd/elf32-nds32.c:9397:11: note: $symbol is overwritten gdb-13.2/bfd/elf32-nds32.c:6499:19: style: Redundant assignment of 'sgot' to itself. [selfAssignment] gdb-13.2/bfd/elf32-nds32.c:10521:17: style: Redundant assignment of 'irel->r_addend' to itself. [selfAssignment] gdb-13.2/bfd/elf32-nds32.c:5592:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/bfd/elf32-nds32.c:6948:38: style:inconclusive: Function 'get_tls_type' argument 2 names different: declaration 'h' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf32-nds32.c:4960:77: note: Function 'get_tls_type' argument 2 names different: declaration 'h' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-nds32.c:6948:38: note: Function 'get_tls_type' argument 2 names different: declaration 'h' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf32-nds32.c:2655:17: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nds32_elf_9_pcrel_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:341:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:2655:17: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:2688:28: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:2760:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nds32_elf_hi20_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:2058:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:2760:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:2815:24: style: Parameter 'relhi' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:2816:24: style: Parameter 'rello' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:2919:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nds32_elf_generic_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:319:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:2919:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:3028:19: style: Parameter 'symbol' can be declared as pointer to const. However it seems that 'nds32_elf_sda15_reloc' is a callback function, if 'symbol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:525:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:3028:19: note: Parameter 'symbol' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:3029:20: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'nds32_elf_sda15_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:525:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:3029:20: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:3029:40: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nds32_elf_sda15_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:525:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:3029:40: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:3061:43: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'nds32_elf_ignore_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:2536:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:3061:43: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:3062:9: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'nds32_elf_ignore_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-nds32.c:2536:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-nds32.c:3062:9: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-nds32.c:3321:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:3366:54: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:3502:37: style: Variable 'table' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:3947:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:4288:43: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:4338:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:4340:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:4822:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:4838:62: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:5922:18: style: Variable 'srelplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:6131:37: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:6141:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:6367:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:6707:68: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:6948:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:7029:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:7033:31: style: Variable 'ehtab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:7319:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:7441:51: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:7450:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:8656:25: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:8725:42: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:8747:27: style: Parameter 'internal_relocs' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:8748:27: style: Parameter 'irelend' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:8856:26: style: Parameter 'internal_relocs' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:8857:26: style: Parameter 'irelend' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:8906:23: style: Parameter 'relocs' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:9179:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:9184:22: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:9562:59: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:9564:13: style: Variable 'sec_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:9564:21: style: Variable 'sec_b' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:10868:53: style: Variable 'call_irel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:11349:44: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:11350:56: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:11355:20: style: Variable 'first_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:11358:21: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:11488:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:11610:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:11713:43: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:11717:22: style: Variable 'ptr_irel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:11717:56: style: Variable 're_irel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:12604:21: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:12986:24: style: Parameter 'irelend' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:12989:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:13214:47: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:13214:74: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-nds32.c:13342:22: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:13462:22: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:13465:29: style: Variable 'node' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:13530:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-nds32.c:12940:32: warning: Either the condition 'dist<0xffffff' is redundant or there is signed integer overflow for expression 'dist<<16'. [integerOverflowCond] gdb-13.2/bfd/elf32-nds32.c:12936:4: note: Assuming that condition 'dist<0xffffff' is not redundant gdb-13.2/bfd/elf32-nds32.c:12940:32: note: Integer overflow gdb-13.2/bfd/elf32-nds32.c:10197:31: warning: Uninitialized variable: cond_irelfn [uninitvar] gdb-13.2/bfd/elf32-nds32.c:10188:17: note: Assuming condition is false gdb-13.2/bfd/elf32-nds32.c:10197:31: note: Uninitialized variable: cond_irelfn gdb-13.2/bfd/elf32-nds32.c:10390:10: warning: Uninitialized variable: cond_irelfn [uninitvar] gdb-13.2/bfd/elf32-nds32.c:10379:17: note: Assuming condition is false gdb-13.2/bfd/elf32-nds32.c:10390:10: note: Uninitialized variable: cond_irelfn gdb-13.2/bfd/elf32-nds32.c:5805:34: style: Variable 'org_tls_type' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nds32.c:7015:12: style: Variable 'data' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nds32.c:9906:13: style: Variable 'insn_len' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nds32.c:9934:13: style: Variable 'insn_len' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nds32.c:11608:19: style: Variable 'range_l' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-nds32.c:11608:32: style: Variable 'range_h' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf-s390-common.c:67:18: warning: Either the condition 'htab' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-s390-common.c:65:3: note: Assuming that condition 'htab' is not redundant gdb-13.2/bfd/elf-s390-common.c:67:18: note: Null pointer dereference gdb-13.2/bfd/elf-s390-common.c:67:27: warning: Either the condition 'htab->elf.hgot' is redundant or there is possible null pointer dereference: htab->elf.hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-s390-common.c:65:3: note: Assuming that condition 'htab->elf.hgot' is not redundant gdb-13.2/bfd/elf-s390-common.c:67:27: note: Null pointer dereference gdb-13.2/bfd/elf-s390-common.c:68:6: warning: Either the condition 'htab' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-s390-common.c:65:3: note: Assuming that condition 'htab' is not redundant gdb-13.2/bfd/elf-s390-common.c:68:6: note: Null pointer dereference gdb-13.2/bfd/elf-s390-common.c:68:15: warning: Either the condition 'htab->elf.hgot' is redundant or there is possible null pointer dereference: htab->elf.hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-s390-common.c:65:3: note: Assuming that condition 'htab->elf.hgot' is not redundant gdb-13.2/bfd/elf-s390-common.c:68:15: note: Null pointer dereference gdb-13.2/bfd/elf-s390-common.c:71:3: warning: Either the condition 'htab' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf-s390-common.c:65:3: note: Assuming that condition 'htab' is not redundant gdb-13.2/bfd/elf-s390-common.c:71:3: note: Null pointer dereference gdb-13.2/bfd/elf32-s390.c:181:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-s390.c:305:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-s390.c:364:13: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 's390_tls_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-s390.c:125:2: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-s390.c:364:13: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-s390.c:365:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 's390_tls_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-s390.c:125:2: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-s390.c:365:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-s390.c:380:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 's390_elf_ldisp_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-s390.c:161:2: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-s390.c:380:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-s390.c:383:21: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:894:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:1813:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:1816:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:1974:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-s390.c:1986:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-s390.c:3165:28: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:3623:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:3709:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-s390.c:3743:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-s390.c:3772:53: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1499:12: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] gdb-13.2/bfd/elf32-score.c:1498:7: note: outer condition: *loc gdb-13.2/bfd/elf32-score.c:1499:12: note: identical inner condition: *loc gdb-13.2/bfd/elf32-score.c:1079:3: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:1078:3: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:1079:3: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:1269:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:1267:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:1269:7: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:1301:3: warning: Either the condition 'sreloc!=NULL' is redundant or there is possible null pointer dereference: sreloc. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:1300:3: note: Assuming that condition 'sreloc!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:1301:3: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3122:26: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3119:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3122:26: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3125:20: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3119:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3125:20: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3128:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3119:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3128:4: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3256:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3255:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3256:4: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3257:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3255:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3257:4: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3513:3: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3512:3: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3513:3: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3519:7: warning: Either the condition 'g!=NULL' is redundant or there is possible null pointer dereference: g. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3515:3: note: Assuming that condition 'g!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3519:7: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3987:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3981:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3987:45: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:3988:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score.c:3981:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-score.c:3988:7: note: Null pointer dereference gdb-13.2/bfd/elf32-score.c:4022:12: style: Variable 'in_flags' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-score.c:4015:13: note: in_flags is assigned gdb-13.2/bfd/elf32-score.c:4022:12: note: in_flags is overwritten gdb-13.2/bfd/elf32-score.c:4023:13: style: Variable 'out_flags' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-score.c:4016:13: note: out_flags is assigned gdb-13.2/bfd/elf32-score.c:4023:13: note: out_flags is overwritten gdb-13.2/bfd/elf32-score.c:628:27: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gdb-13.2/bfd/elf32-score.c:254:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:300:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:309:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:932:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:309:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:310:18: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:932:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:310:18: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:311:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:932:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:311:25: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:313:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:932:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:313:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:314:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:932:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:314:25: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:323:18: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'score_elf_lo16_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:677:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:323:18: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:326:19: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'score_elf_lo16_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:677:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:326:19: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:444:17: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:606:15: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'score_elf_got_lo16_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:872:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:606:15: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:609:16: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'score_elf_got_lo16_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score.c:872:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score.c:609:16: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-score.c:1095:50: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1484:17: style: Parameter 'sgot' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1528:68: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1716:72: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1738:68: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1825:61: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1844:27: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1958:50: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1995:17: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:2072:18: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:2781:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:2999:25: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3022:42: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3044:18: style: Parameter 'input_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3079:37: style: Variable 'hscore' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:3293:18: style: Variable 'target' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:3464:28: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3470:26: style: Variable 'g' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:3553:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3556:13: style: Variable 'sdyn' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:3747:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:3781:48: style: Variable 'indscore' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score.c:3802:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3854:53: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3884:63: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3916:61: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:3960:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:4428:53: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score.c:1501:16: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elf32-score.c:2250:17: style: Variable 'abs_value' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-score7.c:1362:12: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] gdb-13.2/bfd/elf32-score7.c:1361:7: note: outer condition: *loc gdb-13.2/bfd/elf32-score7.c:1362:12: note: identical inner condition: *loc gdb-13.2/bfd/elf32-score7.c:1941:9: style: Condition 'local_p' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-score7.c:1926:7: note: Assuming that condition 'local_p' is not redundant gdb-13.2/bfd/elf32-score7.c:1941:9: note: Condition 'local_p' is always true gdb-13.2/bfd/elf32-score7.c:965:3: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:964:3: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:965:3: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:1128:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:1126:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:1128:7: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:1161:3: warning: Either the condition 'sreloc!=NULL' is redundant or there is possible null pointer dereference: sreloc. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:1160:3: note: Assuming that condition 'sreloc!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:1161:3: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:2930:26: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:2927:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:2930:26: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:2933:20: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:2927:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:2933:20: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:2936:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:2927:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:2936:4: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3066:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:3065:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:3066:4: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3067:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:3065:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:3067:4: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3324:3: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:3323:3: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:3324:3: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3330:7: warning: Either the condition 'g!=NULL' is redundant or there is possible null pointer dereference: g. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:3326:3: note: Assuming that condition 'g!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:3330:7: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3794:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:3788:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:3794:45: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3795:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-score7.c:3788:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-score7.c:3795:7: note: Null pointer dereference gdb-13.2/bfd/elf32-score7.c:3829:12: style: Variable 'in_flags' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-score7.c:3822:13: note: in_flags is assigned gdb-13.2/bfd/elf32-score7.c:3829:12: note: in_flags is overwritten gdb-13.2/bfd/elf32-score7.c:3830:13: style: Variable 'out_flags' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf32-score7.c:3823:13: note: out_flags is assigned gdb-13.2/bfd/elf32-score7.c:3830:13: note: out_flags is overwritten gdb-13.2/bfd/elf32-score7.c:531:27: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gdb-13.2/bfd/elf32-score7.c:208:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:834:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:208:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:209:18: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:834:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:209:18: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:210:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:834:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:210:25: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:212:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:834:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:212:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:213:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'score_elf_hi16_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:834:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:213:25: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:222:18: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'score_elf_lo16_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:580:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:222:18: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:225:19: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'score_elf_lo16_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:580:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:225:19: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:344:17: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:509:15: style: Parameter 'reloc_entry' can be declared as pointer to const. However it seems that 'score_elf_got_lo16_reloc' is a callback function, if 'reloc_entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:774:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:509:15: note: Parameter 'reloc_entry' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:512:16: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'score_elf_got_lo16_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-score7.c:774:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-score7.c:512:16: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-score7.c:982:50: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1347:17: style: Parameter 'sgot' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1392:68: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1583:72: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1605:68: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1694:61: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1714:27: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1803:50: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1847:17: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:1974:18: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:2588:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:2806:25: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:2829:42: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:2851:18: style: Parameter 'input_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:2887:37: style: Variable 'hscore' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:3103:18: style: Variable 'target' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:3275:28: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:3281:26: style: Variable 'g' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:3365:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:3368:13: style: Variable 'sdyn' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:3561:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:3596:48: style: Variable 'indscore' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-score7.c:3619:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:3672:53: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:3703:63: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:3735:61: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-score7.c:1364:16: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elf32-score7.c:2107:17: style: Variable 'abs_value' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-sparc.c:184:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sparc.c:182:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elf32-sparc.c:184:7: note: Null pointer dereference gdb-13.2/bfd/elf32-sparc.c:34:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sparc.c:298:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sparc.c:300:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rx.c:1831:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rx.c:1829:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-rx.c:1831:8: note: Null pointer dereference gdb-13.2/bfd/elf32-rx.c:3216:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-rx.c:3211:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-rx.c:3216:11: note: Null pointer dereference gdb-13.2/bfd/elf32-rx.c:2259:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2256:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2259:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2364:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2360:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2364:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2433:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2429:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2433:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2472:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2468:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2472:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2486:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2482:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2486:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2524:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2520:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2524:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2619:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2615:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2619:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2633:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2629:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2633:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2671:15: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2667:28: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2671:15: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:2722:11: style: Redundant initialization for 'newrel'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elf32-rx.c:2701:24: note: newrel is initialized gdb-13.2/bfd/elf32-rx.c:2722:11: note: newrel is overwritten gdb-13.2/bfd/elf32-rx.c:4009:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gdb-13.2/bfd/elf32-rx.c:4011:4: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/elf32-rx.c:4009:4: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/elf32-rx.c:1575:28: style: Parameter 'alignment_rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rx.c:1582:23: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rx.c:1584:23: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rx.c:1756:33: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rx.c:1990:59: style: Parameter 'srel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rx.c:2927:24: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-rx.c:3134:66: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rx.c:3226:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-rx.c:3249:22: style: Variable 'ehdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:4352:4: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] gdb-13.2/bfd/elf32-ppc.c:6372:10: style: Condition '0&&tsec->sec_info_type==SEC_INFO_TYPE_MERGE' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-ppc.c:995:2: error: Memory leak: message [memleak] gdb-13.2/bfd/elf32-ppc.c:4560:14: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:4563:13: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:4560:14: note: Null pointer dereference gdb-13.2/bfd/elf32-ppc.c:4951:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:4950:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:4951:7: note: Null pointer dereference gdb-13.2/bfd/elf32-ppc.c:5503:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:5502:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:5503:4: note: Null pointer dereference gdb-13.2/bfd/elf32-ppc.c:5504:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:5502:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:5504:4: note: Null pointer dereference gdb-13.2/bfd/elf32-ppc.c:9901:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:9896:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:9901:13: note: Null pointer dereference gdb-13.2/bfd/elf32-ppc.c:9965:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:9963:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:9965:39: note: Null pointer dereference gdb-13.2/bfd/elf32-ppc.c:9966:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-ppc.c:9963:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-ppc.c:9966:43: note: Null pointer dereference gdb-13.2/bfd/elf32-tic6x.c:3129:25: style: Condition 'h->dyn_relocs!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-tic6x.c:3928:8: style: Condition '!hdr' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-tic6x.c:3154:7: warning: Either the condition 'sreloc!=NULL' is redundant or there is possible null pointer dereference: sreloc. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tic6x.c:3153:7: note: Assuming that condition 'sreloc!=NULL' is not redundant gdb-13.2/bfd/elf32-tic6x.c:3154:7: note: Null pointer dereference gdb-13.2/bfd/elf32-tic6x.c:3390:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tic6x.c:3388:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-tic6x.c:3390:39: note: Null pointer dereference gdb-13.2/bfd/elf32-tic6x.c:3391:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tic6x.c:3388:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-tic6x.c:3391:43: note: Null pointer dereference gdb-13.2/bfd/elf32-tic6x.c:1436:37: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:1464:37: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:1584:22: style: Variable 'out_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:1609:33: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:1671:25: style: Parameter 'rela' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:1916:27: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:1977:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:2114:22: style: Variable 'rel_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:2130:55: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:2131:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:2132:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:2686:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:2690:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:2716:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:2986:20: style: Parameter 'input_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:3194:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:3196:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:3386:28: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:3908:27: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tic6x.c:3911:8: style: Variable 'inp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:3926:23: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:3964:26: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tic6x.c:4109:39: style: Variable 'globals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:718:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:868:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:931:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'ppc_elf_addr16_ha_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ppc.c:682:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ppc.c:931:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-ppc.c:1156:26: style: Variable 'i_ehdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:1184:54: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1214:52: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1303:37: style: Parameter 'flag_name' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1362:20: style: Parameter 'asect' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1377:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:1608:66: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1709:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1710:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1711:20: style: Parameter 'asec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1712:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:1794:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'section_covers_vma' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ppc.c:1892:39: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ppc.c:1794:31: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-ppc.c:1794:59: style: Parameter 'section' can be declared as pointer to const. However it seems that 'section_covers_vma' is a callback function, if 'section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-ppc.c:1892:39: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-ppc.c:1794:59: note: Parameter 'section' can be declared as pointer to const gdb-13.2/bfd/elf32-ppc.c:1845:35: style: Variable 'extdynend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:2513:53: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:2620:23: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:2663:26: style: Parameter 'lsect' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:2820:51: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:2863:28: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:2894:20: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:2895:31: style: Variable 'tga' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:3357:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:3531:68: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:3534:18: style: Variable 'in_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:3666:18: style: Variable 'in_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:4233:42: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:4380:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:4435:44: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:4967:33: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:4968:36: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:5078:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:5095:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:5096:35: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-ppc.c:6087:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:6258:12: style: Variable 'lgot_masks' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:7124:10: style: Variable 'lgot_masks' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:9917:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:9961:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:10066:17: style: Variable 'splt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-ppc.c:2015:13: style: Variable 'names' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-ppc.c:2016:8: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf32-tilegx.c:32:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilegx.c:58:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-v850.c:3781:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elf32-v850.c:3990:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elf32-v850.c:4026:12: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elf32-v850.c:3389:40: style: Condition '(sym_hash)->root.u.def.valueroot.u.def.valueroot.u.def.value0' is not redundant gdb-13.2/bfd/elf32-sh.c:5780:24: note: Array index out of bounds gdb-13.2/bfd/elf32-sh.c:2553:9: style: Condition '0&&info->nocopyreloc' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-sh.c:2561:9: style: Condition '0&&!_bfd_elf_readonly_dynrelocs(h)' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf32-sh.c:613:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:612:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:613:8: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:2590:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:2589:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:2590:7: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:2966:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:2965:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:2966:4: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:2967:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:2965:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:2967:4: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:3116:17: warning: Either the condition 'htab->root.sgotplt' is redundant or there is possible null pointer dereference: htab->root.sgotplt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:3115:7: note: Assuming that condition 'htab->root.sgotplt' is not redundant gdb-13.2/bfd/elf32-sh.c:3116:17: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6165:23: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6163:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6165:23: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6166:11: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6163:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6166:11: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6227:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6220:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6227:13: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6264:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6262:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6264:39: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6265:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6262:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6265:43: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6283:22: warning: Either the condition 'htab->root.hgot!=NULL' is redundant or there is possible null pointer dereference: htab->root.hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6282:8: note: Assuming that condition 'htab->root.hgot!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6283:22: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6284:35: warning: Either the condition 'htab->root.hgot!=NULL' is redundant or there is possible null pointer dereference: htab->root.hgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6282:8: note: Assuming that condition 'htab->root.hgot!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6284:35: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6292:25: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6291:8: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6292:25: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:6299:25: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-sh.c:6298:8: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-sh.c:6299:25: note: Null pointer dereference gdb-13.2/bfd/elf32-sh.c:89:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:105:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:136:31: style: Variable 'last_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:230:50: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'sh_elf_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-sh-relocs.h:44:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-sh.c:230:50: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-sh.c:304:47: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'sh_elf_ignore_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-sh-relocs.h:402:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-sh.c:304:47: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-sh.c:305:13: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'sh_elf_ignore_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-sh-relocs.h:402:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-sh.c:305:13: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-sh.c:464:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:588:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:838:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:841:38: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:1153:37: style: Variable 'irelscanend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:1322:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:1388:41: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'sh_elf_swap_insns' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-sh.c:1370:59: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-sh.c:1388:41: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/elf32-sh.c:1393:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:2263:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:2265:34: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:2976:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:2977:38: style: Variable 'end_local_funcdesc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:2980:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:3251:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:5102:32: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:5175:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:5186:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:5683:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:5953:17: style: Variable 'srelplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:6260:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-sh.c:6431:58: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:6461:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-sh.c:6513:34: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:972:35: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2816:9: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2824:49: note: Calling function 'tilepro_elf_append_rela_32', 2nd argument 's' value is 0 gdb-13.2/bfd/elf32-tilepro.c:972:35: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:973:12: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2816:9: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2824:49: note: Calling function 'tilepro_elf_append_rela_32', 2nd argument 's' value is 0 gdb-13.2/bfd/elf32-tilepro.c:973:12: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:1825:4: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:1824:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:1825:4: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:1826:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:1824:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:1826:8: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:1852:3: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:1849:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:1852:3: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:1976:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:1974:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:1976:7: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:2197:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2196:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2197:12: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:2207:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2206:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2207:4: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:2208:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2206:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2208:4: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:2799:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2796:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2799:14: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:2840:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:2838:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:2840:8: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:3133:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:3132:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:3133:14: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:3134:8: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:3132:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:3134:8: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:3480:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:3478:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:3480:24: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:3481:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:3478:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:3481:12: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:3592:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-tilepro.c:3591:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elf32-tilepro.c:3592:12: note: Null pointer dereference gdb-13.2/bfd/elf32-tilepro.c:757:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilepro.c:911:58: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilepro.c:937:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilepro.c:968:72: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilepro.c:1729:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:2217:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:2220:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:2299:35: style: Variable 'got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:2384:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilepro.c:2395:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-tilepro.c:3414:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:3545:32: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-tilepro.c:3709:17: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-visium.c:843:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-visium.c:838:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-visium.c:843:11: note: Null pointer dereference gdb-13.2/bfd/elf32-visium.c:308:41: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'visium_elf_howto_parity_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-visium.c:239:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-visium.c:308:41: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-visium.c:393:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-visium.c:440:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-visium.c:500:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-visium.c:774:69: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-wasm32.c:63:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-xgate.c:494:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-xgate.c:488:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-xgate.c:494:45: note: Null pointer dereference gdb-13.2/bfd/elf32-xgate.c:496:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-xgate.c:488:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-xgate.c:496:7: note: Null pointer dereference gdb-13.2/bfd/elf32-xgate.c:462:14: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'xgate_elf_ignore_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-xgate.c:336:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-xgate.c:462:14: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf32-xgate.c:463:9: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'xgate_elf_ignore_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-xgate.c:336:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-xgate.c:463:9: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-xtensa.c:47:14: error: There is an unknown macro here somewhere. Configuration is required. If vsprint_msg is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/elf32-xstormy16.c:725:3: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-xstormy16.c:723:3: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-xstormy16.c:725:3: note: Null pointer dereference gdb-13.2/bfd/elf32-xstormy16.c:726:7: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-xstormy16.c:723:3: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-xstormy16.c:726:7: note: Null pointer dereference gdb-13.2/bfd/elf32-xstormy16.c:36:9: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'xstormy16_elf_24_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-xstormy16.c:201:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-xstormy16.c:36:9: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf32-xstormy16.c:352:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-xstormy16.c:417:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-xstormy16.c:580:35: style: Parameter 'dynobj' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-xstormy16.c:637:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-xstormy16.c:959:34: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-xstormy16.c:962:13: style: Variable 'splt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-z80.c:604:22: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gdb-13.2/bfd/elf32-z80.c:605:22: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gdb-13.2/bfd/elf32-z80.c:274:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-z80.c:295:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-z80.c:396:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-vax.c:695:10: style: Condition 'h!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf32-vax.c:536:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:528:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:536:45: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:538:7: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:528:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:538:7: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:651:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:647:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:651:8: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:872:11: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:868:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:872:11: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:899:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:898:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:899:7: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:905:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:904:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:905:7: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:964:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:963:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:964:7: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1043:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1042:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1043:4: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1044:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1042:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1044:4: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1330:6: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1327:6: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1330:6: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1377:18: warning: Either the condition 'sgotplt!=NULL' is redundant or there is possible null pointer dereference: sgotplt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1366:4: note: Assuming that condition 'sgotplt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1377:18: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1378:6: warning: Either the condition 'sgotplt!=NULL' is redundant or there is possible null pointer dereference: sgotplt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1366:4: note: Assuming that condition 'sgotplt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1378:6: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1641:15: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1641:15: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1647:5: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1647:5: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1650:5: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1650:5: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1654:6: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1654:6: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1655:8: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1655:8: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1657:5: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1657:5: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1660:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1660:24: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1661:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1661:12: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1665:13: warning: Either the condition 'srela!=NULL' is redundant or there is possible null pointer dereference: srela. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1624:7: note: Assuming that condition 'srela!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1665:13: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1689:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1687:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1689:24: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1690:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1687:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1690:12: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1694:7: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1687:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1694:7: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1696:13: warning: Either the condition 'srela!=NULL' is redundant or there is possible null pointer dereference: srela. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1687:7: note: Assuming that condition 'srela!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1696:13: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1697:14: warning: Either the condition 'srela!=NULL' is redundant or there is possible null pointer dereference: srela. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1687:7: note: Assuming that condition 'srela!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1697:14: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1720:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1713:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1720:13: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1755:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1753:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1755:39: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:1756:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf32-vax.c:1753:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf32-vax.c:1756:43: note: Null pointer dereference gdb-13.2/bfd/elf32-vax.c:324:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-vax.c:336:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-vax.c:502:68: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-vax.c:560:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-vax.c:991:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-vax.c:1163:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-vax.c:1598:71: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-vax.c:1610:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-vax.c:1735:73: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-vax.c:1750:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:4611:11: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] gdb-13.2/bfd/elf32-spu.c:1100:11: warning: Possible null pointer dereference: ibfd [nullPointer] gdb-13.2/bfd/elf32-spu.c:1507:32: note: Calling function 'count_stub', 2nd argument 'NULL' value is 0 gdb-13.2/bfd/elf32-spu.c:1100:11: note: Null pointer dereference gdb-13.2/bfd/elf32-spu.c:1108:14: warning: Possible null pointer dereference: ibfd [nullPointer] gdb-13.2/bfd/elf32-spu.c:1507:32: note: Calling function 'count_stub', 2nd argument 'NULL' value is 0 gdb-13.2/bfd/elf32-spu.c:1108:14: note: Null pointer dereference gdb-13.2/bfd/elf32-spu.c:1108:55: warning: Possible null pointer dereference: irela [nullPointer] gdb-13.2/bfd/elf32-spu.c:1507:60: note: Calling function 'count_stub', 6th argument 'NULL' value is 0 gdb-13.2/bfd/elf32-spu.c:1108:55: note: Null pointer dereference gdb-13.2/bfd/elf64-bpf.c:249:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:185:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:272:26: style: Variable 'ehdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:706:18: style: Variable 's0' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:908:30: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:953:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:1172:39: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:1178:44: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:1495:13: style: Variable 'sym_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:1519:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:1565:41: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:1823:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'ovl_mgr_open' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf32-spu.c:1870:10: note: You might need to cast the function pointer here gdb-13.2/bfd/elf32-spu.c:1823:32: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf32-spu.c:1835:23: style: Variable 'os' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:1858:23: style: Variable 'os' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:1938:8: style: Variable 'obfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2183:8: style: Variable 'abfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2353:13: style: Variable 'sec1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2353:19: style: Variable 'sec2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2413:25: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2680:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:2814:26: style: Variable 'fun' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2912:33: style: Variable 'sec_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3112:22: style: Variable 'syms' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3217:8: style: Variable 'ibfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3229:34: style: Variable 'sec_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3321:32: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3366:8: style: Variable 'ibfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3450:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3704:33: style: Variable 'sec_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3737:8: style: Variable 'ibfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3749:17: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3779:37: style: Variable 'sec_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3780:34: style: Variable 'sinfo' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:3938:37: style: Variable 'sec_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:4083:30: style: Variable 'sinfo' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:4111:21: style: Parameter 'ovly_map' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:4113:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:4445:31: style: Variable 'sinfo' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:4734:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:4756:45: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:4766:26: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:5137:50: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:5138:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:5212:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:5216:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:5234:62: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:5236:13: style: Variable 'toe' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:5341:20: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf32-spu.c:5357:33: style: Variable 'last' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:5467:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf32-spu.c:2128:26: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elf32-spu.c:2043:11: style: Variable 'off' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf64-gen.c:63:42: style: Parameter 'o' can be declared as pointer to const. However it seems that 'check_for_relocs' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-gen.c:85:32: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-gen.c:63:42: note: Parameter 'o' can be declared as pointer to const gdb-13.2/bfd/elfcode.h:642:28: style: Condition 'i_ehdrp->e_shnum!=i_shdr.sh_size' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elfcode.h:640:21: note: i_ehdrp->e_shnum is assigned 'i_shdr.sh_size' here. gdb-13.2/bfd/elfcode.h:642:28: note: Condition 'i_ehdrp->e_shnum!=i_shdr.sh_size' is always false gdb-13.2/bfd/elfcode.h:651:28: style: Condition 'i_ehdrp->e_shstrndx!=i_shdr.sh_link' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elfcode.h:650:24: note: i_ehdrp->e_shstrndx is assigned 'i_shdr.sh_link' here. gdb-13.2/bfd/elfcode.h:651:28: note: Condition 'i_ehdrp->e_shstrndx!=i_shdr.sh_link' is always false gdb-13.2/bfd/elfcode.h:659:25: style: Condition 'i_ehdrp->e_phnum!=i_shdr.sh_info' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elfcode.h:658:21: note: i_ehdrp->e_phnum is assigned 'i_shdr.sh_info' here. gdb-13.2/bfd/elfcode.h:659:25: note: Condition 'i_ehdrp->e_phnum!=i_shdr.sh_info' is always false gdb-13.2/bfd/elfcore.h:195:25: style: Condition 'i_ehdrp->e_phnum!=i_shdr.sh_info' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elfcore.h:194:21: note: i_ehdrp->e_phnum is assigned 'i_shdr.sh_info' here. gdb-13.2/bfd/elfcore.h:195:25: note: Condition 'i_ehdrp->e_phnum!=i_shdr.sh_info' is always false gdb-13.2/bfd/elfcode.h:821:24: style: Opposite expression on both sides of '&='. [oppositeExpression] gdb-13.2/bfd/elfcode.h:869:14: style: Variable 'targ_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcode.h:1121:22: style: Variable 'i_ehdrp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcode.h:1200:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcode.h:1712:32: style: Variable 'last_phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcode.h:1712:44: style: Variable 'first_phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcore.h:42:9: style: Variable 'corename' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcore.h:275:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfcode.h:703:11: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] gdb-13.2/bfd/elf64-mips.c:3861:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mips.c:4249:9: style: Variable 'failedp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-mips.c:4312:14: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mips.c:4411:15: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mips.c:4529:30: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mips.c:4540:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mips.c:4570:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-hppa.c:1451:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gdb-13.2/bfd/elf64-hppa.c:1444:23: note: outer condition: dynamic_symbol gdb-13.2/bfd/elf64-hppa.c:1451:11: note: identical inner condition: dynamic_symbol gdb-13.2/bfd/elf64-hppa.c:1053:11: style: Condition 'hh' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elf64-hppa.c:1062:15: style: Condition 'hh==NULL' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf64-hppa.c:1072:15: style: Condition 'hh==NULL' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf64-hppa.c:1559:4: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1558:4: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:1559:4: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:1560:4: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1558:4: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:1560:4: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:1928:12: warning: Either the condition 'sopd!=NULL' is redundant or there is possible null pointer dereference: sopd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1918:7: note: Assuming that condition 'sopd!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:1928:12: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:1929:12: warning: Either the condition 'sopd!=NULL' is redundant or there is possible null pointer dereference: sopd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1918:7: note: Assuming that condition 'sopd!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:1929:12: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:1931:9: warning: Either the condition 'sopd!=NULL' is redundant or there is possible null pointer dereference: sopd. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1918:7: note: Assuming that condition 'sopd!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:1931:9: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:1998:15: warning: Either the condition 'stub!=NULL' is redundant or there is possible null pointer dereference: stub. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1992:7: note: Assuming that condition 'stub!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:1998:15: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:2013:26: warning: Either the condition 'stub!=NULL' is redundant or there is possible null pointer dereference: stub. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:1992:7: note: Assuming that condition 'stub!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:2013:26: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:2452:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:2450:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:2452:39: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:2453:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:2450:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:2453:43: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:2871:15: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:2870:7: note: Assuming that condition 'p!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:2871:15: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:3519:11: warning: Either the condition 'hh!=NULL' is redundant or there is possible null pointer dereference: hh. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-hppa.c:3513:2: note: Assuming that condition 'hh!=NULL' is not redundant gdb-13.2/bfd/elf64-hppa.c:3519:11: note: Null pointer dereference gdb-13.2/bfd/elf64-hppa.c:552:28: error: Pointer addition with NULL pointer. [nullPointerArithmetic] gdb-13.2/bfd/elf64-hppa.c:527:38: note: Assignment 'local_syms=NULL', assigned value is 0 gdb-13.2/bfd/elf64-hppa.c:539:31: note: Assuming condition is false gdb-13.2/bfd/elf64-hppa.c:552:28: note: Null pointer addition gdb-13.2/bfd/elf64-hppa.c:746:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gdb-13.2/bfd/elf64-hppa.c:748:4: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/elf64-hppa.c:746:4: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/elf64-hppa.c:318:23: style: Variable 'i_ehdrp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:470:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:528:32: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:630:32: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:1503:25: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:1584:23: style: Variable 'end_local_opd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:1586:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:1863:38: style: Variable 'hh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:2155:32: style: Variable 'nh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:2448:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:2533:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-hppa.c:2563:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-hppa.c:2608:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:2619:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-hppa.c:2640:65: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-hppa.c:2751:24: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-hppa.c:2867:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-hppa.c:3644:15: style: Variable 'local_opd_offsets' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-nfp.c:131:26: style:inconclusive: Function 'elf64_nfp_reloc' argument 2 names different: declaration 'reloc_entry' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf64-nfp.c:31:14: note: Function 'elf64_nfp_reloc' argument 2 names different: declaration 'reloc_entry' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:131:26: note: Function 'elf64_nfp_reloc' argument 2 names different: declaration 'reloc_entry' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:132:21: style:inconclusive: Function 'elf64_nfp_reloc' argument 3 names different: declaration 'symbol' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf64-nfp.c:32:14: note: Function 'elf64_nfp_reloc' argument 3 names different: declaration 'symbol' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:132:21: note: Function 'elf64_nfp_reloc' argument 3 names different: declaration 'symbol' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:134:29: style:inconclusive: Function 'elf64_nfp_reloc' argument 5 names different: declaration 'input_section' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf64-nfp.c:34:15: note: Function 'elf64_nfp_reloc' argument 5 names different: declaration 'input_section' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:134:29: note: Function 'elf64_nfp_reloc' argument 5 names different: declaration 'input_section' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:135:21: style:inconclusive: Function 'elf64_nfp_reloc' argument 6 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elf64-nfp.c:35:10: note: Function 'elf64_nfp_reloc' argument 6 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:135:21: note: Function 'elf64_nfp_reloc' argument 6 names different: declaration 'output_bfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elf64-nfp.c:130:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf64_nfp_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-nfp.c:74:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-nfp.c:130:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-nfp.c:131:26: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf64_nfp_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-nfp.c:74:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-nfp.c:131:26: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-nfp.c:132:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf64_nfp_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-nfp.c:74:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-nfp.c:132:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-nfp.c:133:15: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf64_nfp_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-nfp.c:74:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-nfp.c:133:15: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-nfp.c:134:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf64_nfp_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-nfp.c:74:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-nfp.c:134:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-nfp.c:135:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf64_nfp_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-nfp.c:74:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-nfp.c:135:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-nfp.c:161:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-nfp.c:168:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mmix.c:2671:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-mmix.c:2670:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf64-mmix.c:2671:8: note: Null pointer dereference gdb-13.2/bfd/elf64-mmix.c:796:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mmix.c:813:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mmix.c:1954:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-mmix.c:2059:17: style: Parameter 'input_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mmix.c:2090:20: style: Variable 'elfsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-mmix.c:2130:24: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-mmix.c:2145:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-mmix.c:2522:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-mmix.c:2635:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-mmix.c:1115:10: style: Variable 'r' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf64-mmix.c:1537:28: style: Variable 'undefined_signalled' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf64-alpha.c:3640:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elf64-alpha.c:2577:23: style: Condition 'entries' is always false [knownConditionTrueFalse] gdb-13.2/bfd/elf64-alpha.c:2561:13: note: Assignment 'entries=0', assigned value is 0 gdb-13.2/bfd/elf64-alpha.c:2577:23: note: Condition 'entries' is always false gdb-13.2/bfd/elf64-alpha.c:2004:20: warning: Either the condition 'h' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:1961:8: note: Assuming that condition 'h' is not redundant gdb-13.2/bfd/elf64-alpha.c:2004:20: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:2745:7: warning: Either the condition 'srel!=NULL' is redundant or there is possible null pointer dereference: srel. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:2744:7: note: Assuming that condition 'srel!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:2745:7: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:2831:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:2830:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:2831:4: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:2832:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:2830:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:2832:4: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:3551:11: warning: Either the condition '!lit_gotent' is redundant or there is possible null pointer dereference: lit_gotent. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:3549:5: note: Assuming that condition '!lit_gotent' is not redundant gdb-13.2/bfd/elf64-alpha.c:3551:11: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:3878:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:3876:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:3878:11: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:4354:4: warning: Either the condition 'gotent!=NULL' is redundant or there is possible null pointer dereference: gotent. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:4353:4: note: Assuming that condition 'gotent!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:4354:4: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:4686:4: warning: Either the condition 'gotent!=NULL' is redundant or there is possible null pointer dereference: gotent. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:4685:4: note: Assuming that condition 'gotent!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:4686:4: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:4942:17: warning: Either the condition 'splt!=NULL' is redundant or there is possible null pointer dereference: splt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:4940:7: note: Assuming that condition 'splt!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:4942:17: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:4949:8: warning: Either the condition 'sgotplt!=NULL' is redundant or there is possible null pointer dereference: sgotplt. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-alpha.c:4948:4: note: Assuming that condition 'sgotplt!=NULL' is not redundant gdb-13.2/bfd/elf64-alpha.c:4949:8: note: Null pointer dereference gdb-13.2/bfd/elf64-alpha.c:4828:13: style: Variable 'plt_index' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf64-alpha.c:4818:16: note: plt_index is assigned gdb-13.2/bfd/elf64-alpha.c:4828:13: note: plt_index is overwritten gdb-13.2/bfd/elf64-alpha.c:5013:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gdb-13.2/bfd/elf64-alpha.c:373:50: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'elf64_alpha_reloc_nil' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-alpha.c:579:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-alpha.c:373:50: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/elf64-alpha.c:374:15: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'elf64_alpha_reloc_nil' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-alpha.c:579:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-alpha.c:374:15: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf64-alpha.c:386:50: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'elf64_alpha_reloc_bad' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-alpha.c:747:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-alpha.c:386:50: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/elf64-alpha.c:387:15: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'elf64_alpha_reloc_bad' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-alpha.c:747:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-alpha.c:387:15: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf64-alpha.c:439:36: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'elf64_alpha_reloc_gpdisp' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-alpha.c:609:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-alpha.c:439:36: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf64-alpha.c:1072:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:1087:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:1194:33: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:1225:27: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:1445:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:1488:10: style: Variable 'fraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:1695:23: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:1767:38: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:2045:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:2209:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:2266:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:2964:30: style: Parameter 'relend' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:3114:66: style: Variable 'gpdisp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:3714:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:3823:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:4784:31: style: Variable 'srel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:4924:32: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-alpha.c:4935:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:5110:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:5158:14: style: Variable 'eraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-alpha.c:5279:14: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-sparc.c:369:27: style: Array index 'idx' is used before limits check. [arrayIndexThenCheck] gdb-13.2/bfd/elf64-sparc.c:812:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-sparc.c:810:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elf64-sparc.c:812:7: note: Null pointer dereference gdb-13.2/bfd/elf64-sparc.c:38:74: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-sparc.c:525:36: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-sparc.c:651:20: style: Variable 'elfsym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-sparc.c:1027:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-sparc.c:1029:63: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-s390.c:2993:11: style: Variable 'insn1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf64-s390.c:2982:14: note: insn1 is assigned gdb-13.2/bfd/elf64-s390.c:2993:11: note: insn1 is overwritten gdb-13.2/bfd/elf64-s390.c:3021:11: style: Variable 'insn1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elf64-s390.c:3012:11: note: insn1 is assigned gdb-13.2/bfd/elf64-s390.c:3021:11: note: insn1 is overwritten gdb-13.2/bfd/elf64-s390.c:334:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-s390.c:394:13: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 's390_tls_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-s390.c:136:2: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-s390.c:394:13: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elf64-s390.c:395:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 's390_tls_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-s390.c:136:2: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-s390.c:395:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf64-s390.c:410:14: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 's390_elf_ldisp_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-s390.c:172:2: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-s390.c:410:14: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elf64-s390.c:413:21: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:813:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:1766:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:1769:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:1941:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-s390.c:1953:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-s390.c:2229:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:2230:15: style: Variable 'sym_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:3144:28: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:3493:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:3591:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-s390.c:3626:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-s390.c:3655:53: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-s390.c:3792:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-tilegx.c:32:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-tilegx.c:58:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ia64-vms.c:498:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:496:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:498:11: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:1351:19: warning: Possible null pointer dereference: abfd [nullPointer] gdb-13.2/bfd/elf64-ia64-vms.c:4008:43: note: Calling function 'get_dyn_sym_info', 3rd argument 'NULL' value is 0 gdb-13.2/bfd/elf64-ia64-vms.c:1600:46: note: Calling function 'get_local_sym_hash', 2nd argument 'abfd' value is 0 gdb-13.2/bfd/elf64-ia64-vms.c:1351:19: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:1352:17: warning: Possible null pointer dereference: rel [nullPointer] gdb-13.2/bfd/elf64-ia64-vms.c:4008:49: note: Calling function 'get_dyn_sym_info', 4th argument 'NULL' value is 0 gdb-13.2/bfd/elf64-ia64-vms.c:1600:52: note: Calling function 'get_local_sym_hash', 3rd argument 'rel' value is 0 gdb-13.2/bfd/elf64-ia64-vms.c:1352:17: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:1357:26: warning: Possible null pointer dereference: rel [nullPointer] gdb-13.2/bfd/elf64-ia64-vms.c:4008:49: note: Calling function 'get_dyn_sym_info', 4th argument 'NULL' value is 0 gdb-13.2/bfd/elf64-ia64-vms.c:1600:52: note: Calling function 'get_local_sym_hash', 3rd argument 'rel' value is 0 gdb-13.2/bfd/elf64-ia64-vms.c:1357:26: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:1707:30: warning: Either the condition 'info!=NULL' is redundant or there is possible null pointer dereference: info. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:1697:13: note: Assuming that condition 'info!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:1707:30: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:2781:7: warning: Either the condition 'dynsec!=NULL' is redundant or there is possible null pointer dereference: dynsec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:2780:7: note: Assuming that condition 'dynsec!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:2781:7: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:2785:7: warning: Either the condition 'dynstrsec!=NULL' is redundant or there is possible null pointer dereference: dynstrsec. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:2784:7: note: Assuming that condition 'dynstrsec!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:2785:7: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:2949:24: warning: Either the condition 'phdr!=NULL' is redundant or there is possible null pointer dereference: phdr. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:2947:3: note: Assuming that condition 'phdr!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:2949:24: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:4083:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:4082:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:4083:39: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:4084:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:4082:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:4084:43: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:4092:25: warning: Either the condition 'phdr!=NULL' is redundant or there is possible null pointer dereference: phdr. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:4089:7: note: Assuming that condition 'phdr!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:4092:25: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:4317:12: warning: Either the condition 'ptr!=NULL' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:4315:3: note: Assuming that condition 'ptr!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:4312:14: note: file is assigned '(FILE*)ptr' here. gdb-13.2/bfd/elf64-ia64-vms.c:4317:12: note: Null pointer dereference gdb-13.2/bfd/elf64-ia64-vms.c:2951:20: warning: Either the condition 'phdr!=NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] gdb-13.2/bfd/elf64-ia64-vms.c:2947:3: note: Assuming that condition 'phdr!=NULL' is not redundant gdb-13.2/bfd/elf64-ia64-vms.c:2951:20: note: Null pointer subtraction gdb-13.2/bfd/elf64-ia64-vms.c:348:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:411:39: style: Variable 'dyn_i' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:460:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:865:26: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ia64-vms.c:902:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ia64-vms.c:911:58: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ia64-vms.c:971:39: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:982:39: style: Variable 'entry1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:984:39: style: Variable 'entry2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:1911:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:1913:13: style: Variable 'got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:1913:19: style: Variable 'fptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:1913:33: style: Variable 'pltoff' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:2769:17: style: Variable 'dynsec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:2821:10: style: Variable 'soname' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:2929:22: style: Variable 'phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:3300:38: style: Variable 'ia64_info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:3814:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:4070:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:4076:26: style: Variable 'phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:4077:26: style: Variable 'base_phdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:4217:69: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ia64-vms.c:4504:22: style: Variable 'i_ehdrp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:4533:14: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:4746:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ia64-vms.c:1629:25: error: Uninitialized variables: &key.got_offset, &key.fptr_offset, &key.pltoff_offset, &key.plt_offset, &key.plt2_offset, &key.h, &key.reloc_entries, &key.got_done, &key.fptr_done, &key.pltoff_done, &key.want_got, &key.want_gotx, &key.want_fptr, &key.want_ltoff_fptr, &key.want_plt, &key.want_plt2, &key.want_pltoff [uninitvar] gdb-13.2/bfd/elfn32-mips.c:3692:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfn32-mips.c:3885:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfn32-mips.c:3915:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfn32-mips.c:4038:32: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:4014:8: style: Redundant condition: pair. '!pair || (pair && !load)' is equivalent to '!pair || !load' [redundantCondition] gdb-13.2/bfd/elfnn-aarch64.c:3897:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/elfnn-aarch64.c:4495:16: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4511:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4495:16: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:4500:13: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4511:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4500:13: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:4505:16: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4511:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4505:16: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:4506:18: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4511:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4506:18: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:4527:18: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4538:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4527:18: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:4557:32: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4511:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4557:32: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:4558:20: warning: Either the condition 'hash!=NULL' is redundant or there is possible null pointer dereference: hash. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:4511:45: note: Assuming that condition 'hash!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:4558:20: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:6866:13: warning: Either the condition 'howto!=NULL' is redundant or there is possible null pointer dereference: howto. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:6865:4: note: Assuming that condition 'howto!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:6866:13: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:7345:11: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:7340:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:7345:11: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:7350:47: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:7340:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:7350:47: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:8909:7: warning: Either the condition 'sreloc!=NULL' is redundant or there is possible null pointer dereference: sreloc. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-aarch64.c:8907:7: note: Assuming that condition 'sreloc!=NULL' is not redundant gdb-13.2/bfd/elfnn-aarch64.c:8909:7: note: Null pointer dereference gdb-13.2/bfd/elfnn-aarch64.c:3724:13: style: Variable '*load' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elfnn-aarch64.c:3720:8: note: *load is assigned gdb-13.2/bfd/elfnn-aarch64.c:3724:13: note: *load is overwritten gdb-13.2/bfd/elfnn-aarch64.c:6849:8: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] gdb-13.2/bfd/elfnn-aarch64.c:2173:55: style: Parameter 'howto' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:2773:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:2783:31: style: Variable 'h1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:2785:31: style: Variable 'h2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:2990:19: style: Parameter 'sym_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:3168:49: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:3384:39: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:3425:41: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:3428:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:3431:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:4114:50: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:4199:39: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:4384:45: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:4453:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:5094:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:5105:35: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:5281:39: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:5998:35: style: Variable 'locals' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:6273:52: style: Variable 'data' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:7363:61: style: Parameter 'eh' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:7366:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:8016:15: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:8027:65: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:8178:25: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:8293:43: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:8402:13: style: Variable 'stub_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:8404:9: style: Variable 'stub_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:8809:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:8923:39: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9010:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9284:28: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9446:17: style: Variable 'plt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9446:23: style: Variable 'gotplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9446:32: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9691:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9880:33: style: Variable 'extdynend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-aarch64.c:9984:47: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-aarch64.c:9047:12: style: Variable 'srel' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf64-x86-64.c:300:36: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:340:57: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:385:55: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:1078:16: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:1080:25: style: Parameter 'symtab_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:1092:13: style: Variable 'call' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-x86-64.c:1625:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-x86-64.c:1654:39: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-x86-64.c:1755:36: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-x86-64.c:5131:26: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:5168:17: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:5198:49: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:5205:44: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:5214:38: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:5259:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-x86-64.c:5296:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-x86-64.c:5498:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-x86-64.c:5500:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:500:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:498:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfnn-ia64.c:500:11: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:1145:14: warning: Either the condition 's' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:1149:11: note: Assuming that condition 's' is not redundant gdb-13.2/bfd/elfnn-ia64.c:1145:14: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:1591:19: warning: Possible null pointer dereference: abfd [nullPointer] gdb-13.2/bfd/elfnn-ia64.c:4522:43: note: Calling function 'get_dyn_sym_info', 3rd argument 'NULL' value is 0 gdb-13.2/bfd/elfnn-ia64.c:1840:46: note: Calling function 'get_local_sym_hash', 2nd argument 'abfd' value is 0 gdb-13.2/bfd/elfnn-ia64.c:1591:19: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:1592:17: warning: Possible null pointer dereference: rel [nullPointer] gdb-13.2/bfd/elfnn-ia64.c:4522:49: note: Calling function 'get_dyn_sym_info', 4th argument 'NULL' value is 0 gdb-13.2/bfd/elfnn-ia64.c:1840:52: note: Calling function 'get_local_sym_hash', 3rd argument 'rel' value is 0 gdb-13.2/bfd/elfnn-ia64.c:1592:17: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:1597:26: warning: Possible null pointer dereference: rel [nullPointer] gdb-13.2/bfd/elfnn-ia64.c:4522:49: note: Calling function 'get_dyn_sym_info', 4th argument 'NULL' value is 0 gdb-13.2/bfd/elfnn-ia64.c:1840:52: note: Calling function 'get_local_sym_hash', 3rd argument 'rel' value is 0 gdb-13.2/bfd/elfnn-ia64.c:1597:26: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:3011:7: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:3010:7: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elfnn-ia64.c:3011:7: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:3012:7: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:3010:7: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elfnn-ia64.c:3012:7: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:4622:39: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:4621:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elfnn-ia64.c:4622:39: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:4623:43: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:4621:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elfnn-ia64.c:4623:43: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:4796:12: warning: Either the condition 'ptr!=NULL' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-ia64.c:4794:3: note: Assuming that condition 'ptr!=NULL' is not redundant gdb-13.2/bfd/elfnn-ia64.c:4791:14: note: file is assigned '(FILE*)ptr' here. gdb-13.2/bfd/elfnn-ia64.c:4796:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-ia64.c:2706:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/bfd/elfnn-ia64.c:1532:16: style:inconclusive: Function 'elfNN_ia64_dyn_sym_traverse' argument 3 names different: declaration 'info' definition 'data'. [funcArgNamesDifferent] gdb-13.2/bfd/elfnn-ia64.c:184:11: note: Function 'elfNN_ia64_dyn_sym_traverse' argument 3 names different: declaration 'info' definition 'data'. gdb-13.2/bfd/elfnn-ia64.c:1532:16: note: Function 'elfNN_ia64_dyn_sym_traverse' argument 3 names different: declaration 'info' definition 'data'. gdb-13.2/bfd/elfnn-ia64.c:2048:51: style:inconclusive: Function 'get_pltoff' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elfnn-ia64.c:196:37: note: Function 'get_pltoff' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elfnn-ia64.c:2048:51: note: Function 'get_pltoff' argument 2 names different: declaration 'info' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elfnn-ia64.c:347:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:890:30: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:1048:26: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:1108:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:1235:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:1283:54: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:1372:39: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:1383:39: style: Variable 'entry1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:1385:39: style: Variable 'entry2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:2154:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:2156:13: style: Variable 'got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:2156:19: style: Variable 'fptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:2156:33: style: Variable 'pltoff' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:3505:46: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:3517:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:3693:38: style: Variable 'ia64_info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:4254:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:4615:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-ia64.c:4698:69: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-ia64.c:1869:25: error: Uninitialized variables: &key.got_offset, &key.fptr_offset, &key.pltoff_offset, &key.plt_offset, &key.plt2_offset, &key.tprel_offset, &key.dtpmod_offset, &key.dtprel_offset, &key.h, &key.reloc_entries, &key.got_done, &key.fptr_done, &key.pltoff_done, &key.tprel_done, &key.dtpmod_done, &key.dtprel_done, &key.want_got, &key.want_gotx, &key.want_fptr, &key.want_ltoff_fptr, &key.want_plt, &key.want_plt2, &key.want_pltoff, &key.want_tprel, &key.want_dtpmod, &key.want_dtprel [uninitvar] gdb-13.2/bfd/elfnn-loongarch.c:2359:7: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] gdb-13.2/bfd/elfnn-loongarch.c:1380:7: style: The if condition is the same as the previous if condition [duplicateCondition] gdb-13.2/bfd/elfnn-loongarch.c:1364:7: note: First condition gdb-13.2/bfd/elfnn-loongarch.c:1380:7: note: Second condition gdb-13.2/bfd/elfnn-loongarch.c:971:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:969:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:971:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:1587:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:1586:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:1587:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:1828:4: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:1827:3: note: Assuming that condition '!val' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:1828:4: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:1838:4: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:1837:3: note: Assuming that condition '!val' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:1838:4: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:1850:9: warning: Either the condition 's' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:1845:3: note: Assuming that condition 's' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:1850:9: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:3615:19: warning: Either the condition 'lo!=NULL' is redundant or there is possible null pointer dereference: lo. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:3614:8: note: Assuming that condition 'lo!=NULL' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:3615:19: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:3616:13: warning: Either the condition 'lo!=NULL' is redundant or there is possible null pointer dereference: lo. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:3614:8: note: Assuming that condition 'lo!=NULL' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:3616:13: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:3664:23: warning: Either the condition 'sgot' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:3662:7: note: Assuming that condition 'sgot' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:3664:23: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:3810:12: warning: Either the condition '!htab' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-loongarch.c:3809:3: note: Assuming that condition '!htab' is not redundant gdb-13.2/bfd/elfnn-loongarch.c:3810:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-loongarch.c:252:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:261:31: style: Variable 'h1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:262:31: style: Variable 'h2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:605:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:608:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:948:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:966:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:1577:43: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-loongarch.c:1616:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:1619:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:2119:25: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-loongarch.c:3534:36: style: Variable 'last_slot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:3542:32: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:3739:19: style: Parameter 'sdyn' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-loongarch.c:3744:22: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-loongarch.c:4005:60: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-loongarch.c:4038:58: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-aarch64.c:579:63: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-aarch64.c:611:61: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-ia64.c:511:19: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/elfxx-ia64.c:69:42: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'ia64_elf_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-ia64.c:188:5: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-ia64.c:69:42: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/elfxx-ia64.c:70:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'ia64_elf_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-ia64.c:188:5: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-ia64.c:70:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elfxx-ia64.c:333:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-loongarch.c:1407:40: style:inconclusive: Function 'loongarch_reloc_type_lookup' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elfxx-loongarch.h:28:35: note: Function 'loongarch_reloc_type_lookup' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elfxx-loongarch.c:1407:40: note: Function 'loongarch_reloc_type_lookup' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elfxx-loongarch.c:1468:47: style:inconclusive: Function 'reloc_bits' argument 2 names different: declaration 'val' definition 'fix_val'. [funcArgNamesDifferent] gdb-13.2/bfd/elfxx-loongarch.c:55:47: note: Function 'reloc_bits' argument 2 names different: declaration 'val' definition 'fix_val'. gdb-13.2/bfd/elfxx-loongarch.c:1468:47: note: Function 'reloc_bits' argument 2 names different: declaration 'val' definition 'fix_val'. gdb-13.2/bfd/elfxx-loongarch.c:1572:12: style:inconclusive: Function 'reloc_bits_b26' argument 2 names different: declaration 'val' definition 'fix_val'. [funcArgNamesDifferent] gdb-13.2/bfd/elfxx-loongarch.c:61:51: note: Function 'reloc_bits_b26' argument 2 names different: declaration 'val' definition 'fix_val'. gdb-13.2/bfd/elfxx-loongarch.c:1572:12: note: Function 'reloc_bits_b26' argument 2 names different: declaration 'val' definition 'fix_val'. gdb-13.2/bfd/elfxx-loongarch.c:1468:31: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'reloc_bits' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-loongarch.c:1313:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-loongarch.c:1468:31: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/elfxx-loongarch.c:1485:35: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'reloc_bits_b16' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-loongarch.c:735:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-loongarch.c:1485:35: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/elfxx-loongarch.c:1528:35: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'reloc_bits_b21' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-loongarch.c:752:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-loongarch.c:1528:35: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/elfxx-loongarch.c:1571:35: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'reloc_bits_b26' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-loongarch.c:769:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-loongarch.c:1571:35: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/elflink.c:3730:6: style: Assignment 's=rela_dyn' is redundant with condition 's==rela_dyn'. [duplicateConditionalAssign] gdb-13.2/bfd/elflink.c:3729:8: note: Condition 's==rela_dyn' gdb-13.2/bfd/elflink.c:3730:6: note: Assignment 's=rela_dyn' is redundant gdb-13.2/bfd/elflink.c:3732:6: style: Assignment 's=rel_dyn' is redundant with condition 's==rel_dyn'. [duplicateConditionalAssign] gdb-13.2/bfd/elflink.c:3731:8: note: Condition 's==rel_dyn' gdb-13.2/bfd/elflink.c:3732:6: note: Assignment 's=rel_dyn' is redundant gdb-13.2/bfd/elflink.c:2468:8: style: Condition 'hide' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elflink.c:2466:7: note: Assuming that condition 'hide' is not redundant gdb-13.2/bfd/elflink.c:2468:8: note: Condition 'hide' is always true gdb-13.2/bfd/elflink.c:138:3: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:137:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elflink.c:138:3: note: Null pointer dereference gdb-13.2/bfd/elflink.c:139:3: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:137:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elflink.c:139:3: note: Null pointer dereference gdb-13.2/bfd/elflink.c:140:3: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:137:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elflink.c:140:3: note: Null pointer dereference gdb-13.2/bfd/elflink.c:141:3: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:137:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elflink.c:141:3: note: Null pointer dereference gdb-13.2/bfd/elflink.c:142:26: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:137:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elflink.c:142:26: note: Null pointer dereference gdb-13.2/bfd/elflink.c:993:6: warning: Possible null pointer dereference: section_sym_count [nullPointer] gdb-13.2/bfd/elflink.c:7451:57: note: Calling function '_bfd_elf_link_renumber_dynsyms', 3rd argument 'NULL' value is 0 gdb-13.2/bfd/elflink.c:993:6: note: Null pointer dereference gdb-13.2/bfd/elflink.c:1826:8: warning: Either the condition '!pold_alignment' is redundant or there is possible null pointer dereference: pold_alignment. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:1825:7: note: Assuming that condition '!pold_alignment' is not redundant gdb-13.2/bfd/elflink.c:1826:8: note: Null pointer dereference gdb-13.2/bfd/elflink.c:3666:13: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:3664:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:3666:13: note: Null pointer dereference gdb-13.2/bfd/elflink.c:3667:43: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:3664:3: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:3667:43: note: Null pointer dereference gdb-13.2/bfd/elflink.c:3955:17: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:3952:3: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elflink.c:3955:17: note: Null pointer dereference gdb-13.2/bfd/elflink.c:3956:26: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:3952:3: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elflink.c:3956:26: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7575:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7574:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7575:7: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7577:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7574:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7577:7: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7578:11: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7574:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7578:11: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7630:22: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7629:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7630:22: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7631:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7629:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7631:4: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7632:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7629:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7632:4: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7633:8: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7629:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7633:8: note: Null pointer dereference gdb-13.2/bfd/elflink.c:7819:7: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elflink.c:7815:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elflink.c:7819:7: note: Null pointer dereference gdb-13.2/bfd/elflink.c:11986:18: warning: Possible null pointer dereference: reldata [nullPointer] gdb-13.2/bfd/elflink.c:11981:17: note: Assignment 'reldata=NULL', assigned value is 0 gdb-13.2/bfd/elflink.c:11986:18: note: Null pointer dereference gdb-13.2/bfd/elflink.c:13587:15: style: Variable 'cookie->rel' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elflink.c:13584:19: note: cookie->rel is assigned gdb-13.2/bfd/elflink.c:13587:15: note: cookie->rel is overwritten gdb-13.2/bfd/elflink.c:14269:13: style: Redundant initialization for 'ibfd'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elflink.c:14267:13: note: ibfd is initialized gdb-13.2/bfd/elflink.c:14269:13: note: ibfd is overwritten gdb-13.2/bfd/elflink.c:14591:15: style: Redundant initialization for 'tf'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/elflink.c:14587:33: note: tf is initialized gdb-13.2/bfd/elflink.c:14591:15: note: tf is overwritten gdb-13.2/bfd/elflink.c:94:25: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:210:66: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:224:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:514:59: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:656:13: style: Variable 'version' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:779:65: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:788:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:866:59: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:867:14: style: Parameter 'input_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:920:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:924:13: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:950:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:951:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:952:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:1025:40: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:1093:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:1163:14: style: Variable 'old_version' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:2386:60: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:2401:33: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:2646:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:2882:28: style: Parameter 'input_rel_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:2888:22: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:3487:26: style: Parameter 'obfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:3487:54: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:3564:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:3644:51: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:3688:17: style: Variable 'sdynamic' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:3801:17: style: Variable 'sdyn' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:3840:32: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:4297:36: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:4425:11: style: Variable 'fnm' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:4448:11: style: Variable 'fnm' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:4474:11: style: Variable 'fnm' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5016:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5023:31: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5387:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5498:29: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5624:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5718:14: style: Variable 'slook' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5904:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:5997:15: style: Variable 'symdefend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:6008:32: style: Variable 'undefs_tail' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:6156:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:6229:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:6480:53: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:6483:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:6672:36: style: Variable 'newh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:6789:37: style: Variable 'n' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7041:30: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7205:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7206:17: style: Variable 'dynstr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7207:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7332:18: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7898:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7921:57: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8003:55: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8153:27: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8165:28: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8196:22: style: Variable 'extdynend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:8386:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8394:28: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:8473:40: style: Variable 'ssymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:8644:39: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8645:11: style: Parameter 'bbfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:8831:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9402:26: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:9480:24: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9696:16: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9753:16: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9864:19: style: Variable 'erelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9895:34: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9913:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:9945:19: style: Variable 'erelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:10011:14: style: Variable 'version' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:10012:14: style: Variable 'base_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:10181:44: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:10205:56: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:10209:8: style: Variable 'abfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:10256:25: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:10574:17: style: Variable 'tls_sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:10744:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:11021:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:11308:18: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:11386:29: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:11581:27: style: Variable 'irelaend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:11959:22: style: Variable 'rel_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:12226:27: style: Parameter 'obfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:12734:31: style: Variable 'ord' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:13140:26: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:13319:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:13380:23: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:13557:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:13596:14: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:13641:28: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:13671:25: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'elf_gc_mark_debug_section' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elflink.c:14032:8: note: You might need to cast the function pointer here gdb-13.2/bfd/elflink.c:13671:25: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/elflink.c:13865:13: style: Variable 'ssec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14039:48: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:14064:18: style: Variable 'first' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14161:33: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14244:41: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:14246:25: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14699:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14795:22: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14963:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:14997:39: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15146:47: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15152:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15158:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15165:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15166:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15167:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elflink.c:15288:31: style: Variable 'ehsrc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:15377:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elflink.c:7734:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elflink.c:7735:18: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elflink.c:9317:14: style: union member 'aligned32::v' is never used. [unusedStructMember] gdb-13.2/bfd/elflink.c:9335:14: style: union member 'aligned32::v' is never used. [unusedStructMember] gdb-13.2/bfd/elflink.c:9353:14: style: union member 'aligned64::v' is never used. [unusedStructMember] gdb-13.2/bfd/elflink.c:9375:14: style: union member 'aligned64::v' is never used. [unusedStructMember] gdb-13.2/bfd/elflink.c:1773:14: style: Variable 'olddef' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elflink.c:1828:14: style: Variable 'olddef' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elflink.c:1829:20: style: Variable 'olddyncommon' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elflink.c:11824:19: style: Variable 'rel_hash_list' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf64-ppc.c:4664:6: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] gdb-13.2/bfd/elf64-ppc.c:9117:11: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] gdb-13.2/bfd/elfnn-riscv.c:3766:21: style: Condition 'out_attr[i].i!=0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/elfnn-riscv.c:3763:20: note: Assuming that condition 'out_attr[i].i==0' is not redundant gdb-13.2/bfd/elfnn-riscv.c:3766:21: note: Condition 'out_attr[i].i!=0' is always true gdb-13.2/bfd/elfnn-riscv.c:176:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:2378:9: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:2385:44: note: Calling function 'riscv_elf_append_rela', 2nd argument 's' value is 0 gdb-13.2/bfd/elfnn-riscv.c:176:9: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:961:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:959:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:961:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:1360:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:1359:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:1360:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:1370:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:1369:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:1370:4: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:1371:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:1369:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:1371:4: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:2361:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:2358:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:2361:14: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:3018:23: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:3016:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:3018:23: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:3221:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:3220:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:3221:12: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:4919:11: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:4924:10: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:4919:11: note: Null pointer dereference gdb-13.2/bfd/elfnn-riscv.c:4927:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfnn-riscv.c:4924:10: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfnn-riscv.c:4927:8: note: Null pointer dereference gdb-13.2/bfd/elf64-ppc.c:1750:2: error: Memory leak: message [memleak] gdb-13.2/bfd/elfnn-riscv.c:4332:13: style: Variable 'auipc' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elfnn-riscv.c:4320:9: note: auipc is assigned gdb-13.2/bfd/elfnn-riscv.c:4332:13: note: auipc is overwritten gdb-13.2/bfd/elfnn-riscv.c:315:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:324:31: style: Variable 'h1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:325:31: style: Variable 'h2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:580:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:637:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:899:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:954:38: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:955:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:1380:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:1383:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:1459:35: style: Variable 'got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:1558:31: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:1569:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:2896:32: style: Variable 'relplt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:3173:28: style: Parameter 'sdyn' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:3178:22: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:3373:53: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:3461:49: style: Variable 'ext_merged' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:3462:12: style: Variable 'find_ext' can be declared as const array [constVariable] gdb-13.2/bfd/elfnn-riscv.c:4025:59: style: Parameter 'deleted_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:4062:29: style: Parameter 'link_info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:4362:41: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:4365:13: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:4401:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:4625:23: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:4666:35: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfnn-riscv.c:5132:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:5156:54: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfnn-riscv.c:5237:57: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:15350:42: style: Same expression on both sides of '-'. [duplicateExpression] gdb-13.2/bfd/elf64-ppc.c:9756:4: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/elf64-ppc.c:1872:26: style: Variable 'i_ehdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:1887:56: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:1910:54: style: Parameter 'note' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:2229:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'section_covers_vma' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-ppc.c:2534:41: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-ppc.c:2229:31: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elf64-ppc.c:2229:59: style: Parameter 'section' can be declared as pointer to const. However it seems that 'section_covers_vma' is a callback function, if 'section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elf64-ppc.c:2534:41: note: You might need to cast the function pointer here gdb-13.2/bfd/elf64-ppc.c:2229:59: note: Parameter 'section' can be declared as pointer to const gdb-13.2/bfd/elf64-ppc.c:2506:32: style: Variable 'extdynend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:3824:20: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:4084:55: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:4528:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:4529:35: style: Variable 'rel_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:4551:26: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:4753:28: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:4771:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:4772:31: style: Variable 'tga' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:4772:37: style: Variable 'dottga' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:5135:16: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:5834:46: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:5866:25: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:6327:76: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:6365:76: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:6613:43: style: Parameter 'eh' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:6627:48: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:7353:43: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:7822:42: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:8175:44: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:9754:31: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:9811:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:9828:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:9829:35: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:9845:31: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:10675:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:11390:33: style: Parameter 'stub_entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:11419:15: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:12959:12: style: Variable 'got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:13270:13: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:13276:17: style: Variable 'i' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:13723:32: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:13750:29: style: Variable 'opd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:15687:19: style: Variable 'lgot_masks' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:18093:38: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elf64-ppc.c:18196:31: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elf64-ppc.c:18234:36: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-riscv.c:959:10: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'riscv_elf_add_sub_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-riscv.c:751:3: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-riscv.c:959:10: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/elfxx-riscv.c:1026:25: style: Parameter 'subset' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-riscv.c:1323:34: style: Parameter 'known_exts' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-riscv.c:1506:55: style: Parameter 'default_isa_spec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-riscv.c:2297:46: style: Parameter 'rps' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-riscv.c:986:16: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/bfd/elfxx-riscv.c:1008:51: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/bfd/elf64-ppc.c:7308:19: error: Uninitialized variable: *pp [uninitvar] gdb-13.2/bfd/elf64-ppc.c:12168:12: style: Variable 'obfd' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elf64-ppc.c:15256:6: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elfxx-tilegx.c:1075:9: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3895:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3902:43: note: Calling function 'tilegx_elf_append_rela', 2nd argument 's' value is 0 gdb-13.2/bfd/elfxx-tilegx.c:1075:9: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2074:4: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2073:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2074:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2075:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2073:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2075:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2101:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2099:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2101:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2228:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2226:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2228:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2443:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2442:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2443:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2453:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2452:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2453:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:2454:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:2452:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:2454:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3160:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3157:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3160:14: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3216:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3214:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3216:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3524:14: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3523:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3524:14: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3525:8: warning: Either the condition 'local_got_offsets!=NULL' is redundant or there is possible null pointer dereference: local_got_offsets. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3523:8: note: Assuming that condition 'local_got_offsets!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3525:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3853:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3851:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3853:24: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3854:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3851:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3854:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3972:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-tilegx.c:3971:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-tilegx.c:3972:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-tilegx.c:3679:4: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elfxx-tilegx.c:3673:9: note: r is assigned gdb-13.2/bfd/elfxx-tilegx.c:3679:4: note: r is overwritten gdb-13.2/bfd/elfxx-tilegx.c:914:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-tilegx.c:933:26: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-tilegx.c:1256:39: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-tilegx.c:1978:23: style: Variable 'isym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:2095:8: style: Variable 'dynobj' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:2463:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:2466:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:2545:35: style: Variable 'got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:2630:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-tilegx.c:2641:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-tilegx.c:3917:29: style: Parameter 'sdyn' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-tilegx.c:3922:22: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:4101:17: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-tilegx.c:4116:74: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/gen-aout.c:67:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/bfd/gen-aout.c:54:7: error: Resource leak: file [resourceLeak] gdb-13.2/bfd/gen-aout.c:33:10: style: Variable 'target' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/gen-aout.c:34:10: style: Variable 'arch' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/gen-aout.c:86:7: error: Uninitialized variable: page_size [uninitvar] gdb-13.2/bfd/hash.c:442:17: warning: Either the condition 'string!=NULL' is redundant or there is possible null pointer dereference: s++. [nullPointerRedundantCheck] gdb-13.2/bfd/hash.c:438:3: note: Assuming that condition 'string!=NULL' is not redundant gdb-13.2/bfd/hash.c:441:7: note: Assignment 's=(const unsigned char*)string', assigned value is 0 gdb-13.2/bfd/hash.c:442:17: note: Null pointer dereference gdb-13.2/bfd/hash.c:442:17: warning: Either the condition 'string!=NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] gdb-13.2/bfd/hash.c:438:3: note: Assuming that condition 'string!=NULL' is not redundant gdb-13.2/bfd/hash.c:441:7: note: Assignment 's=(const unsigned char*)string', assigned value is 0 gdb-13.2/bfd/hash.c:442:17: note: Null pointer addition gdb-13.2/bfd/hash.c:594:28: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/hash.c:871:46: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/aout-target.h:38:1: error: There is an unknown macro here somewhere. Configuration is required. If CONCAT2 is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/i386lynx.c:109:1: error: There is an unknown macro here somewhere. Configuration is required. If CONCAT3 is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/elfxx-sparc.c:1769:43: warning: Either the condition 'isym!=NULL' is redundant or there is possible null pointer dereference: isym. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:1768:5: note: Assuming that condition 'isym!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:1769:43: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:1850:4: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:1849:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:1850:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:1851:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:1849:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:1851:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:1909:3: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:1906:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:1909:3: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:2394:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:2393:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:2394:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:2404:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:2403:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:2404:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:2405:4: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:2403:4: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:2405:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4180:17: warning: Either the condition 'htab->elf.sgotplt!=NULL' is redundant or there is possible null pointer dereference: htab->elf.sgotplt. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4175:3: note: Assuming that condition 'htab->elf.sgotplt!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4180:17: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4236:22: warning: Either the condition 'h==NULL' is redundant or there is possible null pointer dereference: eh. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4296:10: note: Assuming that condition 'h==NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4231:6: note: eh is assigned '(struct _bfd_sparc_elf_link_hash_entry*)h' here. gdb-13.2/bfd/elfxx-sparc.c:4236:22: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4238:7: warning: Either the condition 'h==NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4296:10: note: Assuming that condition 'h==NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4238:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4292:17: warning: Either the condition 'h==NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4296:10: note: Assuming that condition 'h==NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4292:17: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4394:24: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4392:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4394:24: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4395:12: warning: Either the condition 'sgot!=NULL' is redundant or there is possible null pointer dereference: sgot. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4392:7: note: Assuming that condition 'sgot!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4395:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4581:15: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4581:15: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4582:10: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4582:10: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4583:10: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4583:10: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4588:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4588:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4591:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4591:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4594:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4594:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4597:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4597:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4600:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4600:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4602:9: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4602:9: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4605:20: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4605:20: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4606:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4606:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4607:31: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4607:31: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4614:31: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4614:31: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4621:16: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4578:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4621:16: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:4704:12: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-sparc.c:4703:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-sparc.c:4704:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-sparc.c:55:47: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:59:21: style: Variable 'howto' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:96:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'sparc_elf_notsup_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:265:70: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:96:35: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:97:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'sparc_elf_notsup_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:265:70: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:97:25: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:98:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'sparc_elf_notsup_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:265:70: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:98:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:99:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'sparc_elf_notsup_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:265:70: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:99:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:100:28: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'sparc_elf_notsup_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:265:70: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:100:28: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:101:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'sparc_elf_notsup_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:265:70: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:101:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:655:29: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:814:53: style: Parameter 'splt' can be declared as pointer to const. However it seems that 'sparc32_plt_entry_build' is a callback function, if 'splt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-sparc.c:1175:30: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-sparc.c:814:53: note: Parameter 'splt' can be declared as pointer to const gdb-13.2/bfd/elfxx-sparc.c:1050:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:1060:31: style: Variable 'h1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:1062:31: style: Variable 'h2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:1247:57: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:1302:60: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:1862:28: style: Parameter 'relend' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:2415:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:2418:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:2696:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:2726:32: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:4241:17: style: Variable 'srela' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:4480:28: style: Parameter 'sdyn' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-sparc.c:4485:22: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:4795:18: style: Variable 'hwcaps' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:4796:18: style: Variable 'hwcaps2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-sparc.c:4923:18: style: Variable 'in_attr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/i386msdos.c:121:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/i386msdos.c:122:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:320:20: style:inconclusive: Function 'bfd_realloc' argument 1 names different: declaration 'MEM' definition 'ptr'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:982:35: note: Function 'bfd_realloc' argument 1 names different: declaration 'MEM' definition 'ptr'. gdb-13.2/bfd/libbfd.c:320:20: note: Function 'bfd_realloc' argument 1 names different: declaration 'MEM' definition 'ptr'. gdb-13.2/bfd/libbfd.c:320:39: style:inconclusive: Function 'bfd_realloc' argument 2 names different: declaration 'SIZE' definition 'size'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:982:54: note: Function 'bfd_realloc' argument 2 names different: declaration 'SIZE' definition 'size'. gdb-13.2/bfd/libbfd.c:320:39: note: Function 'bfd_realloc' argument 2 names different: declaration 'SIZE' definition 'size'. gdb-13.2/bfd/libbfd.c:372:28: style:inconclusive: Function 'bfd_realloc_or_free' argument 1 names different: declaration 'MEM' definition 'ptr'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:984:43: note: Function 'bfd_realloc_or_free' argument 1 names different: declaration 'MEM' definition 'ptr'. gdb-13.2/bfd/libbfd.c:372:28: note: Function 'bfd_realloc_or_free' argument 1 names different: declaration 'MEM' definition 'ptr'. gdb-13.2/bfd/libbfd.c:372:47: style:inconclusive: Function 'bfd_realloc_or_free' argument 2 names different: declaration 'SIZE' definition 'size'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:984:62: note: Function 'bfd_realloc_or_free' argument 2 names different: declaration 'SIZE' definition 'size'. gdb-13.2/bfd/libbfd.c:372:47: note: Function 'bfd_realloc_or_free' argument 2 names different: declaration 'SIZE' definition 'size'. gdb-13.2/bfd/libbfd.c:409:28: style:inconclusive: Function 'bfd_zmalloc' argument 1 names different: declaration 'SIZE' definition 'size'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:986:42: note: Function 'bfd_zmalloc' argument 1 names different: declaration 'SIZE' definition 'size'. gdb-13.2/bfd/libbfd.c:409:28: note: Function 'bfd_zmalloc' argument 1 names different: declaration 'SIZE' definition 'size'. gdb-13.2/bfd/libbfd.c:44:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:50:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:51:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:77:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:83:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:84:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:90:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:91:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:97:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:104:53: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:105:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:106:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:107:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:113:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:114:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:115:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:116:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:122:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:123:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:139:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:145:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:151:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:167:28: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:172:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:173:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:178:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:179:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:184:48: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:185:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:201:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:202:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:1221:52: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:1239:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:1240:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:1241:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:1242:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/libbfd.c:1243:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ihex.c:656:17: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ihex.c:923:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ihex.c:924:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-aarch64.c:278:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-aarch64.c:292:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-arm.c:154:24: style: Parameter 'res_base' can be declared as pointer to const. However it seems that 'bfd_mach_o_arm_canonicalize_one_reloc' is a callback function, if 'res_base' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/mach-o-target.c:112:3: note: You might need to cast the function pointer here gdb-13.2/bfd/mach-o-arm.c:154:24: note: Parameter 'res_base' can be declared as pointer to const gdb-13.2/bfd/mach-o-arm.c:338:49: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-arm.c:350:49: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-i386.c:119:18: style: Parameter 'res_base' can be declared as pointer to const. However it seems that 'bfd_mach_o_i386_canonicalize_one_reloc' is a callback function, if 'res_base' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/mach-o-target.c:112:3: note: You might need to cast the function pointer here gdb-13.2/bfd/mach-o-i386.c:119:18: note: Parameter 'res_base' can be declared as pointer to const gdb-13.2/bfd/mach-o-i386.c:266:50: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-i386.c:278:50: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-i386.c:285:69: style: Parameter 'thread' can be declared as pointer to const. However it seems that 'bfd_mach_o_i386_print_thread' is a callback function, if 'thread' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/mach-o-target.c:114:3: note: You might need to cast the function pointer here gdb-13.2/bfd/mach-o-i386.c:285:69: note: Parameter 'thread' can be declared as pointer to const gdb-13.2/bfd/mach-o-target.c:85:0: error: #error TARGET_NAME must be defined [preprocessorErrorDirective] gdb-13.2/bfd/mach-o-x86-64.c:326:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o-x86-64.c:340:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3100:10: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/linker.c:3098:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/linker.c:3100:10: note: Null pointer dereference gdb-13.2/bfd/linker.c:3101:18: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/linker.c:3098:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/linker.c:3101:18: note: Null pointer dereference gdb-13.2/bfd/linker.c:3102:13: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/linker.c:3098:3: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/linker.c:3102:13: note: Null pointer dereference gdb-13.2/bfd/linker.c:1150:24: style:inconclusive: Function 'generic_link_add_symbol_list' argument 3 names different: declaration 'count' definition 'symbol_count'. [funcArgNamesDifferent] gdb-13.2/bfd/linker.c:411:49: note: Function 'generic_link_add_symbol_list' argument 3 names different: declaration 'count' definition 'symbol_count'. gdb-13.2/bfd/linker.c:1150:24: note: Function 'generic_link_add_symbol_list' argument 3 names different: declaration 'count' definition 'symbol_count'. gdb-13.2/bfd/linker.c:1387:12: style:inconclusive: Function '_bfd_generic_link_add_one_symbol' argument 9 names different: declaration 'constructor' definition 'collect'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:671:9: note: Function '_bfd_generic_link_add_one_symbol' argument 9 names different: declaration 'constructor' definition 'collect'. gdb-13.2/bfd/linker.c:1387:12: note: Function '_bfd_generic_link_add_one_symbol' argument 9 names different: declaration 'constructor' definition 'collect'. gdb-13.2/bfd/linker.c:844:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:845:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:846:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:937:15: style: Variable 'arsym_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/linker.c:950:32: style: Variable 'undefs_tail' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/linker.c:2687:35: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/linker.c:2718:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:2719:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3155:48: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3156:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3157:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3222:57: style: Variable 'exist_ver' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/linker.c:3366:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3367:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3408:68: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3410:8: style: Variable 'obfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/linker.c:3430:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3431:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3493:47: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3494:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3500:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3501:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/linker.c:3502:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/merge.c:810:4: warning: Possible null pointer dereference: secinfo [nullPointer] gdb-13.2/bfd/merge.c:795:14: note: Assignment 'secinfo=NULL', assigned value is 0 gdb-13.2/bfd/merge.c:796:33: note: Assuming condition is false gdb-13.2/bfd/merge.c:810:4: note: Null pointer dereference gdb-13.2/bfd/merge.c:483:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/merge.c:484:32: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/merge.c:486:22: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:6026:5: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] gdb-13.2/bfd/mach-o.c:3903:30: style: Condition '(sym->strsize+1)==0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/mach-o.c:588:3: warning: Either the condition 'os!=NULL' is redundant or there is possible null pointer dereference: os. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'os!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:588:3: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:588:15: warning: Either the condition 'is!=NULL' is redundant or there is possible null pointer dereference: is. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'is!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:588:15: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:589:3: warning: Either the condition 'os!=NULL' is redundant or there is possible null pointer dereference: os. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'os!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:589:3: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:589:19: warning: Either the condition 'is!=NULL' is redundant or there is possible null pointer dereference: is. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'is!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:589:19: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:590:3: warning: Either the condition 'os!=NULL' is redundant or there is possible null pointer dereference: os. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'os!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:590:3: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:590:19: warning: Either the condition 'is!=NULL' is redundant or there is possible null pointer dereference: is. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'is!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:590:19: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:591:3: warning: Either the condition 'os!=NULL' is redundant or there is possible null pointer dereference: os. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'os!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:591:3: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:591:19: warning: Either the condition 'is!=NULL' is redundant or there is possible null pointer dereference: is. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:586:3: note: Assuming that condition 'is!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:591:19: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:5746:19: warning: Either the condition 'adata!=NULL' is redundant or there is possible null pointer dereference: adata. [nullPointerRedundantCheck] gdb-13.2/bfd/mach-o.c:5744:3: note: Assuming that condition 'adata!=NULL' is not redundant gdb-13.2/bfd/mach-o.c:5746:19: note: Null pointer dereference gdb-13.2/bfd/mach-o.c:56:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:70:35: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:304:28: style: Variable 'bed' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:336:28: style: Variable 'bed' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:576:48: style: Parameter 'ibfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:577:13: style: Parameter 'obfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:580:23: style: Variable 'is' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:695:27: style: Variable 'mdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:1410:56: style: Parameter 'asect' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:1438:21: style: Parameter 'fields' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:1650:28: style: Variable 'bed' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:1708:28: style: Variable 'bed' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:1815:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:2156:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:2164:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:2367:32: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:2423:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:2901:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:3210:27: style: Variable 'prev_sect' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:3391:16: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:3415:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:3416:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:3551:23: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:4048:27: style: Variable 'mdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:4185:27: style: Variable 'mdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:4920:27: style: Variable 'mdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:5085:32: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:5138:27: style: Variable 'main_cmd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:5139:22: style: Variable 'text_sect' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:5210:28: style: Variable 'bed' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:5304:33: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:5600:30: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:5634:61: style: Parameter 'prev' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:5915:35: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:6015:48: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mach-o.c:6035:28: style: Variable 'dsym_uuid_cmd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mach-o.c:6095:28: style: Variable 'uuid_cmd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/opncls.c:1026:34: style: Condition '((long)ul_size)<0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/opncls.c:1016:27: note: Assignment 'ul_size=(unsigned long)size', assigned value is greater than -1 gdb-13.2/bfd/opncls.c:1018:12: note: Assuming that condition 'size!=ul_size' is not redundant gdb-13.2/bfd/opncls.c:1026:34: note: Condition '((long)ul_size)<0' is always false gdb-13.2/bfd/opncls.c:1363:10: warning: Either the condition '!crc32_p' is redundant or there is possible null pointer dereference: (unsigned long*)crc32_p. [nullPointerRedundantCheck] gdb-13.2/bfd/opncls.c:1361:3: note: Assuming that condition '!crc32_p' is not redundant gdb-13.2/bfd/opncls.c:1363:10: note: Null pointer dereference gdb-13.2/bfd/opncls.c:1864:7: warning: Either the condition '!abfd' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/opncls.c:1862:3: note: Assuming that condition '!abfd' is not redundant gdb-13.2/bfd/opncls.c:1864:7: note: Null pointer dereference gdb-13.2/bfd/opncls.c:553:18: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/opncls.c:583:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'opncls_bwrite' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/opncls.c:637:19: note: You might need to cast the function pointer here gdb-13.2/bfd/opncls.c:583:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/opncls.c:605:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'opncls_bflush' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/opncls.c:638:20: note: You might need to cast the function pointer here gdb-13.2/bfd/opncls.c:605:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/opncls.c:623:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/opncls.c:624:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/opncls.c:630:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/opncls.c:874:40: style: Parameter 'templ' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/opncls.c:1964:13: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/opncls.c:2018:24: style: Variable 'orig_build_id' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/opncls.c:2019:24: style: Variable 'build_id' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mmo.c:2171:22: style: Condition '(int)bytes_to_do!=0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/mmo.c:2707:22: style: Condition '(int)bytes_to_do!=0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/mmo.c:2748:22: style: Condition '*name==trie->symchar' is always true [knownConditionTrueFalse] gdb-13.2/bfd/mmo.c:2743:22: note: Assuming that condition '*name>trie->symchar' is not redundant gdb-13.2/bfd/mmo.c:2738:17: note: Assuming that condition '*namesymchar' is not redundant gdb-13.2/bfd/mmo.c:2748:22: note: Condition '*name==trie->symchar' is always true gdb-13.2/bfd/mmo.c:2172:17: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/mmo.c:2193:34: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mmo.c:2359:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mmo.c:2360:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/mmo.c:1552:9: style: Variable 'datap' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/osf-core.c:78:9: style: Variable 'secname' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/pc532-mach.c:81:1: error: There is an unknown macro here somewhere. Configuration is required. If CONCAT2 is a macro then please configure it. [unknownMacro] gdb-13.2/bfd/pdb.c:661:22: style: The if condition is the same as the previous if condition [duplicateCondition] gdb-13.2/bfd/pdb.c:647:22: note: First condition gdb-13.2/bfd/pdb.c:661:22: note: Second condition gdb-13.2/bfd/coffcode.h:3618:23: style: Variable 'section.s_paddr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/coffcode.h:3609:23: note: section.s_paddr is assigned gdb-13.2/bfd/coffcode.h:3618:23: note: section.s_paddr is overwritten gdb-13.2/bfd/coffcode.h:4766:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gdb-13.2/bfd/coffcode.h:4777:8: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/coffcode.h:4766:8: note: Found duplicate branches for 'if' and 'else'. gdb-13.2/bfd/coff-aarch64.c:107:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-aarch64.c:137:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/coff-aarch64.c:199:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-aarch64.c:199:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-aarch64.c:200:32: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-aarch64.c:200:32: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:918:27: style: Variable 'internal_s' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:919:13: style: Variable 'esymstart' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:919:32: style: Variable 'esymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:1204:27: style: Variable 'internal_s' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:3729:22: style: Variable 'csym' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peicode.h:305:28: style: Variable 'internal_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:547:7: warning: Either the condition 'sreloc!=NULL' is redundant or there is possible null pointer dereference: sreloc. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-x86.c:546:7: note: Assuming that condition 'sreloc!=NULL' is not redundant gdb-13.2/bfd/elfxx-x86.c:547:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-x86.c:3766:59: warning: Either the condition 'bprop==NULL' is redundant or there is possible null pointer dereference: bprop. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-x86.c:3772:34: note: Assuming that condition 'bprop==NULL' is not redundant gdb-13.2/bfd/elfxx-x86.c:3766:59: note: Null pointer dereference gdb-13.2/bfd/elfxx-x86.c:72:49: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-x86.c:531:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:639:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:672:31: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:682:31: style: Variable 'h1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:684:31: style: Variable 'h2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:824:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-x86.c:874:39: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:933:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:937:13: style: Variable 'sreloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:1014:23: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-x86.c:1458:13: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:1769:41: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:1771:41: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:1954:9: style: Variable 'contents' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:2027:14: style: Variable 'sgot' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:2230:23: style: Variable 'end_local_got' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:2234:26: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:2653:22: style: Variable 'dynconend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:3391:39: style: Variable 'eh' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:3409:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:3472:53: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'elf_i386_get_plt_got_vma' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/elfxx-x86.c:3569:25: note: You might need to cast the function pointer here gdb-13.2/bfd/elfxx-x86.c:3472:53: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/elfxx-x86.c:3575:14: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:3765:35: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-x86.c:4546:26: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-x86.c:3592:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-arm.c:517:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:517:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:518:25: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:518:25: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-arm.c:2303:40: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'coff_arm_print_private_bfd_data' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:63:6: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-arm.c:2303:40: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:1138:17: warning: Conversion of char literal '_' to bool always evaluates to true. [incorrectCharBooleanError] gdb-13.2/bfd/coff-i386.c:191:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:191:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:191:59: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:191:59: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:441:26: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-i386.c:453:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-i386.c:526:29: style: Parameter 'rel' can be declared as pointer to const. However it seems that 'coff_i386_rtype_to_howto' is a callback function, if 'rel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5813:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:526:29: note: Parameter 'rel' can be declared as pointer to const gdb-13.2/bfd/coff-i386.c:528:30: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'coff_i386_rtype_to_howto' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5813:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-i386.c:528:30: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2430:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5810:28: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2430:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2431:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'symname_in_debug_hook' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5810:28: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2431:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2486:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_print_aux' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5811:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2486:27: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:2487:14: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_print_aux' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5811:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:2487:14: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5388:35: style: Parameter 'abfd' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'abfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5815:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5388:35: note: Parameter 'abfd' can be declared as pointer to const gdb-13.2/bfd/coffcode.h:5389:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'coff_link_output_has_begun' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5815:3: note: You might need to cast the function pointer here gdb-13.2/bfd/coffcode.h:5389:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mcore.c:340:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mcore.c:340:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-mcore.c:340:61: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-mcore.c:340:61: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:225:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:225:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:225:59: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:225:59: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-x86_64.c:579:26: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-x86_64.c:591:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coff-x86_64.c:664:31: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'coff_amd64_rtype_to_howto' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5813:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-x86_64.c:664:31: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/pef.c:458:66: style: Condition 'bfd_pef_parse_loader_header(abfd,loaderbuf,56,&header)<0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/pef.c:458:35: note: Calling function 'bfd_pef_parse_loader_header' returns 0 gdb-13.2/bfd/pef.c:458:66: note: Condition 'bfd_pef_parse_loader_header(abfd,loaderbuf,56,&header)<0' is always false gdb-13.2/bfd/pef.c:493:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/pef.c:492:37: note: Calling function 'bfd_pef_parse_loader_header' returns 0 gdb-13.2/bfd/pef.c:492:37: note: Assignment 'ret=bfd_pef_parse_loader_header(abfd,loaderbuf,56,&header)', assigned value is 0 gdb-13.2/bfd/pef.c:493:11: note: Condition 'ret<0' is always false gdb-13.2/bfd/pef.c:751:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/pef.c:750:37: note: Calling function 'bfd_pef_parse_loader_header' returns 0 gdb-13.2/bfd/pef.c:750:37: note: Assignment 'ret=bfd_pef_parse_loader_header(abfd,loaderbuf,56,&header)', assigned value is 0 gdb-13.2/bfd/pef.c:751:11: note: Condition 'ret<0' is always false gdb-13.2/bfd/pef.c:772:15: style: Condition 'ret<0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/pef.c:771:2: note: Calling function 'bfd_pef_parse_imported_library' returns 0 gdb-13.2/bfd/pef.c:771:2: note: Assignment 'ret=bfd_pef_parse_imported_library(abfd,loaderbuf+56+(i*24),24,&libraries[i])', assigned value is 0 gdb-13.2/bfd/pef.c:772:15: note: Condition 'ret<0' is always false gdb-13.2/bfd/pef.c:782:15: style: Condition 'ret<0' is always false [knownConditionTrueFalse] gdb-13.2/bfd/pef.c:779:7: note: Calling function 'bfd_pef_parse_imported_symbol' returns 0 gdb-13.2/bfd/pef.c:779:7: note: Assignment 'ret=bfd_pef_parse_imported_symbol(abfd,loaderbuf+56+(header.imported_library_count*24)+(i*4),4,&imports[i])', assigned value is 0 gdb-13.2/bfd/pef.c:782:15: note: Condition 'ret<0' is always false gdb-13.2/bfd/pef.c:259:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_pef_mkobject' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/pef.c:1181:5: note: You might need to cast the function pointer here gdb-13.2/bfd/pef.c:259:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/pef.c:264:59: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pef.c:281:62: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pef.c:413:32: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pef.c:472:13: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/pef.c:1000:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pef.c:1001:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pef.c:1105:52: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:16284:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/elfxx-mips.c:3087:4: warning: Either the condition 'hd->root.plt.plist!=NULL' is redundant or there is possible null pointer dereference: hd->root.plt.plist. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3086:4: note: Assuming that condition 'hd->root.plt.plist!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3087:4: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3580:3: warning: Either the condition 'h->plt.plist!=NULL' is redundant or there is possible null pointer dereference: h->plt.plist. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3579:3: note: Assuming that condition 'h->plt.plist!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3580:3: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3637:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3634:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3637:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3681:12: warning: Either the condition '!entry' is redundant or there is possible null pointer dereference: entry. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3679:3: note: Assuming that condition '!entry' is not redundant gdb-13.2/bfd/elfxx-mips.c:3681:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3770:10: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3768:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3770:10: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3772:39: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3768:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3772:39: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3832:16: warning: Either the condition '!entry' is redundant or there is possible null pointer dereference: entry. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3830:7: note: Assuming that condition '!entry' is not redundant gdb-13.2/bfd/elfxx-mips.c:3832:16: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3939:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3937:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3939:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:3961:23: warning: Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:3960:7: note: Assuming that condition 's!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:3961:23: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:4135:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:4133:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:4135:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:4162:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:4160:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:4162:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:4937:11: warning: Either the condition '!g->next' is redundant or there is possible null pointer dereference: g. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:4933:3: note: Assuming that condition '!g->next' is not redundant gdb-13.2/bfd/elfxx-mips.c:4935:8: note: Assignment 'g=g->next', assigned value is 0 gdb-13.2/bfd/elfxx-mips.c:4937:11: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:4959:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:4957:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:4959:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:5263:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:5260:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:5263:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:6771:3: warning: Either the condition 'sreloc!=NULL' is redundant or there is possible null pointer dereference: sreloc. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:6770:3: note: Assuming that condition 'sreloc!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:6771:3: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:8020:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:8013:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:8020:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:9257:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:9250:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:9257:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:9676:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:9674:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:9676:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:9792:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:9790:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:9792:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:9885:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:9883:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:9885:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:9932:7: warning: Either the condition 'h->root.plt.plist!=NULL' is redundant or there is possible null pointer dereference: h->root.plt.plist. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:9931:7: note: Assuming that condition 'h->root.plt.plist!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:9932:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:10938:3: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:10934:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:10938:3: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11742:16: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11742:16: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11743:11: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11743:11: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11744:11: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11744:11: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11750:18: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11750:18: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11751:6: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11751:6: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11754:9: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11754:9: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11763:9: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11763:9: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11765:31: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11765:31: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11773:31: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11773:31: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11780:16: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11737:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11780:16: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11837:10: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11831:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11837:10: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:11838:8: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:11831:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:11838:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12164:16: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12162:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12164:16: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12165:9: warning: Either the condition 'sdyn!=NULL' is redundant or there is possible null pointer dereference: sdyn. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12162:7: note: Assuming that condition 'sdyn!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12165:9: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12502:24: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12501:4: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12502:24: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12513:24: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12512:4: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12513:24: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12540:24: warning: Either the condition 'sec!=NULL' is redundant or there is possible null pointer dereference: sec. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12539:4: note: Assuming that condition 'sec!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12540:24: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12761:7: warning: Either the condition 'm!=NULL' is redundant or there is possible null pointer dereference: *pm. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12773:9: note: Assuming that condition 'm!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12763:11: note: Assignment to 'm=*pm' gdb-13.2/bfd/elfxx-mips.c:12761:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:12994:7: warning: Either the condition 'htab!=NULL' is redundant or there is possible null pointer dereference: htab. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:12993:3: note: Assuming that condition 'htab!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:12994:7: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:14072:8: warning: Either the condition 'h!=NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:14070:4: note: Assuming that condition 'h!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:14072:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:16345:12: warning: Either the condition 'ptr!=NULL' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:16339:3: note: Assuming that condition 'ptr!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:16337:14: note: file is assigned 'ptr' here. gdb-13.2/bfd/elfxx-mips.c:16345:12: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:16345:45: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:16339:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:16345:45: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:16347:8: warning: Either the condition 'abfd!=NULL' is redundant or there is possible null pointer dereference: abfd. [nullPointerRedundantCheck] gdb-13.2/bfd/elfxx-mips.c:16339:3: note: Assuming that condition 'abfd!=NULL' is not redundant gdb-13.2/bfd/elfxx-mips.c:16347:8: note: Null pointer dereference gdb-13.2/bfd/elfxx-mips.c:9359:9: style: Variable 'hmips' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/elfxx-mips.c:9340:9: note: hmips is assigned gdb-13.2/bfd/elfxx-mips.c:9359:9: note: hmips is overwritten gdb-13.2/bfd/elfxx-mips.c:16509:26: style:inconclusive: Function '_bfd_mips_elf_plt_sym_val' argument 3 names different: declaration 'rel' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/elfxx-mips.h:174:46: note: Function '_bfd_mips_elf_plt_sym_val' argument 3 names different: declaration 'rel' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elfxx-mips.c:16509:26: note: Function '_bfd_mips_elf_plt_sym_val' argument 3 names different: declaration 'rel' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/elfxx-mips.c:1310:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:1319:35: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:2528:36: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:2644:39: style: Parameter 'output_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:3415:19: style: Parameter 'sreloc' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:3606:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:3626:36: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:3630:25: style: Variable 'g' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:3660:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:3934:25: style: Variable 'g' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:3959:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4083:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4129:25: style: Variable 'g' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4213:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4250:40: style: Variable 'h' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4821:26: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4849:37: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:4868:26: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:5319:73: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:5333:43: style: Parameter 'input_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:5501:22: style: Variable 'symtab_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:7343:32: style: Variable 'lend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:7581:32: style: Variable 'lend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:7983:14: style: Parameter 'input_sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:8184:22: style: Variable 'rel_hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:8986:38: style: Variable 'hmips' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:9247:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:10088:18: style: Variable 'target' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:10763:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:11304:33: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:11441:25: style: Variable 'g' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:11443:36: style: Variable 'hmips' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:12456:40: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:12565:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:12602:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:12990:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:13005:30: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13065:50: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13077:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:13107:61: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13170:10: style: Variable 'fraw_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:13541:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:13543:21: style: Variable 'isymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:13858:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13858:40: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13904:18: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13904:34: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13933:27: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:13966:29: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:15473:62: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:15866:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:16428:33: style: Variable 'abiflags' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:16497:52: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:16540:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:16555:9: style: Variable 'nend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:16783:36: style: Variable 'htab' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/elfxx-mips.c:16818:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:16827:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/elfxx-mips.c:3866:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elfxx-mips.c:3868:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/bfd/elfxx-mips.c:694:16: style: struct member 'Elf32_crinfo2::ctype' is never used. [unusedStructMember] gdb-13.2/bfd/peicode.h:1532:24: style: Opposite expression on both sides of '&='. [oppositeExpression] gdb-13.2/bfd/peicode.h:1542:21: style: Opposite expression on both sides of '&='. [oppositeExpression] gdb-13.2/bfd/elfxx-mips.c:695:16: style: struct member 'Elf32_crinfo2::rtype' is never used. [unusedStructMember] gdb-13.2/bfd/elfxx-mips.c:696:16: style: struct member 'Elf32_crinfo2::dist2to' is never used. [unusedStructMember] gdb-13.2/bfd/elfxx-mips.c:697:16: style: struct member 'Elf32_crinfo2::relvaddr' is never used. [unusedStructMember] gdb-13.2/bfd/elfxx-mips.c:698:17: style: struct member 'Elf32_crinfo2::konst' is never used. [unusedStructMember] gdb-13.2/bfd/peicode.h:792:18: style: Parameter 'source_dll' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/peicode.h:981:10: style: Variable 'at' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/coffcode.h:3359:3: warning: Uninitialized variable: *pelength [uninitvar] gdb-13.2/bfd/coffcode.h:3402:41: note: Calling function 'coff_read_word', 3rd argument '&pelength' value is gdb-13.2/bfd/coffcode.h:3348:14: note: Assuming condition is false gdb-13.2/bfd/coffcode.h:3359:3: note: Uninitialized variable: *pelength gdb-13.2/bfd/elfxx-mips.c:8059:7: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/elfxx-mips.c:13581:29: style: Variable 'start_hashes' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-sh.c:79:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:79:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:80:25: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:80:25: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:419:28: style: Parameter 'rel' can be declared as pointer to const. However it seems that 'coff_sh_rtype_to_howto' is a callback function, if 'rel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:419:28: note: Parameter 'rel' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:420:34: style: Parameter 'h' can be declared as pointer to const. However it seems that 'coff_sh_rtype_to_howto' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:420:34: note: Parameter 'h' can be declared as pointer to const gdb-13.2/bfd/coff-sh.c:421:29: style: Parameter 'sym' can be declared as pointer to const. However it seems that 'coff_sh_rtype_to_howto' is a callback function, if 'sym' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/coffcode.h:5480:49: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-sh.c:421:29: note: Parameter 'sym' can be declared as pointer to const gdb-13.2/bfd/peXXigen.c:2164:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:2164:7: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:2269:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:2371:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:2379:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:2379:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:3789:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:3789:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/peXXigen.c:3445:16: style: Redundant initialization for 'highest_data'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/peXXigen.c:3430:27: note: highest_data is initialized gdb-13.2/bfd/peXXigen.c:3445:16: note: highest_data is overwritten gdb-13.2/bfd/peXXigen.c:154:14: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:223:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'abs_finder' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peXXigen.c:261:41: note: You might need to cast the function pointer here gdb-13.2/bfd/peXXigen.c:223:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/peXXigen.c:223:53: style: Parameter 'sec' can be declared as pointer to const. However it seems that 'abs_finder' is a callback function, if 'sec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peXXigen.c:261:41: note: You might need to cast the function pointer here gdb-13.2/bfd/peXXigen.c:223:53: note: Parameter 'sec' can be declared as pointer to const gdb-13.2/bfd/peXXigen.c:259:18: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:1339:13: style: Variable 'dll' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:1493:11: style: Variable 'member_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:1790:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:2152:17: style: Variable 'chunk_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:2937:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'is_vma_in_section' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peXXigen.c:2946:38: note: You might need to cast the function pointer here gdb-13.2/bfd/peXXigen.c:2937:30: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/peXXigen.c:2937:58: style: Parameter 'sect' can be declared as pointer to const. However it seems that 'is_vma_in_section' is a callback function, if 'sect' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peXXigen.c:2946:38: note: You might need to cast the function pointer here gdb-13.2/bfd/peXXigen.c:2937:58: note: Parameter 'sect' can be declared as pointer to const gdb-13.2/bfd/peXXigen.c:2955:17: style: Variable 'ipe' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:3032:15: style: Variable 'ddsection' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:3477:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/peXXigen.c:3478:20: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/peXXigen.c:3532:45: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/peXXigen.c:3571:14: style: Variable 'nt' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/peXXigen.c:3730:33: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/peXXigen.c:2637:6: warning: Uninitialized variable: signature [uninitvar] gdb-13.2/bfd/peXXigen.c:2631:18: note: Assuming condition is false gdb-13.2/bfd/peXXigen.c:2637:6: note: Uninitialized variable: signature gdb-13.2/bfd/peXXigen.c:1337:15: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/coff-ia64.c:58:30: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-ia64.c:58:30: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-loongarch64.c:82:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-loongarch64.c:82:24: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/coff-loongarch64.c:83:25: style: Parameter 'howto' can be declared as pointer to const. However it seems that 'in_reloc_p' is a callback function, if 'howto' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/peicode.h:274:20: note: You might need to cast the function pointer here gdb-13.2/bfd/coff-loongarch64.c:83:25: note: Parameter 'howto' can be declared as pointer to const gdb-13.2/bfd/ppcboot.c:237:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ppcboot.c:246:31: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ppcboot.c:375:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/ppcboot.c:376:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8417:38: style:inconclusive: Function 'bfd_generic_relax_section' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:3525:10: note: Function 'bfd_generic_relax_section' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/reloc.c:8417:38: note: Function 'bfd_generic_relax_section' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/reloc.c:8418:25: style:inconclusive: Function 'bfd_generic_relax_section' argument 2 names different: declaration 'section' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:3526:15: note: Function 'bfd_generic_relax_section' argument 2 names different: declaration 'section' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/reloc.c:8418:25: note: Function 'bfd_generic_relax_section' argument 2 names different: declaration 'section' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/reloc.c:8705:35: style:inconclusive: Function '_bfd_generic_set_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/bfd/libbfd.h:3548:10: note: Function '_bfd_generic_set_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/reloc.c:8705:35: note: Function '_bfd_generic_set_reloc' argument 1 names different: declaration 'abfd' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/bfd/reloc.c:665:13: style: Variable 'reloc_target_output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/reloc.c:1007:13: style: Variable 'reloc_target_output_section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/reloc.c:8444:36: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8445:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8465:62: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8466:25: style: Parameter 'flaginfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8467:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8491:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc.c:8492:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc16.c:114:11: warning: Either the condition 's!=(asymbol**)NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] gdb-13.2/bfd/reloc16.c:110:3: note: Assuming that condition 's!=(asymbol**)NULL' is not redundant gdb-13.2/bfd/reloc16.c:114:11: note: Null pointer dereference gdb-13.2/bfd/reloc16.c:102:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/reloc16.c:104:15: style: Parameter 'input_section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/sco5-core.c:112:9: style: Variable 'secname' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/sco5-core.c:107:20: style: Unused variable: val [unusedVariable] gdb-13.2/bfd/section.c:1648:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/section.c:1666:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/section.c:1684:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/section.c:1685:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/simple.c:29:54: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_add_to_set' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:251:26: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:29:54: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:30:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_add_to_set' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:251:26: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:30:39: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:32:15: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_add_to_set' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:251:26: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:32:15: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:33:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_add_to_set' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:251:26: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:33:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:39:55: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_constructor' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:250:27: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:39:55: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:42:16: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_constructor' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:250:27: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:42:16: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:43:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_constructor' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:250:27: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:43:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:49:59: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_common' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:249:31: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:49:59: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:50:45: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_common' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:249:31: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:50:45: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:51:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_common' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:249:31: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:51:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:58:55: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_warning' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:242:23: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:58:55: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:61:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_warning' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:242:23: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:61:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:62:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_warning' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:242:23: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:62:27: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:68:64: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_undefined_symbol' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:243:32: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:68:64: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:70:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_undefined_symbol' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:243:32: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:70:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:71:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_undefined_symbol' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:243:32: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:71:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:78:62: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:244:30: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:78:62: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:79:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:244:30: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:79:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:83:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:244:30: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:83:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:84:27: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_overflow' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:244:30: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:84:27: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:90:63: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_dangerous' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:245:31: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:90:63: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:92:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_dangerous' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:245:31: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:92:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:93:28: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_reloc_dangerous' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:245:31: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:93:28: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:99:64: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_unattached_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:246:32: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:99:64: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:101:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_unattached_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:246:32: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:101:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:102:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_unattached_reloc' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:246:32: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:102:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:108:67: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_definition' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:247:35: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:108:67: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:109:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_definition' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:247:35: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:109:37: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:110:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_definition' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:247:35: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:110:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:111:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'simple_dummy_multiple_definition' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/simple.c:247:35: note: You might need to cast the function pointer here gdb-13.2/bfd/simple.c:111:22: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/simple.c:174:29: style: Variable 'output_info' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/srec.c:1022:19: style: Parameter 'tdata' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/srec.c:1065:47: style: Parameter 'tdata' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/srec.c:1162:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/srec.c:1163:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/srec.c:996:3: style: Variable 'check_sum' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/stabs.c:160:19: style: Variable 'symend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/stabs.c:518:19: style: Variable 'symend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/stabs.c:665:27: style: Variable 'symend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/stabs.c:759:37: style: Parameter 'stabsec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/stabs.c:398:23: style: Variable 'symb' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/syms.c:661:13: style: Condition 'symbol->section' is always true [knownConditionTrueFalse] gdb-13.2/bfd/syms.c:849:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:852:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1472:47: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1479:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1480:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1481:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1487:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1488:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1489:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1503:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/syms.c:1314:16: style: Variable 'mid' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/pei-x86_64.c:586:2: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/pei-x86_64.c:586:2: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/tekhex.c:270:48: style: Parameter 'endp' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/tekhex.c:298:61: style: Parameter 'endp' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/tekhex.c:578:37: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/tekhex.c:627:20: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/tekhex.c:673:16: style: Parameter 'locationp' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/tekhex.c:906:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/tekhex.c:907:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/trad-core.c:233:54: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pei-x86_64.c:158:40: style: Parameter 'rf' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/pei-x86_64.c:392:56: style: Parameter 'endx' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/verilog.c:236:16: style: Redundant initialization for 'src'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/verilog.c:216:23: note: src is initialized gdb-13.2/bfd/verilog.c:236:16: note: src is overwritten gdb-13.2/bfd/vms-misc.c:524:13: style: Variable 'fptr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/bfd/vms-misc.c:523:8: note: fptr is assigned gdb-13.2/bfd/vms-misc.c:524:13: note: fptr is overwritten gdb-13.2/bfd/vms-misc.c:142:55: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-misc.c:307:43: style: Parameter 'recwr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/wasm-module.c:197:12: style: Variable 'magic_const' can be declared as const array [constVariable] gdb-13.2/bfd/wasm-module.c:214:12: style: Variable 'vers_const' can be declared as const array [constVariable] gdb-13.2/bfd/wasm-module.c:249:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/wasm-module.c:427:10: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/wasm-module.c:686:15: style: Variable 'tdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/som.c:1985:7: style:inconclusive: Statements following 'break' will never be executed. [unreachableCode] gdb-13.2/bfd/som.c:991:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:993:29: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:1282:13: style: Parameter 'input_section' can be declared as pointer to const. However it seems that 'hppa_som_reloc' is a callback function, if 'input_section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/som.c:899:3: note: You might need to cast the function pointer here gdb-13.2/bfd/som.c:1282:13: note: Parameter 'input_section' can be declared as pointer to const gdb-13.2/bfd/som.c:1283:8: style: Parameter 'output_bfd' can be declared as pointer to const. However it seems that 'hppa_som_reloc' is a callback function, if 'output_bfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/som.c:899:3: note: You might need to cast the function pointer here gdb-13.2/bfd/som.c:1283:8: note: Parameter 'output_bfd' can be declared as pointer to const gdb-13.2/bfd/som.c:1574:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:1587:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:1950:24: style: Parameter 'file_hdrp' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:2074:22: style: Parameter 'file_hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:2105:13: style: Variable 'space_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/som.c:2190:10: style: Variable 'subspace_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/som.c:2668:25: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:2689:28: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:2712:29: style: Parameter 'space' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:2722:24: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:2736:27: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:4603:9: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:4651:69: style: Variable 'endbufp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/som.c:4913:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:4942:18: style: Variable 'end_fixups' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/som.c:5432:40: style: Parameter 'ibfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:5434:12: style: Parameter 'obfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:5457:41: style: Parameter 'ibfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:5501:37: style: Parameter 'ibfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:5526:22: style: Variable 'auxhdr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/som.c:5642:52: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:5935:29: style: Parameter 'lst_header' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:6023:31: style: Parameter 'lst_header' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:6302:33: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/som.c:6666:8: style: Variable 'curr_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:1355:2: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] gdb-13.2/bfd/vms-lib.c:251:18: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:874:25: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:1239:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'vms_lib_bwrite' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-lib.c:1281:20: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-lib.c:1239:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-lib.c:1254:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'vms_lib_bflush' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-lib.c:1282:21: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-lib.c:1254:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-lib.c:1260:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'vms_lib_bstat' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-lib.c:1282:38: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-lib.c:1260:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-lib.c:1261:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'vms_lib_bstat' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-lib.c:1282:38: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-lib.c:1261:25: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-lib.c:1268:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-lib.c:1269:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-lib.c:1275:32: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-lib.c:1293:21: style: Variable 'tdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:1541:17: style: Parameter 'last_file' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-lib.c:1569:21: style: Variable 'tdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:1581:29: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:1645:31: style: Parameter 'idx' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-lib.c:1941:22: style: Variable 'en' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-lib.c:2378:8: style: Variable 'idd' is assigned a value that is never used. [unreadVariable] gdb-13.2/bfd/xtensa-isa.c:75:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:131:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:303:31: style: Variable 'sreg' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:380:24: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:381:24: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:390:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:407:24: style: Variable 'use' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:436:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:444:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:452:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:460:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:468:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:476:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:484:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:527:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:657:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:748:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:759:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:770:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:781:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:887:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:901:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:949:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:986:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1119:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1134:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1147:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1160:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1175:28: style: Variable 'intop' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1466:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1515:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1526:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1572:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1622:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1648:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1707:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xtensa-isa.c:1742:24: style: Variable 'intisa' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:134:5: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] gdb-13.2/bfd/xsym.c:264:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/xsym.c:264:3: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/xsym.c:264:3: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gdb-13.2/bfd/xsym.c:435:37: style: Checking if unsigned expression 'entry->entry.la_size' is less than zero. [unsignedLessThanZero] gdb-13.2/bfd/xsym.c:96:46: error: Division by zero. [zerodiv] gdb-13.2/bfd/xsym.c:999:20: note: Assignment 'entry_size=0', assigned value is 0 gdb-13.2/bfd/xsym.c:1010:14: note: Assuming condition is false gdb-13.2/bfd/xsym.c:1015:7: note: Calling function 'compute_offset', 3rd argument 'entry_size' value is 0 gdb-13.2/bfd/xsym.c:96:46: note: Division by zero gdb-13.2/bfd/xsym.c:104:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'bfd_sym_mkobject' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xsym.c:2316:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xsym.c:104:29: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xsym.c:110:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:111:22: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:112:25: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:119:21: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:261:31: style: Parameter 'dti' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:534:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:585:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:636:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:686:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:736:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:786:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:836:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:886:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:936:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:986:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1036:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1123:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1144:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1232:34: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:1254:41: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:1308:46: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:1340:50: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:1849:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1879:31: style: Variable 'name_table_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1905:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1931:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1957:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:1983:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2009:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2037:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2063:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2089:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2115:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2141:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2168:24: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xsym.c:2268:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:2274:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:2280:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xsym.c:2281:31: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/ui-style.h:41:3: error: Code 'classcolor{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/bfd/vms-alpha.c:2970:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/vms-alpha.c:2970:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/vms-alpha.c:2970:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/vms-alpha.c:7335:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] gdb-13.2/bfd/vms-alpha.c:7335:7: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] gdb-13.2/bfd/vms-alpha.c:7870:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] gdb-13.2/bfd/vms-alpha.c:7987:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] gdb-13.2/bfd/vms-alpha.c:5524:10: style: Redundant initialization for 'symlen'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/bfd/vms-alpha.c:5520:23: note: symlen is initialized gdb-13.2/bfd/vms-alpha.c:5524:10: note: symlen is overwritten gdb-13.2/bfd/vms-alpha.c:7337:30: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/vms-alpha.c:7338:31: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/bfd/vms-alpha.c:907:18: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:1504:72: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:1616:40: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:1618:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:1868:57: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:1897:18: style: Variable 'maxptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:2996:17: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:3779:12: style: Variable 'symbol' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:3846:49: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:3947:25: style: Parameter 'reloc' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:4031:42: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:4035:18: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:4350:18: style: Variable 'maxptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:4935:34: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:4986:13: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:5076:18: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:5117:32: style: Parameter 'abfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:5266:22: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:5583:72: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:5595:52: style: Parameter 'section' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:5624:23: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-alpha.c:5919:3: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-alpha.c:5624:23: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-alpha.c:5625:20: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-alpha.c:5919:3: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-alpha.c:5625:20: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-alpha.c:5626:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-alpha.c:5919:3: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-alpha.c:5626:18: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-alpha.c:5627:17: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-alpha.c:5919:3: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-alpha.c:5627:17: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-alpha.c:5628:19: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-alpha.c:5919:3: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-alpha.c:5628:19: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-alpha.c:5629:21: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'reloc_nil' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/vms-alpha.c:5919:3: note: You might need to cast the function pointer here gdb-13.2/bfd/vms-alpha.c:5629:21: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/vms-alpha.c:5964:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:6089:17: style: Variable 'maxname' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:6352:22: style: Variable 'esrf' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:7580:21: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:7633:21: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:7683:29: style: Variable 'recbeg' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:8587:24: style: Variable 'shl' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/vms-alpha.c:8801:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:8802:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:8873:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:8884:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:8890:52: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/vms-alpha.c:10031:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xtensa-modules.c:3751:31: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/xtensa-modules.c:4113:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/xtensa-modules.c:4727:29: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/bfd/xtensa-modules.c:20839:45: style: Condition '(insn[1]&0)==0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/xtensa-modules.c:20841:47: style: Condition '(insn[1]&0)==0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/xtensa-modules.c:20843:47: style: Condition '(insn[1]&0)==0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/xtensa-modules.c:20845:47: style: Condition '(insn[1]&0)==0' is always true [knownConditionTrueFalse] gdb-13.2/bfd/xtensa-modules.c:3575:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_arr_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4799:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3575:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3581:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_arr_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4799:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3581:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3589:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_ars_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4807:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3589:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3595:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_ars_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4807:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3595:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3603:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_art_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4811:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3603:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3609:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_art_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4811:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3609:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3617:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_ar0_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4815:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3617:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3623:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_ar0_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4815:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3623:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3631:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_ar4_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4819:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3631:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3637:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_ar4_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4819:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3637:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3645:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_ar8_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4823:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3645:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3651:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_ar8_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4823:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3651:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3659:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_ar12_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4827:26: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3659:35: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3665:30: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_ar12_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4827:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3665:30: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3673:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_ars_entry_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4831:31: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3673:40: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:3679:35: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_ars_entry_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4831:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:3679:35: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4245:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_mx_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4919:24: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4245:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4251:28: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_mx_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4919:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4251:28: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4275:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_mw_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4927:24: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4275:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4281:28: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_mw_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4927:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4281:28: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4289:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_mr0_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4931:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4289:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4295:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_mr0_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4931:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4295:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4303:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_mr1_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4935:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4303:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4309:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_mr1_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4935:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4309:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4317:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_mr2_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4939:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4317:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4323:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_mr2_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4939:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4323:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4331:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_mr3_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4943:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4331:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4337:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_mr3_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4943:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4337:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4385:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_bt_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4955:24: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4385:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4391:28: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_bt_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4955:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4391:28: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4399:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_bs_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4959:24: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4399:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4405:28: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_bs_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4959:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4405:28: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4413:33: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_br_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4963:24: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4413:33: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4419:28: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_br_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:4963:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4419:28: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4743:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_frr_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:5035:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4743:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4749:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_frr_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:5035:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4749:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4757:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_frs_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:5039:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4757:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4763:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_frs_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:5039:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4763:29: note: Parameter 'valp' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4771:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'Operand_frt_decode' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:5043:25: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4771:34: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/bfd/xtensa-modules.c:4777:29: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'Operand_frt_encode' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/bfd/xtensa-modules.c:5043:5: note: You might need to cast the function pointer here gdb-13.2/bfd/xtensa-modules.c:4777:29: note: Parameter 'valp' can be declared as pointer to const ada-exp.y:115:1: error: Code 'using namespace expr' is invalid C code. Use --std or --language to configure the language. [syntaxError] ada-lex.l:732:3: error: Code 'gdb::optional' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/bfd/xcofflink.c:5601:32: style: Array index 'indx' is used before limits check. [arrayIndexThenCheck] gdb-13.2/bfd/xcofflink.c:4333:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/xcofflink.c:4339:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/bfd/xcofflink.c:6589:14: warning: Either the condition 'hentry!=NULL' is redundant or there is possible null pointer dereference: hentry. [nullPointerRedundantCheck] gdb-13.2/bfd/xcofflink.c:6586:7: note: Assuming that condition 'hentry!=NULL' is not redundant gdb-13.2/bfd/xcofflink.c:6589:14: note: Null pointer dereference gdb-13.2/bfd/xcofflink.c:928:31: warning: Either the condition 'contents!=NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] gdb-13.2/bfd/xcofflink.c:1047:16: note: Assuming that condition 'contents!=NULL' is not redundant gdb-13.2/bfd/xcofflink.c:928:31: note: Null pointer addition gdb-13.2/bfd/xcofflink.c:2392:31: warning: Either the condition 'contents!=NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] gdb-13.2/bfd/xcofflink.c:2438:16: note: Assuming that condition 'contents!=NULL' is not redundant gdb-13.2/bfd/xcofflink.c:2392:31: note: Null pointer addition gdb-13.2/bfd/xcofflink.c:286:21: style: Variable 'elsymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:409:21: style: Variable 'elrelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:449:14: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:841:59: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:842:31: style: Parameter 'ldsym' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:881:21: style: Variable 'elsymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:1299:13: style: Variable 'esym_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:1519:19: style: Variable 'linpend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:1658:31: style: Variable 'rel' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:2377:21: style: Variable 'elsymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:2458:13: style: Variable 'esym_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:2698:58: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:2783:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:2783:72: style: Parameter 'rel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:2784:50: style: Parameter 'ssec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:3096:36: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:3165:8: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:3474:32: style: Parameter 'input_bfd' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:3818:8: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:4112:24: style: Variable 'esymend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:4491:36: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:4495:33: style: Variable 'hcsect' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:4770:38: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:4972:13: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:5064:30: style: Parameter 'irel' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:5145:13: style: Variable 'esym_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:5155:13: style: Variable 'oline' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:5645:19: style: Variable 'linpend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:5703:37: style: Variable 'iispend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:5830:27: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:6008:30: style: Variable 'is' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:6099:32: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] gdb-13.2/bfd/xcofflink.c:6128:8: style: Variable 'input_bfd' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:7376:30: style: Variable 'irelend' can be declared as pointer to const [constVariablePointer] gdb-13.2/bfd/xcofflink.c:4832:9: portability: '(void*)esyms' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/arch/aarch32.c:42:10: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/aarch64-mte-linux.c:55:3: error: Code 'gdb::byte_vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/aarch64.h:49:1: error: Code 'namespacestd{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/arc.h:60:3: error: Code 'std::size_t' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/arm-get-next-pcs.h:65:1: error: Code 'std::vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/aarch64-insn.h:135:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/gdb/arch/aarch64-insn.c:348:63: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/gdb/arch/aarch64-insn.c:359:63: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/gdb/arch/amd64.c:76:12: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/csky.c:31:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/arm-linux.c:66:20: style:inconclusive: Function 'arm_linux_get_next_pcs_fixup' argument 2 names different: declaration 'pc' definition 'nextpc'. [funcArgNamesDifferent] gdb-13.2/gdb/arch/arm-linux.h:80:16: note: Function 'arm_linux_get_next_pcs_fixup' argument 2 names different: declaration 'pc' definition 'nextpc'. gdb-13.2/gdb/arch/arm-linux.c:66:20: note: Function 'arm_linux_get_next_pcs_fixup' argument 2 names different: declaration 'pc' definition 'nextpc'. gdb-13.2/gdb/arch/loongarch.h:88:3: error: Code 'std::size_t' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/riscv.h:84:3: error: Code 'std::size_t' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/arch/i386.c:70:12: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/tic6x.c:44:12: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/arm.c:415:12: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/arm.c:436:14: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/arm.c:441:14: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/arm.c:445:14: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/arm.c:451:14: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/arch/arm.c:456:14: style: Variable 'regnum' is assigned a value that is never used. [unreadVariable] c-exp.y:78:3: error: Code 'std::vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-cmds.c:247:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-dump.c:58:3: error: Code 'gdb::unique_xmalloc_ptr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-decode.c:131:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-interp.h:25:1: error: Code 'classcli_interp_base:' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-option.c:28:1: error: Code 'namespacegdb{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-script.c:82:1: error: Code 'classuser_args{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-setshow.c:257:7: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-style.c:130:1: error: Code 'cli_style_option::cli_style_option' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/cli/cli-logging.c:50:49: style: Parameter 'c' can be declared as pointer to const. However it seems that 'set_logging_overwrite' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/cli/cli-logging.c:224:7: note: You might need to cast the function pointer here gdb-13.2/gdb/cli/cli-logging.c:50:49: note: Parameter 'c' can be declared as pointer to const gdb-13.2/gdb/cli/cli-logging.c:71:48: style: Parameter 'c' can be declared as pointer to const. However it seems that 'set_logging_redirect' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/cli/cli-logging.c:245:7: note: You might need to cast the function pointer here gdb-13.2/gdb/cli/cli-logging.c:71:48: note: Parameter 'c' can be declared as pointer to const gdb-13.2/gdb/cli/cli-utils.c:52:4: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/compile/compile-internal.h:45:1: error: Code 'classcompile_instance{' is invalid C code. Use --std or --language to configure the language. [syntaxError] cp-name-parser.y:1958:1: error: Code 'gdb::unique_xmalloc_ptr' is invalid C code. Use --std or --language to configure the language. [syntaxError] d-exp.y:81:1: error: Code 'using namespace expr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/abbrev-cache.c:44:1: error: Code 'abbrev_cache::abbrev_cache' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/abbrev.c:61:1: error: Code 'abbrev_table::abbrev_table' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/comp-unit-head.c:72:30: error: Code 'C++ cast <...' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/cu.c:29:1: error: Code 'dwarf2_cu::dwarf2_cu' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/cooked-index.c:234:1: error: Code 'gdb::unique_xmalloc_ptr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/dwz.c:120:3: error: Code 'std::vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/frame.h:141:3: error: Code 'std::vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/index-cache.c:112:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/line-header.c:60:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/index-write.c:85:1: error: Code 'template<...' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/macro.c:56:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/dwarf2/cooked-index.h:245:1: error: Code 'classcooked_index{' is invalid C code. Use --std or --language to configure the language. [syntaxError] f-exp.y:99:1: error: Code 'template<...' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/gdbarch.c:3120:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] go-exp.y:120:1: error: Code 'using namespace expr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/guile/guile-internal.h:696:1: error: Code 'template<...' is invalid C code. Use --std or --language to configure the language. [syntaxError] m2-exp.y:76:1: error: Code 'using namespace expr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/mi/mi-cmds.h:187:3: error: Code 'gdb::optional' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/mi/mi-out.h:29:1: error: Code 'classmi_ui_out:' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/mi/mi-console.h:26:1: error: Code 'classmi_console_file:' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/mi/mi-getopt.c:84:26: style:inconclusive: Function 'mi_getopt' argument 4 names different: declaration 'opt' definition 'opts'. [funcArgNamesDifferent] gdb-13.2/gdb/mi/mi-getopt.h:54:30: note: Function 'mi_getopt' argument 4 names different: declaration 'opt' definition 'opts'. gdb-13.2/gdb/mi/mi-getopt.c:84:26: note: Function 'mi_getopt' argument 4 names different: declaration 'opt' definition 'opts'. gdb-13.2/gdb/mi/mi-getopt.c:85:10: style:inconclusive: Function 'mi_getopt' argument 5 names different: declaration 'optind' definition 'oind'. [funcArgNamesDifferent] gdb-13.2/gdb/mi/mi-getopt.h:54:40: note: Function 'mi_getopt' argument 5 names different: declaration 'optind' definition 'oind'. gdb-13.2/gdb/mi/mi-getopt.c:85:10: note: Function 'mi_getopt' argument 5 names different: declaration 'optind' definition 'oind'. gdb-13.2/gdb/mi/mi-getopt.c:85:23: style:inconclusive: Function 'mi_getopt' argument 6 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] gdb-13.2/gdb/mi/mi-getopt.h:54:55: note: Function 'mi_getopt' argument 6 names different: declaration 'optarg' definition 'oarg'. gdb-13.2/gdb/mi/mi-getopt.c:85:23: note: Function 'mi_getopt' argument 6 names different: declaration 'optarg' definition 'oarg'. gdb-13.2/gdb/nat/aarch64-linux-hw-point.c:111:33: error: syntax error [syntaxError] gdb-13.2/gdb/nat/aarch64-mte-linux-ptrace.c:89:3: error: Code 'gdb::byte_vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/aarch64-sve-linux-ptrace.c:122:1: error: Code 'std::unique_ptr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/aarch64-linux.c:104:71: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/aarch64-linux.c:162:71: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/fork-inferior.c:36:1: error: Code 'classexecv_argv{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/linux-btrace.c:972:50: style:inconclusive: Function 'linux_disable_btrace' argument 1 names different: declaration 'ti' definition 'tinfo'. [funcArgNamesDifferent] gdb-13.2/gdb/nat/linux-btrace.h:110:75: note: Function 'linux_disable_btrace' argument 1 names different: declaration 'ti' definition 'tinfo'. gdb-13.2/gdb/nat/linux-btrace.c:972:50: note: Function 'linux_disable_btrace' argument 1 names different: declaration 'ti' definition 'tinfo'. gdb-13.2/gdb/nat/linux-btrace.c:981:33: style:inconclusive: Function 'linux_read_btrace' argument 2 names different: declaration 'btinfo' definition 'tinfo'. [funcArgNamesDifferent] gdb-13.2/gdb/nat/linux-btrace.h:114:37: note: Function 'linux_read_btrace' argument 2 names different: declaration 'btinfo' definition 'tinfo'. gdb-13.2/gdb/nat/linux-btrace.c:981:33: note: Function 'linux_read_btrace' argument 2 names different: declaration 'btinfo' definition 'tinfo'. gdb-13.2/gdb/nat/linux-btrace.c:972:50: style: Parameter 'tinfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/linux-btrace.c:980:40: style: Parameter 'btrace' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/linux-btrace.c:981:33: style: Parameter 'tinfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-cpuid.h:55:20: style: Parameter '__eax' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-cpuid.h:55:41: style: Parameter '__ebx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-cpuid.h:56:20: style: Parameter '__ecx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-cpuid.h:56:41: style: Parameter '__edx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:248:21: style: Parameter '__eax' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:248:42: style: Parameter '__ebx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:249:21: style: Parameter '__ecx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:249:42: style: Parameter '__edx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:264:20: style: Parameter '__eax' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:264:41: style: Parameter '__ebx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:265:20: style: Parameter '__ecx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/x86-gcc-cpuid.h:265:41: style: Parameter '__edx' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/linux-osdata.c:842:0: error: #error "local_address and remote_address buffers too small" [preprocessorErrorDirective] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:578:46: style:inconclusive: Function 'amd64_linux_siginfo_fixup_common' argument 1 names different: declaration 'native' definition 'ptrace'. [funcArgNamesDifferent] gdb-13.2/gdb/nat/amd64-linux-siginfo.h:54:50: note: Function 'amd64_linux_siginfo_fixup_common' argument 1 names different: declaration 'native' definition 'ptrace'. gdb-13.2/gdb/nat/amd64-linux-siginfo.c:578:46: note: Function 'amd64_linux_siginfo_fixup_common' argument 1 names different: declaration 'native' definition 'ptrace'. gdb-13.2/gdb/nat/amd64-linux-siginfo.c:50:13: style: union member 'nat_sigval_t::sival_int' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:62:9: style: union member 'Anonymous0::_pad' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:75:20: style: struct member 'Anonymous2::_sigval' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:81:20: style: struct member 'Anonymous3::_pid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:82:20: style: struct member 'Anonymous3::_uid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:89:20: style: struct member 'Anonymous4::_pid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:90:20: style: struct member 'Anonymous4::_uid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:132:17: style: struct member 'compat_timeval::tv_sec' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:133:7: style: struct member 'compat_timeval::tv_usec' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:138:16: style: union member 'compat_sigval_t::sival_int' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:150:9: style: union member 'Anonymous8::_pad' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:164:23: style: struct member 'Anonymous10::_sigval' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:170:20: style: struct member 'Anonymous11::_pid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:171:20: style: struct member 'Anonymous11::_uid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:178:20: style: struct member 'Anonymous12::_pid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:179:20: style: struct member 'Anonymous12::_uid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:217:9: style: union member 'Anonymous16::_pad' is never used. [unusedStructMember] gdb-13.2/gdb/nat/linux-personality.c:31:1: error: Code 'maybe_disable_address_space_randomization::maybe_disable_address_space_randomization' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:231:23: style: struct member 'Anonymous18::_sigval' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:237:20: style: struct member 'Anonymous19::_pid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:238:20: style: struct member 'Anonymous19::_uid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:245:20: style: struct member 'Anonymous20::_pid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:246:20: style: struct member 'Anonymous20::_uid' is never used. [unusedStructMember] gdb-13.2/gdb/nat/amd64-linux-siginfo.c:256:20: style: struct member 'Anonymous21::_addr_lsb' is never used. [unusedStructMember] gdb-13.2/gdb/nat/linux-ptrace.c:36:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/linux-waitpid.c:29:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/linux-procfs.c:303:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gdb-13.2/gdb/nat/linux-procfs.c:300:22: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/nat/netbsd-nat.c:32:1: error: Code 'namespacenetbsd_nat{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/windows-nat.c:34:1: error: Code 'namespacewindows_nat{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/nat/x86-linux-dregs.c:150:35: style: Variable 'state' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/nat/x86-linux.c:49:25: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/nat/aarch64-hw-point.c:231:22: style: Unsigned expression 'offset' can't be negative so it is unnecessary to test it. [unsignedPositive] gdb-13.2/gdb/nat/linux-namespaces.c:362:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/nat/linux-namespaces.c:657:17: style: Condition 'h.pid<0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/nat/linux-namespaces.c:656:23: note: Calling function 'do_fork' returns -1 gdb-13.2/gdb/nat/linux-namespaces.c:656:23: note: Assignment 'h.pid=do_fork()', assigned value is -1 gdb-13.2/gdb/nat/linux-namespaces.c:657:17: note: Condition 'h.pid<0' is always true gdb-13.2/gdb/nat/linux-namespaces.c:278:13: style: Variable 'cl' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/nat/linux-namespaces.c:645:24: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/nat/linux-namespaces.c:782:35: style: Parameter 'helper' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/linux-namespaces.c:808:34: style: Parameter 'helper' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/linux-namespaces.c:840:38: style: Parameter 'helper' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/nat/linux-namespaces.c:364:22: style: Variable 'iov[3].iov_len' is assigned a value that is never used. [unreadVariable] p-exp.y:83:1: error: Code 'using namespace expr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/python/py-ref.h:26:1: error: Code 'template<...' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/python/python.c:1817:36: style: Parameter 'c' can be declared as pointer to const. However it seems that 'set_python_ignore_environment' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/python/python.c:2347:7: note: You might need to cast the function pointer here gdb-13.2/gdb/python/python.c:1817:36: note: Parameter 'c' can be declared as pointer to const gdb-13.2/gdb/python/python.c:1889:30: style: Parameter 'c' can be declared as pointer to const. However it seems that 'set_python_dont_write_bytecode' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/python/python.c:2370:5: note: You might need to cast the function pointer here gdb-13.2/gdb/python/python.c:1889:30: note: Parameter 'c' can be declared as pointer to const gdb-13.2/gdb/stabsread.c:2058:0: error: #error This code wrong for TARGET_CHAR_BIT not 8 [preprocessorErrorDirective] gdb-13.2/gdb/stubs/ia64vms-stub.c:33:0: error: #error "Must be compiled with 64 bit pointers" [preprocessorErrorDirective] gdb-13.2/gdb/stubs/m68k-stub.c:238:5: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] gdb-13.2/gdb/stubs/sh-stub.c:1156:8: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] gdb-13.2/gdb/stubs/sparc-stub.c:126:5: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] gdb-13.2/gdb/stubs/z80-stub.c:1253:39: error: syntax error [syntaxError] gdb-13.2/gdb/stubs/i386-stub.c:789:12: style: Same expression on both sides of '=='. [duplicateExpression] gdb-13.2/gdb/stubs/i386-stub.c:529:27: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/i386-stub.c:559:12: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/i386-stub.c:560:12: style: Parameter 'parm' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/i386-stub.c:584:17: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/i386-stub.c:629:12: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:720:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gdb-13.2/gdb/stubs/m32r-stub.c:252:25: style: Same expression on both sides of '&'. [duplicateExpression] gdb-13.2/gdb/stubs/m32r-stub.c:317:12: style: Same expression on both sides of '=='. [duplicateExpression] gdb-13.2/gdb/stubs/m32r-stub.c:481:27: style: Same expression on both sides of '&'. [duplicateExpression] gdb-13.2/gdb/stubs/m32r-stub.c:211:15: style: Local variable 'stepping' shadows outer variable [shadowVariable] gdb-13.2/gdb/stubs/m32r-stub.c:1143:3: note: Shadowed declaration gdb-13.2/gdb/stubs/m32r-stub.c:211:15: note: Shadow variable gdb-13.2/gdb/stubs/m32r-stub.c:664:27: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:706:26: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:784:25: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:969:31: style: Parameter 'instr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:988:30: style: Parameter 'instr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:1023:28: style: Parameter 'instr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:1114:35: style: Parameter 'instr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:1666:18: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:1704:32: style: Parameter 'parm' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/stubs/m32r-stub.c:559:11: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/gdb/stubs/m32r-stub.c:1134:17: style: struct member 'STEPPING_CONTEXT::target_addr' is never used. [unusedStructMember] gdb-13.2/gdb/stubs/m32r-stub.c:1135:17: style: struct member 'STEPPING_CONTEXT::target_size' is never used. [unusedStructMember] gdb-13.2/gdb/stubs/m32r-stub.c:813:17: style: Unused variable: ch [unusedVariable] gdb-13.2/gdb/stubs/m32r-stub.c:1712:6: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/stubs/m32r-stub.c:1717:6: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/target-delegates.c:88:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/target/target.c:175:1: error: Code 'gdb::unique_xmalloc_ptr' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/target/waitstatus.h:394:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/testsuite/gdb.ada/lang_switch/foo.c:19:20: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.ada/ptype_union.c:20:7: style: union member 'a::l' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ada/ptype_union.c:21:10: style: union member 'a::m' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ada/ptype_union.c:26:9: style: union member 'b::n' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ada/ptype_union.c:27:9: style: union member 'b::o' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-fp.c:26:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c:100:7: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c:102:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-mte-core.c:97:18: style: Unused variable: tagged_ptr [unusedVariable] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-mte.c:99:7: error: Memory leak: tagged_ptr [memleak] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-mte.c:106:7: error: Memory leak: untagged_ptr [memleak] gdb-13.2/gdb/testsuite/gdb.arch/aix-sighandle.c:29:11: error: Uninitialized variable: ptr [uninitvar] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:57:10: style: Variable 'sp1->i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:55:10: note: sp1->i is assigned gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:57:10: note: sp1->i is overwritten gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:58:10: style: Variable 'sp2->i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:56:10: note: sp2->i is assigned gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:58:10: note: sp2->i is overwritten gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:61:7: style: Variable '*p1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:59:7: note: *p1 is assigned gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:61:7: note: *p1 is overwritten gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:62:7: style: Variable '*p2' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:60:7: note: *p2 is assigned gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:62:7: note: *p2 is overwritten gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:49:12: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:35:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c:49:12: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:109:9: debug: Scope::checkVariable found variable 'var_short' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:43:44: debug: Function::addArguments found argument 'matrix' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:50:24: debug: Function::addArguments found argument 'vshort_f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:51:33: debug: Function::addArguments found argument 'vushort_f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:57:24: debug: Function::addArguments found argument 'x_f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.arch/altivec-regs.c:28:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:38:25: style: Variable 'vector_struct.vshort1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:39:25: style: Variable 'vector_struct.vshort3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/altivec-abi.c:108:15: style: Variable 'var_int' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value-param-dwarf5.c:23:9: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value-param.c:23:9: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value-param-dwarf5.c:24:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value-param.c:24:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value-param-dwarf5.c:25:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value-param.c:25:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/amd64-eval.cc:27:3: style: Struct 'SimpleBase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.arch/amd64-eval.cc:36:3: style: Struct 'SimpleDerived' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.arch/amd64-eval.cc:43:3: style: Struct 'NonTrivialDestructorDerived' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c:77:3: error: Returning/dereferencing 'ptr' after it is deallocated / released [deallocret] gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c:74:9: note: Returning/dereferencing 'ptr' after it is deallocated / released gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c:77:3: note: Returning/dereferencing 'ptr' after it is deallocated / released gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c:48:14: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/amd64-entry-value.cc:40:5: style: Redundant assignment of 'i' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c:61:3: error: Returning/dereferencing 'ptr' after it is deallocated / released [deallocret] gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c:58:9: note: Returning/dereferencing 'ptr' after it is deallocated / released gdb-13.2/gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c:61:3: note: Returning/dereferencing 'ptr' after it is deallocated / released gdb-13.2/gdb/testsuite/gdb.arch/amd64-optimout-repeat.c:24:11: style: struct member 'Anonymous0::xxx' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.arch/arm-bl-branch-dest.c:21:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.arch/arm-bl-branch-dest.c:25:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/arm-bl-branch-dest.c:21:3: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:52:9: style: Variable 'n_vec' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:51:9: note: n_vec is assigned gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:52:9: note: n_vec is overwritten gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:53:9: style: Variable 'n_vec' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:52:9: note: n_vec is assigned gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:53:9: note: n_vec is overwritten gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:54:9: style: Variable 'n_vec' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:53:9: note: n_vec is assigned gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:54:9: note: n_vec is overwritten gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:55:9: style: Variable 'n_vec' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:54:9: note: n_vec is assigned gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:55:9: note: n_vec is overwritten gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:56:9: style: Variable 'n_vec' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:55:9: note: n_vec is assigned gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:56:9: note: n_vec is overwritten gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:42:14: style: Local variable 'n_vec' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:13:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:42:14: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:50:4: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/e500-abi.c:93:11: style: Variable 'res_vec' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/gdb1558.c:23:1: portability: Omitted return type of function 'sub1' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/gdb/testsuite/gdb.arch/gdb1558.c:28:1: portability: Omitted return type of function 'sub2' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/gdb/testsuite/gdb.arch/gdb1558.c:33:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/gdb/testsuite/gdb.arch/e500-regs.c:31:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/e500-regs.c:35:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/i386-avx512.c:93:22: warning: Uninitialized variable: has_avx512f [uninitvar] gdb-13.2/gdb/testsuite/gdb.arch/i386-avx512.c:87:17: note: Assuming condition is false gdb-13.2/gdb/testsuite/gdb.arch/i386-avx512.c:93:22: note: Uninitialized variable: has_avx512f gdb-13.2/gdb/testsuite/gdb.arch/i386-avx.c:59:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/lib/precise-aligned-alloc.c:54:9: style: Variable 'p_end' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/lib/precise-aligned-alloc.c:80:14: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/lib/precise-aligned-alloc.c:54:19: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/lib/precise-aligned-alloc.c:57:5: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/lib/precise-aligned-alloc.c:61:13: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:31:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:30:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:31:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:32:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:31:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:32:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:33:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:32:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:33:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:46:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:45:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:46:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:47:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:46:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:47:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:48:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:47:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:48:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:96:9: style: Variable 'mchar' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:95:9: note: mchar is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:96:9: note: mchar is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:41:13: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:41:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:41:29: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:41:37: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:66:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:35:19: warning: Uninitialized variable: *a [uninitvar] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:92:15: note: Calling function 'upper', 1st argument 'sa' value is gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:35:19: note: Uninitialized variable: *a gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-call.c:96:9: style: Variable 'mchar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c:25:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c:33:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:43:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:42:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:43:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:44:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:43:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:44:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:45:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:44:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:45:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:46:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:45:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:46:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:54:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:53:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:54:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:55:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:54:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:55:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:56:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:55:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:56:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:50:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:50:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:50:32: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:50:41: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:50:50: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:46:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c:58:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/i386-sse-stack-align.c:69:10: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] gdb-13.2/gdb/testsuite/gdb.arch/iwmmxt-regs.c:21:31: style: Parameter 'regs' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/iwmmxt-regs.c:21:55: style: Parameter 'control_regs' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/iwmmxt-regs.c:49:32: style: Parameter 'regs' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/iwmmxt-regs.c:49:56: style: Parameter 'control_regs' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/i386-sse.c:74:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.arch/mips-octeon-bbit.c:36:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/gdb/testsuite/gdb.arch/mips-fpregset-core.c:42:15: style: union member 'Anonymous0::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.arch/mips-octeon-bbit.c:29:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/mips-octeon-bbit.c:30:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/mips-octeon-bbit.c:31:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/mips-octeon-bbit.c:32:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/mips16-thunks-sinmain.c:48:5: style: Redundant initialization for 'l'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/gdb/testsuite/gdb.arch/mips16-thunks-sinmain.c:37:10: note: l is initialized gdb-13.2/gdb/testsuite/gdb.arch/mips16-thunks-sinmain.c:48:5: note: l is overwritten gdb-13.2/gdb/testsuite/gdb.arch/powerpc-htm-regs.c:35:1: style: Label 'end' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.arch/powerpc-d128-regs.c:22:20: style: Variable 'd128' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/powerpc-tar.c:20:18: error: Syntax Error: AST broken, binary operator '=' doesn't have two operands. [internalAstError] gdb-13.2/gdb/testsuite/gdb.arch/ppc-dfp.c:31:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/ppc-dfp.c:31:37: style: Parameter 'envp' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/ppc-fp.c:19:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c:67:2: warning: Unused variable value 'sc_ret' [constStatement] gdb-13.2/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c:106:2: warning: Unused variable value 'sc_ret' [constStatement] gdb-13.2/gdb/testsuite/gdb.arch/ppc64-isa207-atomic-inst.c:29:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/ppc64-isa207-atomic-inst.c:29:37: style: Parameter 'envp' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/s390-tdbregs.c:63:4: warning: Possible null pointer dereference: p [nullPointer] gdb-13.2/gdb/testsuite/gdb.arch/s390-tdbregs.c:60:22: note: Assignment 'p=0', assigned value is 0 gdb-13.2/gdb/testsuite/gdb.arch/s390-tdbregs.c:63:4: note: Null pointer dereference gdb-13.2/gdb/testsuite/gdb.arch/s390-tdbregs.c:68:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.arch/vsx-regs.c:28:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/vsx-vsr-float28.c:28:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/sparc64-adi.c:128:10: style: Variable 'vaddr1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/sparc64-adi.c:129:10: style: Variable 'vaddr2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/sparc64-adi.c:130:10: style: Variable 'vaddr3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/sparc64-adi.c:131:10: style: Variable 'vaddr4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/sparc64-adi.c:68:7: style: Unused variable: version [unusedVariable] gdb-13.2/gdb/testsuite/gdb.arch/sparc64-adi.c:111:11: style: Variable 'vmaddr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.arch/x86-avx512fp16-abi.c:34:14: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/access-mem-running.c:41:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/advance-until-multiple-locations.cc:49:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/advance.c:49:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/annota1.c:15:7: style: Variable 'my_array' can be declared as const array [constVariable] gdb-13.2/gdb/testsuite/gdb.base/anon.c:7:7: style: struct member 'outer::one' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/anon.c:8:7: style: struct member 'outer::two' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/anon.c:13:11: style: struct member 'Anonymous0::three' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/anon.c:14:11: style: struct member 'Anonymous0::four' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/anon.c:18:11: style: struct member 'Anonymous0::five' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/annota3.c:15:7: style: Variable 'my_array' can be declared as const array [constVariable] gdb-13.2/gdb/testsuite/gdb.base/async.c:28:4: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/async.c:26:4: note: y is assigned gdb-13.2/gdb/testsuite/gdb.base/async.c:28:4: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.base/async.c:29:4: style: Variable 'z' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/async.c:27:4: note: z is assigned gdb-13.2/gdb/testsuite/gdb.base/async.c:29:4: note: z is overwritten gdb-13.2/gdb/testsuite/gdb.base/async.c:29:4: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/async.c:31:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/attach-non-pgrp-leader.c:41:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/attach-twice.c:32:8: style: Unused variable: l [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/average.c:24:10: style: Unused variable: c [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/bitfields2.c:164:7: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/bitfields2.c:66:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/bitfields2.c:164:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/bitfields.c:31:20: style: struct member 'Anonymous0::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/bitfields.c:36:4: style: struct member 'Anonymous0::deep' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/bitfields.c:37:20: style: struct member 'Anonymous0::e' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/bitfields.c:34:17: style: struct member 'Anonymous1::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/bitfields.c:35:17: style: struct member 'Anonymous1::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:270:4: error: Null pointer dereference: (volatile char*)0 [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:116:39: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:202:36: warning: Uninitialized variable: max_core_size [uninitvar] gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:190:38: note: Assuming condition is false gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:202:36: note: Uninitialized variable: max_core_size gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:210:21: warning: Uninitialized variable: max_chunk_size [uninitvar] gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:202:27: note: Assuming condition is false gdb-13.2/gdb/testsuite/gdb.base/bigcore.c:210:21: note: Uninitialized variable: max_chunk_size gdb-13.2/gdb/testsuite/gdb.base/bp-cmds-continue-ctrl-c.c:23:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/break-inline.c:27:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/break-main-file-remove-fail.c:40:14: error: Invalid munmap() argument nr 2. The value is 0 but the valid values are '1:'. [invalidFunctionArg] gdb-13.2/gdb/testsuite/gdb.base/break-main-file-remove-fail.c:40:11: error: Null pointer dereference [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/break.c:57:18: style: Condition 'argc==12345' is always false [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.base/break.c:55:11: error: Return value of allocation function 'malloc' is not stored. [leakReturnValNotUsed] gdb-13.2/gdb/testsuite/gdb.base/break1.c:58:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/break1.c:58:30: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-sc.c:37:3: debug: Scope::checkVariable found variable 'foo' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/call-sc.c:37:14: debug: Scope::checkVariable found variable 'L' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/call-sc.c:38:3: debug: Scope::checkVariable found variable 'init' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/call-sc.c:45:12: debug: Function::addArguments found argument 'foo' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/call-sc.c:57:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/call-rt-st.c:551:14: style: Variable 'number' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:11:24: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:19:8: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:20:8: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:21:8: style: Parameter 's3' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:22:8: style: Parameter 's4' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:23:8: style: Parameter 's5' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:24:8: style: Parameter 's6' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/call-strs.c:25:8: style: Parameter 's7' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/cast-call.c:35:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:381:9: style: Local variable 'sum_args' shadows outer function [shadowFunction] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:187:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:381:9: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:425:10: style: Local variable 'sum_args' shadows outer function [shadowFunction] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:187:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:425:10: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:187:41: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:543:7: style: Parameter 'string_arg1' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:543:21: style: Parameter 'string_arg2' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:554:6: style: Parameter 'char_array_arg1' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:554:25: style: Parameter 'char_array_arg2' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/callfuncs.c:647:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/call-ar-st.c:195:29: style: Parameter 'array_c' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/call-ar-st.c:213:34: style: Parameter 'array_d' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/call-ar-st.c:231:31: style: Parameter 'array_f' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/call-ar-st.c:250:27: style: Parameter 'array_i' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/call-ar-st.c:884:14: style: Variable 'number' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/catch-gdb-caused-signals.c:32:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/catch-fork-kill.c:51:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] gdb-13.2/gdb/testsuite/gdb.base/catch-fork-kill.c:85:16: style: Condition 'pid>0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.base/catch-fork-kill.c:59:16: note: Assuming that condition 'pid==0' is not redundant gdb-13.2/gdb/testsuite/gdb.base/catch-fork-kill.c:85:16: note: Condition 'pid>0' is always true gdb-13.2/gdb/testsuite/gdb.base/catch-fork-kill.c:42:23: style: Variable 'string' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.c:31:3: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.base/catch-signal-fork.c:42:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.base/catch-signal-fork.c:58:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.base/catch-signal.c:40:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.base/catch-syscall.c:63:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] gdb-13.2/gdb/testsuite/gdb.base/catch-syscall.c:70:6: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/catch-syscall.c:59:10: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] gdb-13.2/gdb/testsuite/gdb.base/charset-malloc.c:34:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/checkpoint.c:28:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/checkpoint.c:28:13: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/checkpoint.c:30:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/checkpoint.c:26:8: style: Unused variable: linebuf [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/code_elim1.c:34:10: error: Uninitialized variable: v_in_main [uninitvar] gdb-13.2/gdb/testsuite/gdb.base/code_elim1.c:42:10: error: Uninitialized variable: v_in_global_func [uninitvar] gdb-13.2/gdb/testsuite/gdb.base/code_elim1.c:32:7: style: Variable 'v_in_main' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.base/code_elim1.c:40:7: style: Variable 'v_in_global_func' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.base/complex-parts.c:26:29: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/complex.c:48:15: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/complex.c:64:24: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/condbreak-bad.c:22:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:23:8: performance:inconclusive: Technically the member function 'Base::func' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:31:8: performance:inconclusive: Technically the member function 'A::func' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:39:8: performance:inconclusive: Technically the member function 'C::func' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:31:8: warning: The class 'A' defines member function with name 'func' also defined in its parent class 'Base'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:23:8: note: Parent function 'Base::func' gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:31:8: note: Derived function 'A::func' gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:39:8: warning: The class 'C' defines member function with name 'func' also defined in its parent class 'Base'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:23:8: note: Parent function 'Base::func' gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:39:8: note: Derived function 'C::func' gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:29:20: style: class member 'A::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/condbreak-multi-context.cc:37:20: style: class member 'C::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.arch/s390-multiarch.c:145:7: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/gdb.arch/s390-multiarch.c:153:28: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.arch/s390-multiarch.c:208:36: style: Parameter 'elf' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/coredump-filter.c:28:16: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/ctxobj-f.c:20:0: error: #error GET_VERSION macro is undefined [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:130:15: style: struct member 'link::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:134:17: style: struct member 'link::linkfunc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:136:18: style: struct member 'link::stuff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:173:7: style: struct member 'inner_struct::inner_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:174:8: style: struct member 'inner_struct::inner_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:177:7: style: union member 'inner_union::inner_union_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:178:8: style: union member 'inner_union::inner_union_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:188:9: style: struct member 'Anonymous2::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:189:23: style: struct member 'Anonymous2::anonymous_level_2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctf-ptype.c:189:18: style: struct member 'Anonymous3::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ctxobj-v.c:18:0: error: #error VERSION macro is not defined. [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:8:72: style: Parameter 'cpc' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:15:47: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:15:68: style: Parameter 'fpv' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:79:27: style: Variable 'lariat' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:80:27: style: Variable 'laudanum' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:81:27: style: Variable 'lecithin' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:82:27: style: Variable 'leviathan' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:83:27: style: Variable 'libretto' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:84:27: style: Variable 'lissome' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:85:27: style: Variable 'locust' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:173:53: style: Variable 'veldt' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:200:17: style: Variable 'creed' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:201:17: style: Variable 'crow' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:196:31: style: struct member 'crass::ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:197:32: style: struct member 'crisp::ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:32:24: style: Variable 'lemonade' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:45:37: style: Variable 'legend' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:46:37: style: Variable 'legerdemain' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:47:37: style: Variable 'leniency' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:48:37: style: Variable 'leonine' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:49:37: style: Variable 'lesion' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:50:37: style: Variable 'lethal' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:51:37: style: Variable 'lethargic' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:52:37: style: Variable 'levity' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:56:45: style: Variable 'lewd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:57:45: style: Variable 'lexicographer' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:58:45: style: Variable 'lexicon' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:59:45: style: Variable 'liaison' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:60:45: style: Variable 'libation' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:61:45: style: Variable 'libelous' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:62:45: style: Variable 'libertine' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:63:45: style: Variable 'libidinous' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:67:36: style: Variable 'languish' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:68:36: style: Variable 'languor' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:69:36: style: Variable 'lank' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:70:36: style: Variable 'lapidary' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:71:36: style: Variable 'larceny' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:72:36: style: Variable 'largess' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:73:36: style: Variable 'lascivious' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:74:36: style: Variable 'lassitude' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:79:37: style: Variable 'lariat' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:80:37: style: Variable 'laudanum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:81:37: style: Variable 'lecithin' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:82:37: style: Variable 'leviathan' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:83:37: style: Variable 'libretto' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:84:37: style: Variable 'lissome' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:85:37: style: Variable 'locust' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:88:25: style: Variable 'logical' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:89:33: style: Variable 'lugged' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:90:23: style: Variable 'luck' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:91:33: style: Variable 'lunar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:92:23: style: Variable 'lumen' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:93:31: style: Variable 'lurk' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:94:23: style: Variable 'lush' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:95:24: style: Variable 'lynx' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:200:23: style: Variable 'creed' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:201:22: style: Variable 'crow' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:25:17: style: Variable 'lavish' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:26:9: style: Variable 'lax' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:27:18: style: Variable 'lecherous' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:28:8: style: Variable 'lechery' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:29:17: style: Variable 'lectern' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:30:9: style: Variable 'leeway' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:31:10: style: Variable 'legacy' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:162:47: style: Variable 'caveat' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:163:47: style: Variable 'covenant' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:172:53: style: Variable 'vane' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:173:53: style: Variable 'veldt' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:177:53: style: Variable 'cove' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:178:53: style: Variable 'cavity' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:196:38: style: Variable 'crass' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/constvars.c:197:39: style: Variable 'crisp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/cursal.c:22:10: style: Variable 'v2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/cursal.c:35:10: style: Variable 'v0' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/dcache-flush.c:19:12: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/dcache-flush.c:19:21: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/cvexpr.c:272:17: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/debug-expr.c:4:15: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/dcache-line-read-error.c:94:21: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/dcache-line-read-error.c:101:25: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/dcache-line-read-error.c:102:24: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/display.c:9:22: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/display.c:17:10: style: Variable 'p_i' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/display.c:35:13: style: Variable 'p_i' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/display.c:36:13: style: Variable 'p_f' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/display.c:37:13: style: Variable 'p_c' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/display.c:14:10: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/display.c:15:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/display.c:17:14: style: Variable 'p_i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/display.c:36:17: style: Variable 'p_f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/display.c:33:15: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/dprintf-bp-same-addr.c:23:3: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/dprintf-bp-same-addr.c:24:3: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/dprintf-bp-same-addr.c:25:3: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/dlmopen.c:52:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/dprintf-pendshr.c:20:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/dprintf.c:59:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/dso2dso.c:23:15: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/endianity.c:39:33: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/endianity.c:22:7: style: struct member 'otherendian::v' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/endianity.c:23:9: style: struct member 'otherendian::w' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/endianity.c:24:12: style: struct member 'otherendian::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/endianity.c:25:9: style: struct member 'otherendian::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/endianity.c:27:10: style: struct member 'otherendian::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/eh_return.c:38:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/testsuite/gdb.base/ending-run.c:18:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/ending-run.c:23:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/ending-run.c:23:25: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/execd-prog.c:18:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/execd-prog.c:17:16: style: Variable 'local_j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/examine-backward.c:96:13: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/exprs.c:157:15: style: struct member 'link::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/exprs.c:161:17: style: struct member 'link::linkfunc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/exprs.c:163:18: style: struct member 'link::stuff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/find-unmapped.c:91:7: error: Memory leak: p [memleak] gdb-13.2/gdb/testsuite/gdb.base/find-unmapped.c:88:17: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/find-unmapped.c:95:24: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/find-unmapped.c:96:36: portability: 'last_mapped_page' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/find-unmapped.c:100:32: portability: 'unmapped_page' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/find-unmapped.c:101:32: portability: 'unmapped_page' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/gdb/testsuite/gdb.base/fixsection.c:22:19: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/fileio.c:484:7: error: Resource leak: ret [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/foll-exec-mode.c:29:15: style: Variable 'local_k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork-exit.c:29:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/foll-fork.c:19:8: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/foll-fork.c:25:8: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork-exit.c:29:7: style: Variable 'pid' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork-exit.c:28:7: note: pid is assigned gdb-13.2/gdb/testsuite/gdb.base/foll-vfork-exit.c:29:7: note: pid is overwritten gdb-13.2/gdb/testsuite/gdb.base/foll-exec.c:57:19: style: Local variable 'argv' shadows outer argument [shadowArgument] gdb-13.2/gdb/testsuite/gdb.base/foll-exec.c:27:29: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/foll-exec.c:57:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/foll-vfork-exit.c:32:28: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork-exit.c:37:28: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/foll-exec.c:30:15: style: Variable 'local_k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork.c:32:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork.c:32:7: style: Variable 'pid' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/foll-vfork.c:31:7: note: pid is assigned gdb-13.2/gdb/testsuite/gdb.base/foll-vfork.c:32:7: note: pid is overwritten gdb-13.2/gdb/testsuite/gdb.base/foll-vfork.c:48:26: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/fork-print-inferior-events.c:22:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/fork-no-detach-follow-child-dlopen.c:32:7: error: Resource leak: shlib [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/frame-args.c:38:48: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/frame-args.c:27:9: style: union member 'u::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/frameapply.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gdb-13.2/gdb/testsuite/gdb.base/frameapply.c:69:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/gcore-relro-pie.c:21:4: error: Null pointer dereference: (volatile int*)0 [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:82:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:83:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:84:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:85:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:90:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:95:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:100:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:114:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:119:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:124:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:129:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:184:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:193:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:198:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:203:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:268:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:272:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:359:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:465:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:466:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:467:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:468:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:473:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:474:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:475:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:295:6: style: Redundant assignment of 'ul' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:301:6: style: Redundant assignment of 'ui' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:307:6: style: Redundant assignment of 'us' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:313:6: style: Redundant assignment of 'uc' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:319:5: style: Redundant assignment of 'd' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:325:5: style: Redundant assignment of 'f' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:331:5: style: Redundant assignment of 'l' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:337:5: style: Redundant assignment of 'i' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:343:5: style: Redundant assignment of 's' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:349:5: style: Redundant assignment of 'c' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:447:8: style: Local variable 's' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:32:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:447:8: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:191:20: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:191:31: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:191:40: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:191:50: style: Parameter 'lp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:196:29: style: Parameter 'ucp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:196:50: style: Parameter 'usp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:196:69: style: Parameter 'uip' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:196:89: style: Parameter 'ulp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:201:21: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:201:33: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:267:27: style: Parameter 'stp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:270:26: style: Parameter 'unp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:463:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:485:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:82:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:83:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:84:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:85:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:90:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:90:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:90:19: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:90:26: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:95:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:95:12: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:95:19: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:95:28: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:100:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:100:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:100:21: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:100:28: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:6: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:15: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:23: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:32: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:40: style: Variable 'c3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:49: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:57: style: Variable 'c4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:105:67: style: Variable 'c5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:114:6: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:114:14: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:114:22: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:114:30: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:119:6: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:119:14: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:119:22: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:119:30: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:124:6: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:124:14: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:124:22: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:124:30: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:129:6: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:129:14: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:129:22: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:129:30: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:7: style: Variable 'uc1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:15: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:24: style: Variable 'uc2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:32: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:41: style: Variable 'uc3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:50: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:60: style: Variable 'uc4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:134:70: style: Variable 'uc5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:143:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:148:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:153:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:158:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:163:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/gcore-tls-pie.c:28:4: error: Null pointer dereference: (volatile int*)0 [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:168:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:173:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:15: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:32: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:41: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:49: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:58: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:178:66: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:6: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:16: style: Variable 'f1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:26: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:34: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:44: style: Variable 'c3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:52: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:62: style: Variable 'c4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:183:70: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:184:6: style: Variable 'c5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:184:16: style: Variable 'c6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:184:26: style: Variable 'c7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:184:35: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:193:6: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:193:14: style: Variable 'sp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:193:22: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:193:30: style: Variable 'lp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:198:7: style: Variable 'ucp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:198:16: style: Variable 'usp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:198:25: style: Variable 'uip' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:198:34: style: Variable 'ulp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:203:6: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:203:14: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:268:6: style: Variable 'stp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:280:8: style: Variable 'st.s1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:295:6: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:301:6: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:307:6: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:313:6: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:319:5: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:325:5: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:331:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:337:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:343:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:349:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:21: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:28: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:35: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:45: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:53: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:358:64: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:359:6: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:359:15: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:430:17: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:463:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:465:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:466:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:467:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:468:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:473:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:474:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:474:12: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:474:19: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:474:27: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:474:36: style: Variable 'us' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:475:6: style: Variable 'ul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:475:15: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/funcargs.c:485:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/gcore.c:47:22: style: Variable 'local_array[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/gdb1090.c:29:14: style: Redundant assignment of 's_whatever' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/gdb1090.c:29:14: style: Variable 's_whatever' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/gdb11531.c:37:11: style: Variable 'myrec.x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/gdb11531.c:34:11: note: myrec.x is assigned gdb-13.2/gdb/testsuite/gdb.base/gdb11531.c:37:11: note: myrec.x is overwritten gdb-13.2/gdb/testsuite/gdb.base/gdb1250.c:30:21: style: Parameter 'parray' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/global-var-nested-by-dso.c:22:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/gold-gdb-index.h:18:1: error: Code 'namespaceN1{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/testsuite/gdb.base/gnu_vector.c:142:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/gnu_vector.c:140:7: note: res is assigned gdb-13.2/gdb/testsuite/gdb.base/gnu_vector.c:142:7: note: res is overwritten gdb-13.2/gdb/testsuite/gdb.base/gnu_vector.c:142:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.c:25:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:24:5: style: Variable 'a' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:23:5: note: a is assigned gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:24:5: note: a is overwritten gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:33:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:32:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:33:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:34:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:33:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:34:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:24:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/hook-stop.c:34:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/infcall-nested-structs.c:75:0: error: #error "Incorrect configuration of tA and tB defines" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/infcall-exec.c:54:37: warning: Invalid memmove() argument nr 3. The value is -1 but the valid values are '0:'. [invalidFunctionArg] gdb-13.2/gdb/testsuite/gdb.base/infcall-exec.c:37:23: note: Assuming that condition 'i>=0' is not redundant gdb-13.2/gdb/testsuite/gdb.base/infcall-exec.c:46:7: note: len is assigned 'i' here. gdb-13.2/gdb/testsuite/gdb.base/infcall-exec.c:48:11: note: Assuming condition is false gdb-13.2/gdb/testsuite/gdb.base/infcall-exec.c:54:37: note: Invalid argument gdb-13.2/gdb/testsuite/gdb.base/info-locals-unused-static-var.c:21:14: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:46:7: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:42:7: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:46:7: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:50:7: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:46:7: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:50:7: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:54:7: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:50:7: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:54:7: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:58:7: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:54:7: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:58:7: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:62:7: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:58:7: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:62:7: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.base/info-macros.c:37:9: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/info-os.c:147:8: style: Variable 'port' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/infoline.c:28:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/interrupt-daemon-attach.c:50:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/interrupt-daemon-attach.c:65:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/jit-elf-dlmain.c:16:23: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/jit-elf-dlmain.c:18:5: style: Redundant assignment of 'h' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/jit-elf-fork-solib.c:22:0: error: #error "Must define the FUNCTION_NAME macro to set a jited function name" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/jit-elf-fork-main.c:45:0: error: #error "Must define LOAD_ADDRESS" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/jit-elf-main.c:54:0: error: #error "Must define LOAD_ADDRESS" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/jit-elf-solib.c:22:0: error: #error "Must define the FUNCTION_NAME macro to set a jited function name" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/kill-after-signal.c:35:3: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.base/jump.c:17:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/jit-reader.c:119:24: style: Variable 'state' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/jit-reader.c:141:24: style: Variable 'state' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/label-without-address.c:22:2: style: Label 'L1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.base/label.c:18:1: style: Label 'done' is not used. [unusedLabel] langs2.cxx:10:16: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/large-frame-1.c:21:12: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/langs2.cxx:10:15: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/long_long.c:36:7: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/long_long.c:57:15: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/long_long.c:36:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/longest-types.c:20:8: style: struct member 'foo::buf' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/longest-types.c:21:8: style: struct member 'foo::buf2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/macscp1.c:94:7: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/macscp1.c:92:7: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.base/macscp1.c:94:7: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.base/macscp1.c:20:7: style: struct member 'fields::fault' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/macscp1.c:19:11: style: struct member 'fault::addr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/macscp1.c:94:7: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:57:9: style: struct member 'Anonymous0::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:58:9: style: struct member 'Anonymous0::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:63:7: style: struct member 'Anonymous0::l2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:61:11: style: struct member 'Anonymous1::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:62:11: style: struct member 'Anonymous1::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:122:9: style: struct member 'Anonymous2::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:123:9: style: struct member 'Anonymous2::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:126:11: style: struct member 'Anonymous2::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:127:11: style: struct member 'Anonymous2::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:142:11: style: struct member 'Anonymous3::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:143:11: style: struct member 'Anonymous3::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:146:13: style: struct member 'Anonymous3::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:147:13: style: struct member 'Anonymous3::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:153:9: style: struct member 'Anonymous4::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:154:9: style: struct member 'Anonymous4::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:157:11: style: struct member 'Anonymous4::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:158:11: style: struct member 'Anonymous4::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:173:11: style: struct member 'Anonymous5::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:174:11: style: struct member 'Anonymous5::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:177:13: style: struct member 'Anonymous5::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:178:13: style: struct member 'Anonymous5::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:184:9: style: struct member 'Anonymous6::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:185:9: style: struct member 'Anonymous6::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:188:11: style: struct member 'Anonymous6::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/max-depth.c:189:11: style: struct member 'Anonymous6::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/many-headers.c:47:4: error: Null pointer dereference: ptr [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/many-headers.c:46:9: note: Assignment 'ptr=NULL', assigned value is 0 gdb-13.2/gdb/testsuite/gdb.base/many-headers.c:47:4: note: Null pointer dereference gdb-13.2/gdb/testsuite/gdb.base/morestack.c:62:16: style: Variable 'last' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/coremaker2.c:100:23: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gdb-13.2/gdb/testsuite/gdb.base/coremaker2.c:99:17: note: Assuming that condition 'i<4*sizeof(pagesize)' is not redundant gdb-13.2/gdb/testsuite/gdb.base/coremaker2.c:100:23: note: Shift gdb-13.2/gdb/testsuite/gdb.base/nofield.c:34:7: style: Variable 'n.e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/nofield.c:35:7: style: Variable 'n.u' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/nodebug.c:44:24: style: Parameter 'arr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/normal.c:21:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/offsets.c:25:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/opaque1.c:11:26: style: Parameter 'foop' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/ovlymgr.c:54:14: style: Checking if unsigned expression 'ovlyno' is less than zero. [unsignedLessThanZero] gdb-13.2/gdb/testsuite/gdb.base/ovlymgr.c:84:14: style: Checking if unsigned expression 'ovlyno' is less than zero. [unsignedLessThanZero] gdb-13.2/gdb/testsuite/gdb.base/pendshr.c:22:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:87:20: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:183:24: style: Variable 'pUC' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:184:15: style: Variable 'pS' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:185:25: style: Variable 'pUS' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:186:13: style: Variable 'pI' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:187:23: style: Variable 'pUI' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:188:14: style: Variable 'pL' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:189:24: style: Variable 'pUL' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:190:15: style: Variable 'pF' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:191:16: style: Variable 'pD' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:208:13: style: Variable 'ppppppC' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:209:9: style: Variable 'pUC' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:210:8: style: Variable 'pS' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:211:9: style: Variable 'pUS' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:212:8: style: Variable 'pI' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:213:9: style: Variable 'pUI' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:214:8: style: Variable 'pL' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:215:9: style: Variable 'pUL' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:216:8: style: Variable 'pF' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pointers.c:217:8: style: Variable 'pD' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pr11022.c:28:7: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/pretty-print.c:31:11: style: struct member 'Anonymous0::five' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/print-file-var-main.c:43:10: style: Variable 'v1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/print-file-var-main.c:58:6: style: Variable 'v2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/prologue-include.h:18:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/prologue-include.h:19:5: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/printcmds.c:256:3: error: Memory leak: p [memleak] gdb-13.2/gdb/testsuite/gdb.base/printcmds.c:259:3: style: Statements following 'return' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.base/printcmds.c:253:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/printcmds.c:253:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/ptr-typedef.c:19:7: style: struct member 'foo::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:198:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:31:9: style: struct member 'abc::field1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:36:16: style: struct member 'abc::field2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:41:14: style: struct member 'abc::field3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:46:15: style: struct member 'abc::field4' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:51:12: style: struct member 'abc::field5' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:62:5: style: struct member 'abc::field8' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:71:15: style: struct member 'abc::field9' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:58:11: style: union member 'Anonymous0::field6' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:61:16: style: union member 'Anonymous0::field7' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:78:14: style: struct member 'tuv::a1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:80:16: style: struct member 'tuv::a2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:82:14: style: struct member 'tuv::a3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:89:14: style: struct member 'xyz::f1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:91:15: style: struct member 'xyz::f2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:93:9: style: struct member 'xyz::f3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:95:14: style: struct member 'xyz::f4' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:102:14: style: struct member 'pqr::ff1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:104:14: style: struct member 'pqr::ff2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:106:15: style: struct member 'pqr::ff3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:113:14: style: union member 'qwe::fff1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:115:14: style: union member 'qwe::fff2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:122:14: style: struct member 'poi::f1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:124:13: style: struct member 'poi::f2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:126:12: style: struct member 'poi::f3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:128:14: style: struct member 'poi::f4' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:135:14: style: struct member 'tyu::a1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:137:14: style: struct member 'tyu::a2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:139:14: style: struct member 'tyu::a3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:141:15: style: struct member 'tyu::a4' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:143:11: style: struct member 'tyu::a5' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:145:14: style: struct member 'tyu::a6' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:147:11: style: struct member 'tyu::a7' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:168:5: style: struct member 'asd::f7' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:169:17: style: struct member 'asd::f8' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:170:16: style: struct member 'asd::f9' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:171:7: style: struct member 'asd::f10' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:172:16: style: struct member 'asd::f11' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:173:16: style: struct member 'asd::f12' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:174:16: style: struct member 'asd::f13' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:175:16: style: struct member 'asd::f14' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:176:9: style: struct member 'asd::f15' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:177:9: style: struct member 'asd::f16' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:156:20: style: struct member 'jkl::f1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:160:9: style: struct member 'jkl::f2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:164:9: style: struct member 'jkl::f3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:165:11: style: struct member 'jkl::f4' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:166:20: style: struct member 'jkl::f5' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:167:13: style: struct member 'jkl::f6' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:159:8: style: union member 'Anonymous1::ff1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:163:15: style: union member 'Anonymous2::ff2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:185:7: style: struct member 'static_member::abc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:193:14: style: struct member 'empty_member::empty' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:194:7: style: struct member 'empty_member::an_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:200:14: style: Unused variable: foo [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:201:14: style: Unused variable: bar [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:202:13: style: Unused variable: c [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:203:14: style: Unused variable: d [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:204:14: style: Unused variable: e [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:205:14: style: Unused variable: f [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:206:11: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:207:17: style: Unused variable: stmember [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/ptype-offsets.cc:208:16: style: Unused variable: emember [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/randomize.c:25:7: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:169:15: style: struct member 'link::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:173:17: style: struct member 'link::linkfunc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:175:18: style: struct member 'link::stuff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:191:7: style: struct member 'inner_struct::inner_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:192:8: style: struct member 'inner_struct::inner_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:195:7: style: union member 'inner_union::inner_union_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:196:8: style: union member 'inner_union::inner_union_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:206:9: style: struct member 'Anonymous2::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:207:23: style: struct member 'Anonymous2::anonymous_level_2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/ptype.c:207:18: style: struct member 'Anonymous3::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/readnever.c:17:33: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/recpar.c:24:10: style: Local variable 'val' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/recpar.c:21:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/recpar.c:24:10: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/recpar.c:21:11: style: Variable 'val' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/restore.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gdb-13.2/gdb/testsuite/gdb.base/restore.c:270:16: style: Unused variable: local [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/retval-large-struct.c:42:15: style: Variable 'test_struct' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:82:23: style: Variable 'char_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:83:23: style: Variable 'short_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:84:23: style: Variable 'int_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:85:23: style: Variable 'long_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:86:23: style: Variable 'long_long_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:105:23: style: Variable 'float_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/return2.c:107:23: style: Variable 'double_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/run-attach-while-running.c:22:0: error: #error "WITH_THREADS must be defined." [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/run.c:38:15: style: Variable 'local_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/savedregs.c:49:4: error: Null pointer dereference: (volatile char*)0 [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/scope1.c:46:25: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/scope1.c:13:14: style: Variable 'funclocal' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/scope1.c:15:20: style: Variable 'funclocal_ro' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/scope1.c:16:20: style: Unused variable: funclocal_ro_bss [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/scope1.c:24:14: style: Variable 'funclocal' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/segv.c:23:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/sepdebug.c:51:18: style: Condition 'argc==12345' is always false [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.base/sepdebug.c:28:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/sepdebug.c:28:30: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/scope0.c:165:6: style: Local variable 'localval' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/scope0.c:157:9: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/scope0.c:165:6: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/scope0.c:172:10: style: Local variable 'localval' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/scope0.c:165:6: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/scope0.c:172:10: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/scope0.c:178:7: style: Local variable 'localval' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/scope0.c:172:10: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/scope0.c:178:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/scope0.c:70:20: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/scope0.c:159:9: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/set-cwd.c:26:20: style: Variable 'home' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/share-env-with-gdbserver.c:33:32: style: Variable 'tmp' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/setvar.c:162:15: style: struct member 'link::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/setvar.c:166:17: style: struct member 'link::linkfunc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/setvar.c:168:18: style: struct member 'link::stuff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/setvar.c:200:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.base/shr1.c:16:9: style: Local variable 'l' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/shr1.c:13:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/shr1.c:16:9: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/shr1.c:37:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/shr1.c:14:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/shr1.c:17:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/shr1.c:19:10: style: Variable 'mumble' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/sigbpt.c:42:23: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-addr.c:35:30: style: Parameter 'info' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.base/siginfo-addr.c:60:27: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.base/siginfo-addr.c:35:30: note: Parameter 'info' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.base/siginfo-addr.c:35:42: style: Parameter 'context' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.base/siginfo-addr.c:60:27: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.base/siginfo-addr.c:35:42: note: Parameter 'context' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.base/siginfo-infcall.c:24:0: error: #error "SA_SIGINFO is required for this test" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:30:30: style: Parameter 'info' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:60:27: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:30:30: note: Parameter 'info' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:30:42: style: Parameter 'context' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:60:27: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:30:42: note: Parameter 'context' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:37:9: style: Variable 'ssi_addr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:34:17: style: Variable 'ssi_errno' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:35:17: style: Variable 'ssi_signo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:36:16: style: Variable 'ssi_code' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-obj.c:37:18: style: Variable 'ssi_addr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:46:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:31:30: style: Parameter 'info' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:69:27: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:31:30: note: Parameter 'info' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:31:42: style: Parameter 'context' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:69:27: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:31:42: note: Parameter 'context' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:38:9: style: Variable 'ssi_addr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:35:17: style: Variable 'ssi_errno' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:36:17: style: Variable 'ssi_signo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:37:16: style: Variable 'ssi_code' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/siginfo-thread.c:38:18: style: Variable 'ssi_addr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/signull.c:52:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:104:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:103:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:104:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:105:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:104:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:105:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:106:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:105:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:106:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:107:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:106:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:107:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:108:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:107:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:108:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:109:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:108:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:109:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:110:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:109:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:110:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:111:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:110:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:111:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:112:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:111:8: note: size is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:112:8: note: size is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:116:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:115:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:116:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:117:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:116:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:117:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:118:9: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:117:9: note: value is assigned gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:118:9: note: value is overwritten gdb-13.2/gdb/testsuite/gdb.base/skip.c:32:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:112:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/sizeof.c:118:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/so-impl-ld.c:21:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/skipcxx.cc:29:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/solib-vanish-main.c:29:9: style: Variable 'error' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/solib-vanish-main.c:30:9: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.c:21:3: style: Label 'label' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.base/sss-bp-on-user-bp-2.c:21:25: style: Label 'label2' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.base/source-open.c:21:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/stack-checking.c:33:8: style: Unused variable: S [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/stack-checking.c:39:8: style: Unused variable: S [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/stale-infcall.c:38:8: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/stale-infcall.c:35:8: style: Unused variable: buf [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/stap-probe.c:49:0: error: #error "not using SystemTap v3 probes" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.base/startup-with-shell.c:21:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/step-resume-infcall.c:41:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/step-over-vfork.c:28:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/step-over-vfork.c:41:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/step-over-vfork.c:54:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:35:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:34:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:35:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:36:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:35:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:36:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.base/step-test.c:44:12: error: Uninitialized variable: a[3] [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.base/step-test.c:33:6: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/step-test.c:44:9: style: Variable 'a[5]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/step-test.c:50:6: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/step-test.c:25:15: style: Unused variable: b [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/step-through-epilogue.c:36:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/structs2.c:31:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/structs2.c:32:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.base/structs2.c:31:11: style: Variable 'pr_char' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/structs2.c:32:12: style: Variable 'pr_uchar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/structs2.c:32:23: style: Variable 'pr_short' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/structs2.c:32:35: style: Variable 'pr_ushort' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/structs.c:85:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:86:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:86:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:87:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:87:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:87:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:88:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:88:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:88:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:88:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:89:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:89:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:89:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:89:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:89:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:90:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:90:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:90:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:90:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:90:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:90:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:91:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:92:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:93:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:94:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:95:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:96:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:97:93: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:93: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:98:99: debug: Scope::checkVariable found variable 'n' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:93: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:99: debug: Scope::checkVariable found variable 'n' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:99:105: debug: Scope::checkVariable found variable 'o' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:93: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:99: debug: Scope::checkVariable found variable 'n' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:105: debug: Scope::checkVariable found variable 'o' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:100:111: debug: Scope::checkVariable found variable 'p' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:93: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:99: debug: Scope::checkVariable found variable 'n' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:105: debug: Scope::checkVariable found variable 'o' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:111: debug: Scope::checkVariable found variable 'p' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:101:117: debug: Scope::checkVariable found variable 'q' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:21: debug: Scope::checkVariable found variable 'a' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:27: debug: Scope::checkVariable found variable 'b' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:33: debug: Scope::checkVariable found variable 'c' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:39: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:45: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:51: debug: Scope::checkVariable found variable 'f' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:57: debug: Scope::checkVariable found variable 'g' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:63: debug: Scope::checkVariable found variable 'h' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:69: debug: Scope::checkVariable found variable 'i' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:75: debug: Scope::checkVariable found variable 'j' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:81: debug: Scope::checkVariable found variable 'k' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:87: debug: Scope::checkVariable found variable 'l' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:93: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:99: debug: Scope::checkVariable found variable 'n' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:105: debug: Scope::checkVariable found variable 'o' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:111: debug: Scope::checkVariable found variable 'p' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:117: debug: Scope::checkVariable found variable 'q' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/structs.c:102:123: debug: Scope::checkVariable found variable 'r' with varid 0. [varid0] gdb-13.2/gdb/testsuite/gdb.base/sum.c:4:14: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/symbol-alias.c:30:20: style: Same expression on both sides of '-'. [duplicateExpression] gdb-13.2/gdb/testsuite/gdb.base/symbol-alias.c:29:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/symbol-alias.c:21:7: style: struct member 'S::field2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/sym-file-main.c:22:28: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-main.c:28:31: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-main.c:46:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/symtab-search-order.c:25:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/twice.c:14:7: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/type-opaque-main.c:28:10: style: struct member 'struct_libtype_filled::mainfield_filled' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/type-opaque-main.c:39:10: style: union member 'union_libtype_filled::mainfield_filled' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/unload.c:90:5: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/unload.c:63:5: note: y is assigned gdb-13.2/gdb/testsuite/gdb.base/unload.c:90:5: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.base/unload.c:90:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/unload.c:41:15: style: Unused variable: msg [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/valgrind-bt.c:28:3: error: Memory pointed to by 'p' is freed twice. [doubleFree] gdb-13.2/gdb/testsuite/gdb.base/valgrind-bt.c:27:3: note: Memory pointed to by 'p' is freed twice. gdb-13.2/gdb/testsuite/gdb.base/valgrind-bt.c:28:3: note: Memory pointed to by 'p' is freed twice. gdb-13.2/gdb/testsuite/gdb.base/valgrind-infcall.c:38:3: error: Memory pointed to by 'p' is freed twice. [doubleFree] gdb-13.2/gdb/testsuite/gdb.base/valgrind-infcall.c:37:3: note: Memory pointed to by 'p' is freed twice. gdb-13.2/gdb/testsuite/gdb.base/valgrind-infcall.c:38:3: note: Memory pointed to by 'p' is freed twice. gdb-13.2/gdb/testsuite/gdb.base/vfork-follow-parent.c:32:7: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/vfork-follow-parent.c:38:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/vfork-follow-parent.c:37:14: style: Condition '!unblock_parent' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.base/vforked-prog.c:22:24: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/varargs.c:99:7: style: Local variable 'max_val' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/varargs.c:22:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/varargs.c:99:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/varargs.c:120:7: style: Local variable 'max_val' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/varargs.c:22:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/varargs.c:120:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/varargs.c:140:10: style: Local variable 'max_val' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.base/varargs.c:22:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.base/varargs.c:140:10: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.base/varargs.c:114:17: error: va_list 'argp' was opened but not closed by va_end(). [va_end_missing] gdb-13.2/gdb/testsuite/gdb.base/varargs.c:134:17: error: va_list 'argp' was opened but not closed by va_end(). [va_end_missing] gdb-13.2/gdb/testsuite/gdb.base/varargs.c:154:17: error: va_list 'argp' was opened but not closed by va_end(). [va_end_missing] gdb-13.2/gdb/testsuite/gdb.base/vla-ptr.c:21:17: style: Parameter 'vla_ptr' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.base/vla-ptr.c:27:11: style: Parameter 'vla_ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:55:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:56:28: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:56:28: style: Variable 'unsigned_long_vla[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-ptr.c:43:17: style: Variable 'td_vla[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:66:26: style: Variable 'int_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:67:26: style: Variable 'uint_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:68:26: style: Variable 'double_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:69:26: style: Variable 'float_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:70:26: style: Variable 'long_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:71:26: style: Variable 'char_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:72:26: style: Variable 'short_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:73:26: style: Variable 'ushort_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:74:26: style: Variable 'uchar_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:75:26: style: Variable 'foo_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-datatypes.c:76:26: style: Variable 'bar_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-stub.c:23:7: style: struct member 'static_struct::field' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/vla-sideeffect.c:31:13: style: Variable 'vla1[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-sideeffect.c:35:18: style: Variable 'vla2[i][j]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-sideeffect.c:38:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-sideeffect.c:39:5: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:23:7: style: struct member 'foo::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:28:7: style: struct member 'bar::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:29:14: style: struct member 'bar::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:68:9: style: union member 'vla_struct_typedef_union_member::something' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:76:53: style: Variable 'vla_struct_typedef_struct_member_object.something' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:77:64: style: Variable 'vla_struct_typedef_struct_member_object.vla_object.something' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:86:2: style: Variable 'vla_struct_typedef_struct_member_object.vla_object.vla_field[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:92:5: style: Variable 'vla_struct_object_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:93:32: style: Variable 'vla_union_object_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:94:39: style: Variable 'inner_vla_struct_object_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/vla-struct-fields.c:91:10: style: Variable 'vla_struct_object_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watch-cond.c:29:17: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/watch-read.c:23:11: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watch-vfork.c:27:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.base/watch_thread_num.c:90:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.base/watch_thread_num.c:54:13: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watch_thread_num.c:43:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.base/watchpoint-hw-attach.c:32:13: style: Variable 'mypid' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watchpoint-unaligned.c:93:12: style: Redundant assignment of 'size' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoint-unaligned.c:25:12: style: struct member 'Anonymous0::alignment' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:114:5: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:113:5: note: y is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:114:5: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:152:5: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:149:10: note: x is initialized gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:152:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:184:9: style: Variable 'ival1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:181:11: note: ival1 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:184:9: note: ival1 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:186:9: style: Variable 'ival3' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:182:11: note: ival3 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:186:9: note: ival3 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:186:24: style: Variable 'ival4' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:182:26: note: ival4 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:186:24: note: ival4 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:149:8: style: Variable 'x' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:38:9: style: Variable 'ival1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:34:11: note: ival1 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:38:9: note: ival1 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:38:24: style: Variable 'ival2' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:34:26: note: ival2 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:38:24: note: ival2 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:39:9: style: Variable 'ival3' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:35:11: note: ival3 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:39:9: note: ival3 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:39:24: style: Variable 'ival4' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:35:26: note: ival4 is assigned gdb-13.2/gdb/testsuite/gdb.base/watchpoints.c:39:24: note: ival4 is overwritten gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:59:22: style: struct member 'foo5::p' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:59:16: style: struct member 'Anonymous0::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:90:11: style: Variable 'local_x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:112:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:114:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:152:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/watchpoint.c:148:16: style: Variable 'val2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/wchar.c:21:22: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/wchar.c:34:12: style: Variable 'cent' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/wchar.c:36:21: style: Variable 'repeat_p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/wrong_frame_bt_full-main.c:30:17: style: Variable 'my_table[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:208:15: style: struct member 'link::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:212:17: style: struct member 'link::linkfunc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:214:18: style: struct member 'link::stuff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:230:7: style: struct member 'inner_struct::inner_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:231:8: style: struct member 'inner_struct::inner_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:234:7: style: union member 'inner_union::inner_union_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.base/whatis.c:235:8: style: union member 'inner_union::inner_union_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.btrace/function_call_history.c:41:5: error: Uninitialized variable: j [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-inherit.cc:19:7: style:inconclusive: Technically the member function 'A::do_it' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-inherit.cc:27:7: style:inconclusive: Technically the member function 'B::do_it' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-inherit.cc:35:7: style:inconclusive: Technically the member function 'C::do_it' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-array-decay.cc:25:8: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-array-decay.cc:28:8: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-array-decay.cc:27:19: error: Uninitialized variable: strings [uninitvar] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:20:10: style: union member 'Anonymous0::aa' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:22:11: style: union member 'Anonymous0::ff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:23:12: style: union member 'Anonymous0::dd' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:24:11: style: union member 'Anonymous0::pp' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:29:11: style: struct member 'Anonymous1::ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:33:16: style: struct member 'Anonymous1::MAGIC' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:37:11: style: struct member 'Anonymous1::ua' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:38:13: style: struct member 'Anonymous1::ub' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:54:12: style: union member 'Anonymous3::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-inherit.cc:53:7: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:56:13: style: union member 'Anonymous3::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:57:14: style: union member 'Anonymous3::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:58:13: style: union member 'Anonymous3::p' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-anonymous.cc:72:11: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-member.cc:79:11: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:25:9: style:inconclusive: Technically the member function 'A::get_var' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:26:9: performance:inconclusive: Technically the member function 'A::get_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:27:9: performance:inconclusive: Technically the member function 'A::get_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:28:9: performance:inconclusive: Technically the member function 'A::get_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:29:9: performance:inconclusive: Technically the member function 'A::get_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:30:9: performance:inconclusive: Technically the member function 'A::get_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:31:9: performance:inconclusive: Technically the member function 'A::get_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:34:9: style:inconclusive: Technically the member function 'A::get_var2' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-namespace.cc:33:14: style:inconclusive: Technically the member function 'N1::N2::N3::N4::S4::get_var' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:30:21: style: Parameter 'lr' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-method.cc:29:24: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-namespace.cc:48:11: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-namespace.cc:50:7: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-nested.cc:20:7: performance:inconclusive: Technically the member function 'A::get' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-nested.cc:42:4: note: Technically the member function 'A::get' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-nested.cc:20:7: note: Technically the member function 'A::get' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:25:7: style: The function 'doit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:18:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:25:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:26:7: style: The function 'doit2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:20:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:26:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:31:7: style: The function 'doit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:18:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:31:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:32:7: style: The function 'doit2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:20:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:32:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:37:7: style: The function 'doit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:25:7: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:37:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:38:7: style: The function 'doit2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:26:7: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:38:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus.c:106:1: error: Code 'classBase{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/testsuite/gdb.compile/compile-cplus-virtual.cc:50:7: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile-tls.c:34:23: style: Unused variable: local_scope [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/abstract-origin.cc:23:3: style: Class 'A' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:110:7: style: Local variable 'globalshadow' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:99:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.compile/compile.c:110:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.compile/compile.c:111:7: style: Local variable 'staticshadow' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:100:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.compile/compile.c:111:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.compile/compile.c:112:7: style: Local variable 'externed' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:101:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.compile/compile.c:112:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.compile/compile.c:119:9: style: Local variable 'shadowed' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:107:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.compile/compile.c:119:9: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.compile/compile.c:120:16: style: Local variable 'unresolved' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:109:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.compile/compile.c:120:16: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.compile/compile.c:121:16: style: Local variable 'externed' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:112:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.compile/compile.c:121:16: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.cp/abstract-origin.cc:39:6: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:106:16: style: Variable 'localvar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:107:16: style: Variable 'shadowed' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:109:18: style: Variable 'unresolved' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:110:20: style: Variable 'globalshadow' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:111:20: style: Variable 'staticshadow' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:112:16: style: Variable 'externed' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:113:9: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:118:23: style: Variable 'another_local' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:119:18: style: Variable 'shadowed' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:115:14: style: Variable 'static_local' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.compile/compile.c:123:9: style: Unused variable: vla [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/annota2.cc:23:7: style: Variable 'a.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/annota3.cc:23:7: style: Variable 'a.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:32:5: style: Class 'one' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:33:5: style: Class 'one' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:47:7: style: Class 'two' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:48:7: style: Class 'two' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:64:4: style: Class 'three' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:65:4: style: Class 'three' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:26:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:33:16: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:41:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:48:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:58:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:65:17: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:76:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:76:19: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-ns2.cc:76:7: style: Unused variable: a [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-struct.cc:37:8: style: struct member 't2::m' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:10: error: Uninitialized variable: k.i [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:16: error: Uninitialized variable: m.w [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:23: error: Uninitialized variable: a1.x [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:30: error: Uninitialized variable: a2.x [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:37: error: Uninitialized variable: a3.x [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:43: error: Uninitialized variable: x.z [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:49: error: Uninitialized variable: l.z [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:55: error: Uninitialized variable: n.r [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:61: error: Uninitialized variable: j.j [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:20: error: Uninitialized struct member: a1.x [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:27: error: Uninitialized struct member: a2.x [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:34: error: Uninitialized struct member: a3.x [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:41: error: Uninitialized struct member: x.z [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:47: error: Uninitialized struct member: l.z [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:14: error: Uninitialized struct member: m.w [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:53: error: Uninitialized struct member: n.r [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:8: error: Uninitialized struct member: k.i [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:59: error: Uninitialized struct member: j.j [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:3: error: Uninitialized variable: i [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:115:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:120:8: style: Variable 'a1.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:121:8: style: Variable 'a1.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:123:8: style: Variable 'a2.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:124:8: style: Variable 'a2.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:126:8: style: Variable 'a3.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:127:8: style: Variable 'a3.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:133:7: style: Variable 'x.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:135:7: style: Variable 'l.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:136:7: style: Variable 'l.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:137:7: style: Variable 'l.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:139:7: style: Variable 'm.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:140:7: style: Variable 'm.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:141:7: style: Variable 'm.w' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:147:7: style: Variable 'n.w' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:148:7: style: Variable 'n.r' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:149:7: style: Variable 'n.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:6:5: style: struct member 'Foo::num1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:151:7: style: Variable 'k.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:13:7: style: struct member 'Foo::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:152:7: style: Variable 'k.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:15:11: style: struct member 'Foo::qux' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:153:7: style: Variable 'k.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:18:18: style: struct member 'Foo::boulder' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:159:7: style: Variable 'j.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:22:18: style: struct member 'Foo::cloth' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:160:7: style: Variable 'j.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:27:5: style: struct member 'Foo::num2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:161:7: style: Variable 'j.j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:4:9: style: union member 'Anonymous0::zero' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:163:8: style: Variable 'jv.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:5:18: style: union member 'Anonymous0::one' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:164:8: style: Variable 'jv.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:8:11: style: struct member 'X::rock' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:165:8: style: Variable 'jv.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:9:20: style: struct member 'X::rock2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:166:8: style: Variable 'jv.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:25:9: style: union member 'Anonymous1::two' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:167:9: style: Variable 'jv.jv' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:26:18: style: union member 'Anonymous1::three' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:173:10: style: Variable 'jva1.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:32:16: style: union member 'Bar::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:174:10: style: Variable 'jva1.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:175:13: style: Variable 'jva1.jva1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/anon-union.cc:55:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:178:14: style: Variable 'jva2.KV::y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:180:14: style: Variable 'jva2.LV::y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:182:14: style: Variable 'jva2.A2::y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:183:10: style: Variable 'jva2.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:184:10: style: Variable 'jva2.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:185:13: style: Variable 'jva2.jva2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:187:11: style: Variable 'jva1v.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:188:11: style: Variable 'jva1v.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:189:11: style: Variable 'jva1v.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:190:11: style: Variable 'jva1v.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:191:15: style: Variable 'jva1v.jva1v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ambiguous.cc:193:12: style: Variable 'je.A1::x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/baseenum.cc:35:8: performance:inconclusive: Technically the member function 'C::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/baseenum.cc:38:9: note: Technically the member function 'C::test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/baseenum.cc:35:8: note: Technically the member function 'C::test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/baseenum.cc:59:10: performance:inconclusive: Technically the member function 'N::C::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/baseenum.cc:63:6: note: Technically the member function 'N::C::test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/baseenum.cc:59:10: note: Technically the member function 'N::C::test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/break-f-std-string.cc:34:16: performance: Function parameter 's' should be passed by const reference. [passedByValue] gdb-13.2/gdb/testsuite/gdb.cp/breakpoint-locs.h:23:78: error: Uninitialized variable: i [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/breakpoint-locs.h:23:75: style: Variable 'i' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.cp/breakpoint.cc:26:7: performance:inconclusive: Technically the member function 'C1::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/breakpoint.cc:31:8: performance:inconclusive: Technically the member function 'C1::bar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/breakpoint.cc:43:5: performance:inconclusive: Technically the member function 'C1::Nested::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/breakpoint.cc:24:3: style: Class 'C1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/bs15503.cc:26:9: performance:inconclusive: Technically the member function 'StringTest < wchar_t >::testFunction' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/bs15503.cc:35:22: note: Technically the member function 'StringTest < wchar_t >::testFunction' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/bs15503.cc:26:9: note: Technically the member function 'StringTest < wchar_t >::testFunction' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/call-c.cc:40:11: style: Variable 'rf' can be declared as pointer to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/call-c.cc:41:22: style: Variable 'handle' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/call-c.cc:38:9: style: Unused variable: f [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:6:3: style: Struct 'A' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:57:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:59:11: style: C-style reference casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:71:53: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:58:6: style: Variable 'ar' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:59:6: style: Variable 'br' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:64:10: style: Variable 'ad' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:65:10: style: Variable 'add' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:59:9: style: Variable 'br' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:64:13: style: Variable 'ad' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:65:14: style: Variable 'add' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:70:31: style: Variable 'gd_value' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:71:30: style: Variable 'r_value' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:61:11: style: Unused variable: derived [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts.cc:62:17: style: Unused variable: doublyderived [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/casts03.cc:29:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:21:3: warning: Member variable 'S::a' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:24:5: style:inconclusive: Technically the member function 'S::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:35:4: note: Technically the member function 'S::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:24:5: note: Technically the member function 'S::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:63:5: style:inconclusive: Technically the member function 'A::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:68:4: note: Technically the member function 'A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:63:5: note: Technically the member function 'A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:136:3: warning: Class 'C' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:136:3: warning: Class 'C' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:29:10: style: Parameter 'obj' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:165:7: style: union member 'U::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:166:8: style: union member 'U::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:167:8: style: union member 'U::tp' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/chained-calls.cc:197:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/class2.cc:31:12: style: The destructor '~B' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/class2.cc:20:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/class2.cc:31:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/class2.cc:87:6: style: Variable 'aref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/class2.cc:87:12: error: Uninitialized variable: alpha [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/class2.cc:92:12: style: Variable 'delta.d1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:26:8: style:inconclusive: Technically the member function 'GDB < int >::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:28:8: performance:inconclusive: Technically the member function 'GDB < int >::a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:29:8: performance:inconclusive: Technically the member function 'GDB < int >::b' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:30:8: performance:inconclusive: Technically the member function 'GDB < int >::c' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:26:8: style:inconclusive: Technically the member function 'GDB < char >::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:28:8: performance:inconclusive: Technically the member function 'GDB < char >::a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:29:8: performance:inconclusive: Technically the member function 'GDB < char >::b' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cmpd-minsyms.cc:30:8: performance:inconclusive: Technically the member function 'GDB < char >::c' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:54:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:61:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:62:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:65:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:75:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:95:11: style: Argument '&A::member_' to function foo1_7 is always 1. It does not matter what value 'member_' has. [knownArgument] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:95:11: style: Pointer expression '&A::member_' converted to bool is always true. [knownPointerToBool] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:96:11: style: Pointer expression 'a' converted to bool is always true. [knownPointerToBool] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:41:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:42:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:42:37: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:43:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:43:37: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:43:46: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:47:1: style: The struct 'private_struct' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:53:1: style: The struct 'mixed_protection_struct' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:83:1: style: The class 'default_private_class' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:89:1: style: The class 'explicit_private_class' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:95:1: style: The class 'mixed_protection_class' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:563:1: style: The class 'class_with_public_typedef' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:571:1: style: The class 'class_with_protected_typedef' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:579:1: style: The class 'class_with_private_typedef' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:603:1: style: The struct 'struct_with_private_typedef' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:117:7: performance:inconclusive: Technically the member function 'const_vol_method_class::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:122:29: note: Technically the member function 'const_vol_method_class::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:117:7: note: Technically the member function 'const_vol_method_class::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:54:16: error: Uninitialized variable: bppp [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:118:7: performance:inconclusive: Technically the member function 'const_vol_method_class::bar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:126:29: note: Technically the member function 'const_vol_method_class::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:118:7: note: Technically the member function 'const_vol_method_class::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/converts.cc:71:11: error: Uninitialized variable: b [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:119:7: performance:inconclusive: Technically the member function 'const_vol_method_class::baz' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:130:29: note: Technically the member function 'const_vol_method_class::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:119:7: note: Technically the member function 'const_vol_method_class::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:413:7: style:inconclusive: Technically the member function 'Foo::operator!' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:426:10: note: Technically the member function 'Foo::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:413:7: note: Technically the member function 'Foo::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:414:3: style:inconclusive: Technically the member function 'Foo::operatorint' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:432:6: note: Technically the member function 'Foo::operatorint' can be const. gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:414:3: note: Technically the member function 'Foo::operatorint' can be const. gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:415:7: style:inconclusive: Technically the member function 'Foo::times' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:428:10: note: Technically the member function 'Foo::times' can be const. gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:415:7: note: Technically the member function 'Foo::times' can be const. gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:481:7: performance:inconclusive: Technically the member function 'ClassParam::Aptr_a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:482:7: performance:inconclusive: Technically the member function 'ClassParam::Aptr_x' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:483:7: performance:inconclusive: Technically the member function 'ClassParam::Aref_a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:484:7: performance:inconclusive: Technically the member function 'ClassParam::Aref_x' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:485:7: performance:inconclusive: Technically the member function 'ClassParam::Aval_a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:486:7: performance:inconclusive: Technically the member function 'ClassParam::Aval_x' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:547:14: style:inconclusive: Technically the member function 'class_with_typedefs::add_public' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:552:17: style:inconclusive: Technically the member function 'class_with_typedefs::add_protected' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:555:15: style:inconclusive: Technically the member function 'class_with_typedefs::add_private' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:148:7: warning: The class 'B' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:140:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:148:7: note: Derived variable 'B::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:156:7: warning: The class 'C' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:140:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:156:7: note: Derived variable 'C::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: warning: The class 'D' defines member variable with name 'x' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:148:7: note: Parent variable 'B::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: note: Derived variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: warning: The class 'D' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:140:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: note: Derived variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: warning: The class 'D' defines member variable with name 'x' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:156:7: note: Parent variable 'C::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: note: Derived variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'D'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:164:7: note: Parent variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:148:7: note: Parent variable 'B::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:140:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:156:7: note: Parent variable 'C::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:172:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:310:7: warning: The class 'vB' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:302:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:310:7: note: Derived variable 'vB::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:318:7: warning: The class 'vC' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:302:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:318:7: note: Derived variable 'vC::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: warning: The class 'vD' defines member variable with name 'vx' also defined in its parent class 'vB'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:310:7: note: Parent variable 'vB::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: note: Derived variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: warning: The class 'vD' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:302:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: note: Derived variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: warning: The class 'vD' defines member variable with name 'vx' also defined in its parent class 'vC'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:318:7: note: Parent variable 'vC::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: note: Derived variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vD'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:326:7: note: Parent variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vB'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:310:7: note: Parent variable 'vB::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:302:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vC'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:318:7: note: Parent variable 'vC::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:334:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:400:3: style: Class 'Base1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:509:5: style: Class 'Nested' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:224:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:225:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:261:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:262:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:475:27: style: Variable 'obj_with_enum.priv_enum' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:472:27: note: obj_with_enum.priv_enum is assigned gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:475:27: note: obj_with_enum.priv_enum is overwritten gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:623:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:622:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:623:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:624:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:623:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:624:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:625:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:624:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:625:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:626:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:625:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:626:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:627:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:626:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:627:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:122:40: style: Parameter 'ir' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:126:40: style: Parameter 'ir' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:130:40: style: Parameter 'ir' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:483:18: style: Parameter 'a' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:484:18: style: Parameter 'a' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:481:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:482:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/cplabel.cc:47:7: performance:inconclusive: Technically the member function 'foo::baz' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:115:7: style: class member 'const_vol_method_class::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:116:7: style: class member 'const_vol_method_class::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:639:9: style: struct member 'Outer::inner' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:345:7: style: Unused variable: ival [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:346:8: style: Unused variable: intp [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:475:27: style: Variable 'obj_with_enum.priv_enum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:476:19: style: Variable 'obj_with_enum.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/classes.cc:627:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:82:41: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:100:41: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:110:53: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:111:55: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:112:42: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:113:44: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:120:33: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:121:39: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:122:41: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:123:34: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:124:42: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:125:32: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:126:40: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:127:33: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:128:41: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:129:34: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:130:35: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:134:33: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:135:40: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:136:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:138:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:140:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:174:36: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:175:38: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:176:38: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:177:38: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:178:38: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:179:38: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:180:41: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:67:6: warning: Member variable 'foo::ccpfoo' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:69:6: warning: Member variable 'foo::ifoo' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:69:6: warning: Member variable 'foo::ccpfoo' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:83:12: warning: Member variable 'foo::ifoo' is not assigned a value in 'foo::operator='. [operatorEqVarError] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:83:12: warning: Member variable 'foo::ccpfoo' is not assigned a value in 'foo::operator='. [operatorEqVarError] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:11:9: style:inconclusive: Technically the member function 'foo::operator%' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:73:12: note: Technically the member function 'foo::operator%' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:11:9: note: Technically the member function 'foo::operator%' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:12:9: style:inconclusive: Technically the member function 'foo::operator-' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:74:12: note: Technically the member function 'foo::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:12:9: note: Technically the member function 'foo::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:13:9: style:inconclusive: Technically the member function 'foo::operator>>' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:75:12: note: Technically the member function 'foo::operator>>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:13:9: note: Technically the member function 'foo::operator>>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:14:9: style:inconclusive: Technically the member function 'foo::operator!=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:76:12: note: Technically the member function 'foo::operator!=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:14:9: note: Technically the member function 'foo::operator!=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:15:9: style:inconclusive: Technically the member function 'foo::operator>' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:77:12: note: Technically the member function 'foo::operator>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:15:9: note: Technically the member function 'foo::operator>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:16:9: style:inconclusive: Technically the member function 'foo::operator>=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:78:12: note: Technically the member function 'foo::operator>=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:16:9: note: Technically the member function 'foo::operator>=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:17:9: style:inconclusive: Technically the member function 'foo::operator|' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:79:12: note: Technically the member function 'foo::operator|' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:17:9: note: Technically the member function 'foo::operator|' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:19:9: style:inconclusive: Technically the member function 'foo::operator!' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:81:12: note: Technically the member function 'foo::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:19:9: note: Technically the member function 'foo::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:20:9: style:inconclusive: Technically the member function 'foo::operator++' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:82:12: note: Technically the member function 'foo::operator++' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:20:9: note: Technically the member function 'foo::operator++' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:22:9: style:inconclusive: Technically the member function 'foo::operator+=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:84:12: note: Technically the member function 'foo::operator+=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:22:9: note: Technically the member function 'foo::operator+=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:23:9: style:inconclusive: Technically the member function 'foo::operator*=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:85:12: note: Technically the member function 'foo::operator*=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:23:9: note: Technically the member function 'foo::operator*=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:24:9: style:inconclusive: Technically the member function 'foo::operator%=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:86:12: note: Technically the member function 'foo::operator%=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:24:9: note: Technically the member function 'foo::operator%=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:25:9: style:inconclusive: Technically the member function 'foo::operator>>=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:87:12: note: Technically the member function 'foo::operator>>=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:25:9: note: Technically the member function 'foo::operator>>=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:26:9: style:inconclusive: Technically the member function 'foo::operator|=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:88:12: note: Technically the member function 'foo::operator|=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:26:9: note: Technically the member function 'foo::operator|=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:27:9: style:inconclusive: Technically the member function 'foo::operator,' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:89:12: note: Technically the member function 'foo::operator,' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:27:9: note: Technically the member function 'foo::operator,' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:28:9: style:inconclusive: Technically the member function 'foo::operator/' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:90:12: note: Technically the member function 'foo::operator/' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:28:9: note: Technically the member function 'foo::operator/' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:29:9: style:inconclusive: Technically the member function 'foo::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:91:12: note: Technically the member function 'foo::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:29:9: note: Technically the member function 'foo::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:30:9: style:inconclusive: Technically the member function 'foo::operator<<' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:92:12: note: Technically the member function 'foo::operator<<' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:30:9: note: Technically the member function 'foo::operator<<' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:31:9: style:inconclusive: Technically the member function 'foo::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:93:12: note: Technically the member function 'foo::operator==' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:31:9: note: Technically the member function 'foo::operator==' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:32:9: style:inconclusive: Technically the member function 'foo::operator<' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:94:12: note: Technically the member function 'foo::operator<' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:32:9: note: Technically the member function 'foo::operator<' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:33:9: style:inconclusive: Technically the member function 'foo::operator<=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:95:12: note: Technically the member function 'foo::operator<=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:33:9: note: Technically the member function 'foo::operator<=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:35:9: style:inconclusive: Technically the member function 'foo::operator^' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:97:12: note: Technically the member function 'foo::operator^' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:35:9: note: Technically the member function 'foo::operator^' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:36:9: style:inconclusive: Technically the member function 'foo::operator||' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:98:12: note: Technically the member function 'foo::operator||' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:36:9: note: Technically the member function 'foo::operator||' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:37:9: style:inconclusive: Technically the member function 'foo::operator~' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:99:12: note: Technically the member function 'foo::operator~' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:37:9: note: Technically the member function 'foo::operator~' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:38:9: style:inconclusive: Technically the member function 'foo::operator--' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:100:12: note: Technically the member function 'foo::operator--' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:38:9: note: Technically the member function 'foo::operator--' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:40:9: style:inconclusive: Technically the member function 'foo::operator-=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:102:12: note: Technically the member function 'foo::operator-=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:40:9: note: Technically the member function 'foo::operator-=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:41:9: style:inconclusive: Technically the member function 'foo::operator/=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:103:12: note: Technically the member function 'foo::operator/=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:41:9: note: Technically the member function 'foo::operator/=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:42:9: style:inconclusive: Technically the member function 'foo::operator<<=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:104:12: note: Technically the member function 'foo::operator<<=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:42:9: note: Technically the member function 'foo::operator<<=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:43:9: style:inconclusive: Technically the member function 'foo::operator&=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:105:12: note: Technically the member function 'foo::operator&=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:43:9: note: Technically the member function 'foo::operator&=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:44:9: style:inconclusive: Technically the member function 'foo::operator^=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:106:12: note: Technically the member function 'foo::operator^=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:44:9: note: Technically the member function 'foo::operator^=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:46:9: style:inconclusive: Technically the member function 'foo::operator[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:108:12: note: Technically the member function 'foo::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:46:9: note: Technically the member function 'foo::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:47:9: style:inconclusive: Technically the member function 'foo::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:109:12: note: Technically the member function 'foo::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:47:9: note: Technically the member function 'foo::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:50:9: style:inconclusive: Technically the member function 'foo::operatordelete' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:112:12: note: Technically the member function 'foo::operatordelete' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:50:9: note: Technically the member function 'foo::operatordelete' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:51:9: style:inconclusive: Technically the member function 'foo::operatordelete[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:113:12: note: Technically the member function 'foo::operatordelete[]' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:51:9: note: Technically the member function 'foo::operatordelete[]' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:52:9: style:inconclusive: Technically the member function 'foo::operatorint' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:114:12: note: Technically the member function 'foo::operatorint' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:52:9: note: Technically the member function 'foo::operatorint' can be const. gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:5:3: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:138:7: performance:inconclusive: Technically the member function 'base::overload' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:139:7: performance:inconclusive: Technically the member function 'base::overload' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:140:7: performance:inconclusive: Technically the member function 'base::overload' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:141:7: performance:inconclusive: Technically the member function 'base::overload' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:142:7: performance:inconclusive: Technically the member function 'base::overload' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:143:7: performance:inconclusive: Technically the member function 'base::overload' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:254:8: style:inconclusive: Technically the member function 'base::operatordelete' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:186:28: style: Parameter 'foo' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:260:8: style:inconclusive: Technically the member function 'base::operatordelete[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:281:8: performance:inconclusive: Technically the member function 'base1::a_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:112:35: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:293:8: performance:inconclusive: Technically the member function 'base2::a_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:113:37: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:313:8: performance:inconclusive: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:324:25: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:313:8: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:314:8: performance:inconclusive: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:325:25: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:314:8: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:315:8: performance:inconclusive: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:326:25: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:315:8: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:316:8: performance:inconclusive: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:327:25: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:316:8: note: Technically the member function 'CV::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:35:8: performance:inconclusive: Technically the member function 'tclass < char >::do_something' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:35:8: performance:inconclusive: Technically the member function 'tclass < int >::do_something' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:35:8: performance:inconclusive: Technically the member function 'tclass < long >::do_something' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:35:8: performance:inconclusive: Technically the member function 'tclass < short >::do_something' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:35:8: performance:inconclusive: Technically the member function 'tclass < base >::do_something' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:307:7: warning: The class 'derived' defines member variable with name 'foo_' also defined in its parent class 'base1'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:284:7: note: Parent variable 'base1::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:307:7: note: Derived variable 'derived::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:307:7: warning: The class 'derived' defines member variable with name 'foo_' also defined in its parent class 'base'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:130:7: note: Parent variable 'base::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:307:7: note: Derived variable 'derived::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:307:7: warning: The class 'derived' defines member variable with name 'foo_' also defined in its parent class 'base2'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:294:7: note: Parent variable 'base2::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:307:7: note: Derived variable 'derived::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:301:8: warning: The class 'derived' defines member function with name 'a_function' also defined in its parent class 'base1'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:281:8: note: Parent function 'base1::a_function' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:301:8: note: Derived function 'derived::a_function' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:301:8: warning: The class 'derived' defines member function with name 'a_function' also defined in its parent class 'base2'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:293:8: note: Parent function 'base2::a_function' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:301:8: note: Derived function 'derived::a_function' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:284:7: warning: The class 'base1' defines member variable with name 'foo_' also defined in its parent class 'base'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:130:7: note: Parent variable 'base::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:284:7: note: Derived variable 'base1::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:294:7: warning: The class 'base2' defines member variable with name 'foo_' also defined in its parent class 'base'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:130:7: note: Parent variable 'base::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:294:7: note: Derived variable 'base2::foo_' gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:134:3: style: Class 'base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:280:3: style: Class 'base1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:106:3: style: Class 'policyd < int , operation_1 < int > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:106:3: style: Class 'policyd < long , operation_1 < long > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:106:3: style: Class 'policyd < char , operation_1 < char > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:106:3: style: Class 'policyd < base , operation_1 < base > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:106:3: style: Class 'policyd < tclass < int > , operation_1 < tclass < int > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:96:3: style: Class 'policy < int , operation_1 < void * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:96:3: style: Class 'policy < int , operation_2 < void * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:96:3: style: Class 'policy < int , operation_3 < void * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:96:3: style: Class 'policy < int , operation_4 < void * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:62:9: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:82:46: style: Variable 'ival' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:100:46: style: Variable 'ival' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:110:58: style: Variable 'ival' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:111:60: style: Variable 'ival' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:112:46: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:113:48: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:120:37: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:121:43: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:122:45: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:123:38: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:124:46: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:125:36: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:126:44: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:127:37: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:128:45: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:129:38: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:352:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:349:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:352:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:130:39: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:355:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:352:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:355:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:134:36: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:357:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:355:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:357:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:135:43: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:359:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:357:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:359:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:135:48: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:370:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:359:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:370:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:136:50: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:362:5: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:361:10: note: x is initialized gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:362:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:136:55: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:363:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:362:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:363:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:136:60: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:364:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:363:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:364:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:138:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:365:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:364:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:365:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:138:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:366:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:365:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:366:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:138:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:367:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:366:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:367:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:138:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:368:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:367:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:368:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:140:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:369:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:368:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:369:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:140:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:372:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:370:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:372:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:140:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:374:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:372:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:374:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:140:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:375:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:374:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:375:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:140:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:377:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:375:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:377:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:379:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:377:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:379:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:389:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:379:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:389:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:381:5: style: Variable 'a' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:380:5: note: a is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:381:5: note: a is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:448:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:389:5: note: r is assigned gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:448:5: note: r is overwritten gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:142:34: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:34: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:144:39: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:34: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:39: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:147:44: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:34: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:39: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:44: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:143:23: style: Parameter 'b' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:150:49: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:142:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:449:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:450:10: style: Variable 'flp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:34: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:39: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:44: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:153:49: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:154:10: style: Variable 'a10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:9: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:14: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:19: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:24: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:29: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:34: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:39: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:44: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:157:49: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:158:10: style: Variable 'a10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:174:40: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:175:42: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:176:42: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:177:42: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:178:42: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:179:42: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cplusfuncs.cc:180:45: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:369:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:383:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:446:12: style: Variable 'b1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:448:5: style: Variable 'r' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:449:13: style: Variable 'str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:450:14: style: Variable 'flp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:451:16: style: Variable 'flpp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpexprs.cc:452:30: style: Variable 'flcpcp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd.cc:39:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd.cc:40:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd.cc:41:5: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd1.cc:30:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd1.cc:31:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd1.cc:32:5: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd2.cc:36:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd2.cc:37:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd2.cc:38:5: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd3.cc:47:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd3.cc:48:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cttiadd3.cc:49:5: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation2.cc:38:9: performance: Variable 'd' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation2.cc:46:17: style: Variable 'd2_instance.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation2.cc:47:17: style: Variable 'd2_instance.d' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:91:9: performance: Variable 'd' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:92:9: performance: Variable 'dd' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:107:9: performance: Variable 'e' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:108:9: performance: Variable 'ee' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:123:9: performance: Variable 'f' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:124:9: performance: Variable 'ff' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:24:10: performance:inconclusive: Technically the member function 'N::Derived::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:44:16: performance:inconclusive: Technically the member function 'A::afoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:198:18: note: Technically the member function 'A::afoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:44:16: note: Technically the member function 'A::afoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:45:16: performance:inconclusive: Technically the member function 'A::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:226:18: note: Technically the member function 'A::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:45:16: note: Technically the member function 'A::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:60:19: performance:inconclusive: Technically the member function 'B::bfoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:202:18: note: Technically the member function 'B::bfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:60:19: note: Technically the member function 'B::bfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:61:19: performance:inconclusive: Technically the member function 'B::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:232:18: note: Technically the member function 'B::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:61:19: note: Technically the member function 'B::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:77:9: performance:inconclusive: Technically the member function 'C::cfoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:206:18: note: Technically the member function 'C::cfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:77:9: note: Technically the member function 'C::cfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:78:9: performance:inconclusive: Technically the member function 'C::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:238:18: note: Technically the member function 'C::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:78:9: note: Technically the member function 'C::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:94:16: performance:inconclusive: Technically the member function 'D::dfoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:210:18: note: Technically the member function 'D::dfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:94:16: note: Technically the member function 'D::dfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:95:16: performance:inconclusive: Technically the member function 'D::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: note: Technically the member function 'D::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:95:16: note: Technically the member function 'D::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:110:16: performance:inconclusive: Technically the member function 'E::efoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:214:18: note: Technically the member function 'E::efoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:110:16: note: Technically the member function 'E::efoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:111:16: performance:inconclusive: Technically the member function 'E::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: note: Technically the member function 'E::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:111:16: note: Technically the member function 'E::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:126:16: performance:inconclusive: Technically the member function 'F::ffoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:218:18: note: Technically the member function 'F::ffoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:126:16: note: Technically the member function 'F::ffoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:127:16: performance:inconclusive: Technically the member function 'F::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: note: Technically the member function 'F::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:127:16: note: Technically the member function 'F::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:148:9: performance:inconclusive: Technically the member function 'G::gfoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:222:8: note: Technically the member function 'G::gfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:148:9: note: Technically the member function 'G::gfoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:149:9: performance:inconclusive: Technically the member function 'G::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: note: Technically the member function 'G::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:149:9: note: Technically the member function 'G::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: warning: The class 'D' defines member function with name 'foo' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:226:18: note: Parent function 'A::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: note: Derived function 'D::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: warning: The class 'D' defines member function with name 'foo' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:232:18: note: Parent function 'B::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: note: Derived function 'D::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: warning: The class 'D' defines member function with name 'foo' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:238:18: note: Parent function 'C::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:244:18: note: Derived function 'D::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: warning: The class 'E' defines member function with name 'foo' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:226:18: note: Parent function 'A::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: note: Derived function 'E::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: warning: The class 'E' defines member function with name 'foo' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:232:18: note: Parent function 'B::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: note: Derived function 'E::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: warning: The class 'E' defines member function with name 'foo' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:238:18: note: Parent function 'C::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:250:18: note: Derived function 'E::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: warning: The class 'F' defines member function with name 'foo' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:226:18: note: Parent function 'A::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: note: Derived function 'F::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: warning: The class 'F' defines member function with name 'foo' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:232:18: note: Parent function 'B::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: note: Derived function 'F::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: warning: The class 'F' defines member function with name 'foo' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:238:18: note: Parent function 'C::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:256:18: note: Derived function 'F::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:135:9: warning: The class 'G' defines member variable with name 'a' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:36:16: note: Parent variable 'A::a' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:135:9: note: Derived variable 'G::a' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:136:9: warning: The class 'G' defines member variable with name 'b' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:52:19: note: Parent variable 'B::b' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:136:9: note: Derived variable 'G::b' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:137:9: warning: The class 'G' defines member variable with name 'c' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:69:9: note: Parent variable 'C::c' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:137:9: note: Derived variable 'G::c' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: warning: The class 'G' defines member function with name 'foo' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:226:18: note: Parent function 'A::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: note: Derived function 'G::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: warning: The class 'G' defines member function with name 'foo' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:232:18: note: Parent function 'B::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: note: Derived function 'G::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: warning: The class 'G' defines member function with name 'foo' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:238:18: note: Parent function 'C::foo' gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:262:8: note: Derived function 'G::foo' gdb-13.2/gdb/testsuite/gdb.cp/destrprint.cc:26:4: style: The destructor '~Derived' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/destrprint.cc:11:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/destrprint.cc:26:4: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:289:18: style: Variable 'a_instance.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:290:19: style: Variable 'a_instance.aa' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:291:18: style: Variable 'b_instance.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:292:19: style: Variable 'b_instance.bb' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:293:18: style: Variable 'c_instance.c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:294:19: style: Variable 'c_instance.cc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:295:18: style: Variable 'd_instance.d' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:296:19: style: Variable 'd_instance.dd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:297:18: style: Variable 'e_instance.e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:298:19: style: Variable 'e_instance.ee' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:299:18: style: Variable 'f_instance.f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:300:19: style: Variable 'f_instance.ff' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:301:18: style: Variable 'g_instance.g' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:302:19: style: Variable 'g_instance.gg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:303:18: style: Variable 'z_instance.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:304:20: style: Variable 'zz_instance.zz' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/derivation.cc:308:21: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/destrprint.cc:33:11: style: Unused variable: d [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/dispcxx.cc:19:8: performance:inconclusive: Technically the member function 'K::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/disasm-func-name.cc:24:3: style: Class 'A' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/exceptprint.cc:50:3: style: Struct 'maude' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:28:8: performance:inconclusive: Technically the member function 'C::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:35:7: performance:inconclusive: Technically the member function 'D::includefile' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:42:8: note: Technically the member function 'D::includefile' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:35:7: note: Technically the member function 'D::includefile' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:37:8: performance:inconclusive: Technically the member function 'D::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:48:6: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:52:6: style: Variable 'pd' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:48:9: style: Variable 'pc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/filename.cc:52:9: style: Variable 'pd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/formatted-ref.cc:27:18: style: Parameter 's' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/formatted-ref.cc:27:36: style: Parameter 'i' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/gdb2384-base.h:25:3: style: Class 'base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/gdb2384-base.h:33:3: style: Class 'derived' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/gdb2384.cc:23:3: style: Class 'derived1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/gdb2384.cc:34:3: style: Class 'derived2' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/gdb2495.cc:28:8: performance:inconclusive: Technically the member function 'SimpleException::raise_signal' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/gdb2495.cc:34:7: performance:inconclusive: Technically the member function 'SimpleException::no_throw_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/gdb2495.cc:39:8: performance:inconclusive: Technically the member function 'SimpleException::throw_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/gdb2495.cc:44:7: performance:inconclusive: Technically the member function 'SimpleException::throw_function_with_handler' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/hang2.cc:5:7: style: struct member 'B::member_of_B' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:99:5: debug: CheckClass::isMemberVar found used member variable 'i' with varid 0 [varid0] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:101:5: debug: CheckClass::isMemberVar found used member variable 'i' with varid 0 [varid0] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:103:5: debug: CheckClass::isMemberVar found used member variable 'i' with varid 0 [varid0] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:106:5: debug: CheckClass::isMemberVar found used member variable 'i' with varid 0 [varid0] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:107:5: debug: CheckClass::isMemberVar found used member variable 'i' with varid 0 [varid0] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:113:5: debug: CheckClass::isMemberVar found used member variable 'i' with varid 0 [varid0] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:93:1: style:inconclusive: Technically the member function 'D::f' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:35:5: warning: The class 'B < int >' defines member variable with name 'i' also defined in its parent class 'A < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:26:5: note: Parent variable 'A < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:35:5: note: Derived variable 'B < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:45:7: warning: The class 'C' defines member variable with name 'i' also defined in its parent class 'A < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:26:5: note: Parent variable 'A < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:45:7: note: Derived variable 'C::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:54:7: warning: The class 'BB' defines member variable with name 'i' also defined in its parent class 'A < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:26:5: note: Parent variable 'A < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:54:7: note: Derived variable 'BB::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:61:7: warning: The class 'CC' defines member variable with name 'i' also defined in its parent class 'A < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:26:5: note: Parent variable 'A < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:61:7: note: Derived variable 'CC::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:68:7: warning: The class 'Ambig' defines member variable with name 'i' also defined in its parent class 'BB'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:54:7: note: Parent variable 'BB::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:68:7: note: Derived variable 'Ambig::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:68:7: warning: The class 'Ambig' defines member variable with name 'i' also defined in its parent class 'A < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:26:5: note: Parent variable 'A < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:68:7: note: Derived variable 'Ambig::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:68:7: warning: The class 'Ambig' defines member variable with name 'i' also defined in its parent class 'CC'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:61:7: note: Parent variable 'CC::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:68:7: note: Derived variable 'Ambig::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:75:7: warning: The class 'D' defines member variable with name 'i' also defined in its parent class 'B < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:35:5: note: Parent variable 'B < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:75:7: note: Derived variable 'D::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:75:7: warning: The class 'D' defines member variable with name 'i' also defined in its parent class 'A < int >'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:26:5: note: Parent variable 'A < int >::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:75:7: note: Derived variable 'D::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:75:7: warning: The class 'D' defines member variable with name 'i' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:45:7: note: Parent variable 'C::i' gdb-13.2/gdb/testsuite/gdb.cp/impl-this.cc:75:7: note: Derived variable 'D::i' gdb-13.2/gdb/testsuite/gdb.cp/incomplete-type-overload.cc:33:12: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/infcall-dlopen.cc:27:5: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:141:9: performance:inconclusive: Technically the member function 'M::A::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:194:9: style:inconclusive: Technically the member function 'P::Q::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:199:9: style:inconclusive: Technically the member function 'P::Q::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:204:9: style:inconclusive: Technically the member function 'P::Q::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:236:9: performance:inconclusive: Technically the member function 'R::rfoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:237:9: performance:inconclusive: Technically the member function 'R::rbar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:25:31: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:26:26: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:27:45: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:20:7: style: struct member 'aggregate::i1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:21:7: style: struct member 'aggregate::i2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:22:7: style: struct member 'aggregate::i3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:311:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:312:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:313:5: warning:inconclusive: Found suspicious operator '!=', result is not used. [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:314:5: warning:inconclusive: Found suspicious operator '!=', result is not used. [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:315:5: warning:inconclusive: Found suspicious operator '+', result is not used. [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:316:5: warning:inconclusive: Found suspicious operator '+', result is not used. [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:6:22: style: class member 'C::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:185:10: style: union member 'Anonymous0::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:186:10: style: union member 'Anonymous0::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:318:3: style: Variable 'q' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/koenig.cc:268:8: style: Unused variable: ix [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:16:10: performance:inconclusive: Technically the member function 'foobar::Local::loc_foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:45:10: performance:inconclusive: Technically the member function 'main::::InnerLocal::il_foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:52:12: performance:inconclusive: Technically the member function 'main::::InnerLocal::NestedInnerLocal::nil_foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:57:23: style: class member 'InnerLocal::nest1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:51:12: style: class member 'NestedInnerLocal::nil' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:23:16: style: Unused variable: l1 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:62:11: style: Variable 'il.ilc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/local.cc:63:10: style: Variable 'il.ip' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:46:8: performance:inconclusive: Technically the member function 'S::inline_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:55:8: performance:inconclusive: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:69:4: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:55:8: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:56:8: performance:inconclusive: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:75:4: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:56:8: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:57:8: performance:inconclusive: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:81:4: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:57:8: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:58:8: performance:inconclusive: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:87:4: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:58:8: note: Technically the member function 'S::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:101:8: performance:inconclusive: Technically the member function 'S2 < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:117:8: note: Technically the member function 'S2 < int >::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:101:8: note: Technically the member function 'S2 < int >::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/local-static.c:104:8: performance:inconclusive: Technically the member function 'S2 < int >::inline_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:49:8: performance:inconclusive: Technically the member function 'C::marker' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:48:3: style: Class 'C' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:40:3: style: Class 'gnu_obj_3 < long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:28:3: style: Class 'gnu_obj_2 < long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:28:3: style: Class 'gnu_obj_2 < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:56:19: style: Variable 'test1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:57:24: style: Variable 'test2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/m-data.cc:58:24: style: Variable 'test3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:23:8: performance:inconclusive: Technically the member function 'gnu_obj_1::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:71:3: style: Class 'gnu_obj_3 < long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:56:3: style: Class 'gnu_obj_2 < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:56:3: style: Class 'gnu_obj_2 < long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:95:15: style: Variable 'test4.dummy' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:94:15: note: test4.dummy is assigned gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:95:15: note: test4.dummy is overwritten gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:5:22: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:6:26: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:94:23: error: Uninitialized variable: test4.elsewhere [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:89:24: style: Variable 'test2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/m-static.cc:90:24: style: Variable 'test3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/mb-ctor.cc:8:4: warning:inconclusive: Class 'Base' which has virtual members does not have a virtual destructor. [virtualDestructor] gdb-13.2/gdb/testsuite/gdb.cp/mb-ctor.cc:7:3: style: Class 'Base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/mb-ctor.cc:27:3: style: Class 'Derived' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/mb-ctor.cc:54:3: style: Class 'DeeplyDerived' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/mb-ctor.cc:65:19: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-name.cc:42:7: style:inconclusive: Technically the member function 'C::m' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/member-name.cc:57:7: performance:inconclusive: Technically the member function 'Templ < int >::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:43:4: warning: Member variable 'A::jj' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:99:7: style:inconclusive: Technically the member function 'Base::get_x' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:103:11: note: Technically the member function 'Base::get_x' can be const. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:99:7: note: Technically the member function 'Base::get_x' can be const. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:136:15: style: The function 'vget_base' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:100:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:136:15: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:204:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:224:9: style: Variable 'pmf_p' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:187:9: note: pmf_p is assigned gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:224:9: note: pmf_p is overwritten gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:226:5: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:220:5: note: k is assigned gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:226:5: note: k is overwritten gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:228:5: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:226:5: note: k is assigned gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:228:5: note: k is overwritten gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:230:5: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:228:5: note: k is assigned gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:230:5: note: k is overwritten gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:233:5: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:230:5: note: k is assigned gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:233:5: note: k is overwritten gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:49:17: style:inconclusive: Function 'foo' argument 1 names different: declaration 'x' definition 'dummy'. [funcArgNamesDifferent] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:26:16: note: Function 'foo' argument 1 names different: declaration 'x' definition 'dummy'. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:49:17: note: Function 'foo' argument 1 names different: declaration 'x' definition 'dummy'. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:55:17: style:inconclusive: Function 'bar' argument 1 names different: declaration 'y' definition 'dummy'. [funcArgNamesDifferent] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:27:16: note: Function 'bar' argument 1 names different: declaration 'y' definition 'dummy'. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:55:17: note: Function 'bar' argument 1 names different: declaration 'y' definition 'dummy'. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:63:17: style:inconclusive: Function 'baz' argument 1 names different: declaration 'z' definition 'dummy'. [funcArgNamesDifferent] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:28:24: note: Function 'baz' argument 1 names different: declaration 'z' definition 'dummy'. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:63:17: note: Function 'baz' argument 1 names different: declaration 'z' definition 'dummy'. gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:159:7: style: Variable 'a_p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:166:18: style: Variable 'left_pmf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:167:18: style: Variable 'right_pmf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:168:18: style: Variable 'left_vpmf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:169:18: style: Variable 'left_base_vpmf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:170:18: style: Variable 'right_vpmf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:171:15: style: Variable 'base_vpmf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:183:7: style: Variable 'a_p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:194:12: style: Variable 'left_pmf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:195:13: style: Variable 'right_pmf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:196:13: style: Variable 'left_vpmf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:197:18: style: Variable 'left_base_vpmf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:198:14: style: Variable 'right_vpmf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:201:13: style: Variable 'base_vpmf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:214:18: style: Variable 'contain.member' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:233:5: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:235:5: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/member-ptr.cc:239:5: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:60:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:61:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:62:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:63:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:64:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:65:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:66:10: performance:inconclusive: Technically the member function 'A::foo::test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:52:5: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:53:5: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:55:5: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:56:5: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:57:5: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:115:14: style: Parameter 'b' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:42:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:43:49: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:44:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:28:21: style: struct member 'anon_struct::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:28:29: style: struct member 'anon_struct::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:29:20: style: union member 'anon_union::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:29:28: style: union member 'anon_union::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:147:12: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:148:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:149:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:150:12: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:151:12: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:152:12: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:153:12: style: Variable 'g' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/meth-typedefs.cc:161:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/method.cc:32:7: style:inconclusive: Technically the member function 'A::baz' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/method.cc:47:8: note: Technically the member function 'A::baz' can be const. gdb-13.2/gdb/testsuite/gdb.cp/method.cc:32:7: note: Technically the member function 'A::baz' can be const. gdb-13.2/gdb/testsuite/gdb.cp/method.cc:29:7: style: class member 'A::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/method.cc:69:5: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/method.cc:71:5: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:3:8: performance:inconclusive: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:9:4: note: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:3:8: note: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:4:8: performance:inconclusive: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:14:4: note: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:4:8: note: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:5:8: performance:inconclusive: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:19:4: note: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:5:8: note: Technically the member function 'A::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/method2.cc:19:15: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/minsym-fallback.h:22:8: style:inconclusive: Technically the member function 'C::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/minsym-fallback.cc:26:4: note: Technically the member function 'C::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.cp/minsym-fallback.h:22:8: note: Technically the member function 'C::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:50:1: style: The struct 'private_struct' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:56:1: style: The struct 'mixed_protection_struct' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:86:1: style: The class 'default_private_class' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:92:1: style: The class 'explicit_private_class' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:98:1: style: The class 'mixed_protection_class' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:120:7: performance:inconclusive: Technically the member function 'const_vol_method_class::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:125:29: note: Technically the member function 'const_vol_method_class::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:120:7: note: Technically the member function 'const_vol_method_class::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:121:7: performance:inconclusive: Technically the member function 'const_vol_method_class::bar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:129:29: note: Technically the member function 'const_vol_method_class::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:121:7: note: Technically the member function 'const_vol_method_class::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:122:7: performance:inconclusive: Technically the member function 'const_vol_method_class::baz' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:133:29: note: Technically the member function 'const_vol_method_class::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:122:7: note: Technically the member function 'const_vol_method_class::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:413:7: style:inconclusive: Technically the member function 'Foo::operator!' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:424:10: note: Technically the member function 'Foo::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:413:7: note: Technically the member function 'Foo::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:414:3: style:inconclusive: Technically the member function 'Foo::operatorint' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:430:6: note: Technically the member function 'Foo::operatorint' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:414:3: note: Technically the member function 'Foo::operatorint' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:415:7: style:inconclusive: Technically the member function 'Foo::times' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:426:10: note: Technically the member function 'Foo::times' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:415:7: note: Technically the member function 'Foo::times' can be const. gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:460:7: performance:inconclusive: Technically the member function 'ClassParam::Aptr_a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:461:7: performance:inconclusive: Technically the member function 'ClassParam::Aptr_x' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:462:7: performance:inconclusive: Technically the member function 'ClassParam::Aref_a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:463:7: performance:inconclusive: Technically the member function 'ClassParam::Aref_x' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:464:7: performance:inconclusive: Technically the member function 'ClassParam::Aval_a' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:465:7: performance:inconclusive: Technically the member function 'ClassParam::Aval_x' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:151:7: warning: The class 'B' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:143:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:151:7: note: Derived variable 'B::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:159:7: warning: The class 'C' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:143:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:159:7: note: Derived variable 'C::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: warning: The class 'D' defines member variable with name 'x' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:151:7: note: Parent variable 'B::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: note: Derived variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: warning: The class 'D' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:143:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: note: Derived variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: warning: The class 'D' defines member variable with name 'x' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:159:7: note: Parent variable 'C::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: note: Derived variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'D'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:167:7: note: Parent variable 'D::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'B'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:151:7: note: Parent variable 'B::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:143:7: note: Parent variable 'A::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: warning: The class 'E' defines member variable with name 'x' also defined in its parent class 'C'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:159:7: note: Parent variable 'C::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:175:7: note: Derived variable 'E::x' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:313:7: warning: The class 'vB' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:305:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:313:7: note: Derived variable 'vB::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:321:7: warning: The class 'vC' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:305:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:321:7: note: Derived variable 'vC::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: warning: The class 'vD' defines member variable with name 'vx' also defined in its parent class 'vB'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:313:7: note: Parent variable 'vB::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: note: Derived variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: warning: The class 'vD' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:305:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: note: Derived variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: warning: The class 'vD' defines member variable with name 'vx' also defined in its parent class 'vC'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:321:7: note: Parent variable 'vC::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: note: Derived variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vD'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:329:7: note: Parent variable 'vD::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vB'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:313:7: note: Parent variable 'vB::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vA'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:305:7: note: Parent variable 'vA::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: warning: The class 'vE' defines member variable with name 'vx' also defined in its parent class 'vC'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:321:7: note: Parent variable 'vC::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:337:7: note: Derived variable 'vE::vx' gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:403:3: style: Class 'Base1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:488:5: style: Class 'Nested' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:227:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:228:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:264:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:265:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:455:27: style: Variable 'obj_with_enum.priv_enum' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:452:27: note: obj_with_enum.priv_enum is assigned gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:455:27: note: obj_with_enum.priv_enum is overwritten gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:526:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:525:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:526:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:527:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:526:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:527:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:528:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:527:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:528:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:529:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:528:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:529:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:530:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:529:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:530:5: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:125:40: style: Parameter 'ir' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:129:40: style: Parameter 'ir' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:133:40: style: Parameter 'ir' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:462:18: style: Parameter 'a' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:463:18: style: Parameter 'a' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:460:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:461:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:118:7: style: class member 'const_vol_method_class::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:119:7: style: class member 'const_vol_method_class::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:348:7: style: Unused variable: ival [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:349:8: style: Unused variable: intp [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:453:19: style: Variable 'obj_with_enum.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:455:27: style: Variable 'obj_with_enum.priv_enum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/misc.cc:530:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namelessclass.cc:36:7: performance:inconclusive: Technically the member function 'A::fudge' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:9:9: performance:inconclusive: Technically the member function 'AAA::inA::fum' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:18:15: note: Technically the member function 'AAA::inA::fum' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:9:9: note: Technically the member function 'AAA::inA::fum' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:35:10: performance:inconclusive: Technically the member function 'BBB::Class::xyzq' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:66:18: note: Technically the member function 'BBB::Class::xyzq' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:35:10: note: Technically the member function 'BBB::Class::xyzq' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:187:6: style: Variable 'c1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:186:6: note: c1 is assigned gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:187:6: note: c1 is overwritten gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:188:6: style: Variable 'c1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:187:6: note: c1 is assigned gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:188:6: note: c1 is overwritten gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:201:6: style: Variable 'c1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:188:6: note: c1 is assigned gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:201:6: note: c1 is overwritten gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:108:20: style: Local variable 'c' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:93:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:108:20: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:108:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:109:33: style: Variable 'n' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:36:9: style: class member 'Class::dummy' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:98:9: style: class member 'CClass::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:101:11: style: class member 'NestedClass::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:108:20: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:109:33: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:182:21: style: Variable 'var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:192:10: style: Variable 'ina.xx' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:196:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:197:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace.cc:201:6: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/namespace1.cc:26:25: performance:inconclusive: Technically the member function 'C::OtherFileClass::cOtherFileClassVar_use' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/namespace1.cc:28:55: note: Technically the member function 'C::OtherFileClass::cOtherFileClassVar_use' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/namespace1.cc:26:25: note: Technically the member function 'C::OtherFileClass::cOtherFileClassVar_use' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/nested-class-func-class.cc:28:7: style: The class 'F2' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/nested-class-func-class.cc:26:5: performance:inconclusive: Technically the member function 'foo::F1::vvv' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/nested-class-func-class.cc:24:9: style: class member 'F1::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-class-func-class.cc:30:6: style: class member 'F2::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-class-func-class.cc:32:10: style: Unused variable: abcd [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:34:8: performance:inconclusive: Technically the member function 'NextOverThrowDerivates::function1' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:93:8: performance:inconclusive: Technically the member function 'NextOverThrowDerivates::resumebpt' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:164:11: style: Variable 'testval' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:159:15: note: testval is assigned gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:164:11: note: testval is overwritten gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:232:11: style: Variable 'testval' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:228:15: note: testval is assigned gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:232:11: note: testval is overwritten gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:234:11: style: Variable 'testval' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:232:11: note: testval is assigned gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:234:11: note: testval is overwritten gdb-13.2/gdb/testsuite/gdb.cp/nextoverthrow.cc:234:11: style: Variable 'testval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:28:7: style: struct member 'S10::i10' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:29:7: style: struct member 'S10::e10' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:30:7: style: struct member 'S10::u10' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:24:9: style: union member 'U10::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:25:10: style: union member 'U10::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:39:9: style: struct member 'S11::i11' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:40:9: style: struct member 'S11::e11' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:41:9: style: struct member 'S11::u11' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:35:11: style: union member 'U11::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:36:12: style: union member 'U11::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:50:11: style: struct member 'S12::i12' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:51:11: style: struct member 'S12::e12' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:52:11: style: struct member 'S12::u12' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:46:13: style: union member 'U12::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:47:14: style: union member 'U12::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:61:13: style: struct member 'S13::i13' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:62:13: style: struct member 'S13::e13' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:63:13: style: struct member 'S13::u13' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:57:15: style: union member 'U13::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:58:16: style: union member 'U13::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:72:15: style: struct member 'S14::i14' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:73:15: style: struct member 'S14::e14' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:74:15: style: struct member 'S14::u14' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:68:17: style: union member 'U14::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:69:18: style: union member 'U14::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:83:17: style: struct member 'S15::i15' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:84:17: style: struct member 'S15::e15' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:85:17: style: struct member 'S15::u15' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:79:19: style: union member 'U15::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:80:20: style: union member 'U15::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:94:19: style: struct member 'S16::i16' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:95:19: style: struct member 'S16::e16' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:96:19: style: struct member 'S16::u16' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:90:21: style: union member 'U16::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:91:22: style: union member 'U16::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:105:21: style: struct member 'S17::i17' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:106:21: style: struct member 'S17::e17' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:107:21: style: struct member 'S17::u17' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:101:23: style: union member 'U17::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:102:24: style: union member 'U17::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:116:23: style: struct member 'S18::i18' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:117:23: style: struct member 'S18::e18' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:118:23: style: struct member 'S18::u18' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:112:25: style: union member 'U18::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:113:26: style: union member 'U18::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:127:25: style: struct member 'S19::i19' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:128:25: style: struct member 'S19::e19' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:129:25: style: struct member 'S19::u19' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:123:27: style: union member 'U19::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:124:28: style: union member 'U19::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:147:9: style: struct member 'S21::i21' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:148:9: style: struct member 'S21::e21' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:149:9: style: struct member 'S21::u21' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:143:11: style: union member 'U21::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:144:12: style: union member 'U21::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:158:11: style: struct member 'S22::i22' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:159:11: style: struct member 'S22::e22' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:160:11: style: struct member 'S22::u22' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:154:13: style: union member 'U22::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:155:14: style: union member 'U22::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:169:13: style: struct member 'S23::i23' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:170:13: style: struct member 'S23::e23' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:171:13: style: struct member 'S23::u23' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:165:15: style: union member 'U23::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:166:16: style: union member 'U23::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:180:15: style: struct member 'S24::i24' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:181:15: style: struct member 'S24::e24' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:182:15: style: struct member 'S24::u24' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:176:17: style: union member 'U24::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:177:18: style: union member 'U24::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:191:17: style: struct member 'S25::i25' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:192:17: style: struct member 'S25::e25' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:193:17: style: struct member 'S25::u25' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:187:19: style: union member 'U25::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:188:20: style: union member 'U25::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:202:19: style: struct member 'S26::i26' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:203:19: style: struct member 'S26::e26' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:204:19: style: struct member 'S26::u26' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:198:21: style: union member 'U26::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:199:22: style: union member 'U26::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:213:21: style: struct member 'S27::i27' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:214:21: style: struct member 'S27::e27' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:215:21: style: struct member 'S27::u27' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:209:23: style: union member 'U27::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:210:24: style: union member 'U27::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:224:23: style: struct member 'S28::i28' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:225:23: style: struct member 'S28::e28' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:226:23: style: struct member 'S28::u28' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:220:25: style: union member 'U28::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:221:26: style: union member 'U28::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:235:25: style: struct member 'S29::i29' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:236:25: style: struct member 'S29::e29' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:237:25: style: struct member 'S29::u29' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:231:27: style: union member 'U29::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:232:28: style: union member 'U29::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:255:9: style: struct member 'S31::i31' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:256:9: style: struct member 'S31::e31' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:257:9: style: struct member 'S31::u31' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:251:11: style: union member 'U31::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:252:12: style: union member 'U31::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:266:11: style: struct member 'S32::i32' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:267:11: style: struct member 'S32::e32' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:268:11: style: struct member 'S32::u32' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:262:13: style: union member 'U32::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:263:14: style: union member 'U32::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:277:13: style: struct member 'S33::i33' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:278:13: style: struct member 'S33::e33' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:279:13: style: struct member 'S33::u33' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:273:15: style: union member 'U33::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:274:16: style: union member 'U33::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:288:15: style: struct member 'S34::i34' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:289:15: style: struct member 'S34::e34' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:290:15: style: struct member 'S34::u34' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:284:17: style: union member 'U34::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:285:18: style: union member 'U34::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:299:17: style: struct member 'S35::i35' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:300:17: style: struct member 'S35::e35' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:301:17: style: struct member 'S35::u35' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:295:19: style: union member 'U35::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:296:20: style: union member 'U35::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:310:19: style: struct member 'S36::i36' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:311:19: style: struct member 'S36::e36' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:312:19: style: struct member 'S36::u36' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:306:21: style: union member 'U36::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:307:22: style: union member 'U36::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:321:21: style: struct member 'S37::i37' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:322:21: style: struct member 'S37::e37' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:323:21: style: struct member 'S37::u37' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:317:23: style: union member 'U37::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:318:24: style: union member 'U37::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:332:23: style: struct member 'S38::i38' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:333:23: style: struct member 'S38::e38' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:334:23: style: struct member 'S38::u38' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:328:25: style: union member 'U38::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:329:26: style: union member 'U38::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:343:25: style: struct member 'S39::i39' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:344:25: style: struct member 'S39::e39' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:345:25: style: struct member 'S39::u39' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:339:27: style: union member 'U39::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:340:28: style: union member 'U39::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:363:9: style: struct member 'S41::i41' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:364:9: style: struct member 'S41::e41' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:365:9: style: struct member 'S41::u41' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:359:11: style: union member 'U41::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:360:12: style: union member 'U41::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:374:11: style: struct member 'S42::i42' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:375:11: style: struct member 'S42::e42' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:376:11: style: struct member 'S42::u42' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:21:3: warning: Member variable 'A::a' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:370:13: style: union member 'U42::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:45:3: warning: Member variable 'B::b' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:371:14: style: union member 'U42::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:69:3: warning:inconclusive: Member variable 'B1::b1' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:385:13: style: struct member 'S43::i43' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:386:13: style: struct member 'S43::e43' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:387:13: style: struct member 'S43::u43' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:381:15: style: union member 'U43::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:382:16: style: union member 'U43::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:396:15: style: struct member 'S44::i44' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:397:15: style: struct member 'S44::e44' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:398:15: style: struct member 'S44::u44' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:392:17: style: union member 'U44::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:393:18: style: union member 'U44::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:407:17: style: struct member 'S45::i45' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:408:17: style: struct member 'S45::e45' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:409:17: style: struct member 'S45::u45' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:403:19: style: union member 'U45::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:76:3: style: Class 'B1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:404:20: style: union member 'U45::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:418:19: style: struct member 'S46::i46' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:419:19: style: struct member 'S46::e46' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:420:19: style: struct member 'S46::u46' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:414:21: style: union member 'U46::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:415:22: style: union member 'U46::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:429:21: style: struct member 'S47::i47' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:430:21: style: struct member 'S47::e47' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:431:21: style: struct member 'S47::u47' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:425:23: style: union member 'U47::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:426:24: style: union member 'U47::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:440:23: style: struct member 'S48::i48' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:441:23: style: struct member 'S48::e48' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:442:23: style: struct member 'S48::u48' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:436:25: style: union member 'U48::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:437:26: style: union member 'U48::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:451:25: style: struct member 'S49::i49' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:452:25: style: struct member 'S49::e49' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:453:25: style: struct member 'S49::u49' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:447:27: style: union member 'U49::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:448:28: style: union member 'U49::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:471:9: style: struct member 'S51::i51' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:472:9: style: struct member 'S51::e51' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:473:9: style: struct member 'S51::u51' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:467:11: style: union member 'U51::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:468:12: style: union member 'U51::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:482:11: style: struct member 'S52::i52' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:483:11: style: struct member 'S52::e52' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:484:11: style: struct member 'S52::u52' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:478:13: style: union member 'U52::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:479:14: style: union member 'U52::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:493:13: style: struct member 'S53::i53' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:494:13: style: struct member 'S53::e53' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:495:13: style: struct member 'S53::u53' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:489:15: style: union member 'U53::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:490:16: style: union member 'U53::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:504:15: style: struct member 'S54::i54' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:505:15: style: struct member 'S54::e54' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:506:15: style: struct member 'S54::u54' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:500:17: style: union member 'U54::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:501:18: style: union member 'U54::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:515:17: style: struct member 'S55::i55' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:516:17: style: struct member 'S55::e55' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:517:17: style: struct member 'S55::u55' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:511:19: style: union member 'U55::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:512:20: style: union member 'U55::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:526:19: style: struct member 'S56::i56' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:527:19: style: struct member 'S56::e56' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:528:19: style: struct member 'S56::u56' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:522:21: style: union member 'U56::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:523:22: style: union member 'U56::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:537:21: style: struct member 'S57::i57' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:538:21: style: struct member 'S57::e57' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:539:21: style: struct member 'S57::u57' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:533:23: style: union member 'U57::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:534:24: style: union member 'U57::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:548:23: style: struct member 'S58::i58' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:549:23: style: struct member 'S58::e58' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:550:23: style: struct member 'S58::u58' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:544:25: style: union member 'U58::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:545:26: style: union member 'U58::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:559:25: style: struct member 'S59::i59' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:560:25: style: struct member 'S59::e59' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:561:25: style: struct member 'S59::u59' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:555:27: style: union member 'U59::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:27:9: style: Parameter 'obj' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:556:28: style: union member 'U59::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:577:7: style: Unused variable: s10 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:578:12: style: Unused variable: s11 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:579:17: style: Unused variable: s12 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:580:22: style: Unused variable: s13 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:581:27: style: Unused variable: s14 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:582:32: style: Unused variable: s15 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:583:37: style: Unused variable: s16 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:584:42: style: Unused variable: s17 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:585:47: style: Unused variable: s18 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:586:52: style: Unused variable: s19 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:588:12: style: Unused variable: s21 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:589:17: style: Unused variable: s22 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:590:22: style: Unused variable: s23 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:591:27: style: Unused variable: s24 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:592:32: style: Unused variable: s25 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:593:37: style: Unused variable: s26 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:594:42: style: Unused variable: s27 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:595:47: style: Unused variable: s28 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:596:52: style: Unused variable: s29 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:598:12: style: Unused variable: s31 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:599:17: style: Unused variable: s32 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:600:22: style: Unused variable: s33 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:601:27: style: Unused variable: s34 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:602:32: style: Unused variable: s35 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:603:37: style: Unused variable: s36 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:604:42: style: Unused variable: s37 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:605:47: style: Unused variable: s38 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:606:52: style: Unused variable: s39 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:608:12: style: Unused variable: s41 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:609:17: style: Unused variable: s42 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:610:22: style: Unused variable: s43 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:611:27: style: Unused variable: s44 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:612:32: style: Unused variable: s45 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:613:37: style: Unused variable: s46 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:614:42: style: Unused variable: s47 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:615:47: style: Unused variable: s48 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:616:52: style: Unused variable: s49 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:618:12: style: Unused variable: s51 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:619:17: style: Unused variable: s52 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:620:22: style: Unused variable: s53 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:621:27: style: Unused variable: s54 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:622:32: style: Unused variable: s55 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:623:37: style: Unused variable: s56 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:624:42: style: Unused variable: s57 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:625:47: style: Unused variable: s58 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/nested-types.cc:626:52: style: Unused variable: s59 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:163:7: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:164:9: style: Variable 'b1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:165:7: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/non-trivial-retval.cc:166:7: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/nsusing.cc:121:11: style: The scope of the variable 'b' can be reduced. [variableScope] gdb-13.2/gdb/testsuite/gdb.cp/nsusing.cc:124:15: style: The scope of the variable 'c' can be reduced. [variableScope] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:95:7: style:inconclusive: Technically the member function 'G::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:179:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:180:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:183:6: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:184:6: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:188:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:189:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:190:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:193:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:194:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:195:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:198:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:199:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/operator.cc:208:5: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:21:28: style:inconclusive: Technically the member function 'B::operatorint' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:126:18: style:inconclusive: Technically the member function 'D::operatorshort' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:156:5: style:inconclusive: Technically the member function 'E::operatordouble' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:157:5: style:inconclusive: Technically the member function 'E::operatorint' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:166:18: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:168:27: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:75:15: error: Uninitialized variable: bp [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:86:15: error: Uninitialized variable: cp [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:205:8: error: Uninitialized variable: bp [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:209:8: error: Uninitialized variable: cp [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:12:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.cp/oranking.cc:240:18: style: Variable 'cc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:172:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:173:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:174:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:175:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:176:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:177:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:178:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:179:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:180:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:181:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:182:47: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:183:47: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:184:47: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:190:36: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:196:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:200:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:204:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:208:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:212:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:27: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:27: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:14:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:171:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:14:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:15:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:172:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:15:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:16:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:173:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:16:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:17:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:174:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:17:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:18:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:175:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:18:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:19:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:176:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:19:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:20:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:177:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:20:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:21:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:178:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:21:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:22:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:179:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:22:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:23:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:180:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:23:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:24:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:181:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:24:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:25:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:182:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:25:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:27:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:183:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:27:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:28:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:184:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:28:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:30:5: style:inconclusive: Technically the member function 'foo::overloadfnarg' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:189:10: note: Technically the member function 'foo::overloadfnarg' can be const. gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:30:5: note: Technically the member function 'foo::overloadfnarg' can be const. gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:31:5: performance:inconclusive: Technically the member function 'foo::overloadfnarg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:190:10: note: Technically the member function 'foo::overloadfnarg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:31:5: note: Technically the member function 'foo::overloadfnarg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:34:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:195:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:34:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:35:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:199:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:35:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:36:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:203:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:36:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:37:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:207:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:37:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:38:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:211:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:38:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:39:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:215:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:39:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:40:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:219:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:40:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:41:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:223:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:41:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:42:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:228:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:42:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:43:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:235:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:43:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:45:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:240:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:45:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:5:3: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:137:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:165:17: style: Parameter 'afoo' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:183:29: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:184:30: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:109:15: style: Variable 'arg2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:110:22: style: Variable 'arg3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:111:24: style: Variable 'arg4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:112:16: style: Variable 'arg5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:113:25: style: Variable 'arg6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:114:14: style: Variable 'arg7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:115:23: style: Variable 'arg8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:116:15: style: Variable 'arg9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:117:25: style: Variable 'arg10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:118:17: style: Variable 'arg11' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:119:18: style: Variable 'arg12' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:120:15: style: Variable 'arg13' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:121:16: style: Variable 'arg14' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:126:7: style: Unused variable: d [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:172:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:173:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:174:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:175:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:176:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:177:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:178:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:179:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:180:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:181:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:182:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:183:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:184:51: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:190:40: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:196:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:200:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:200:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:204:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:204:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:204:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:208:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:208:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:208:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:208:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:212:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:212:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:212:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:212:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:212:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:216:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:220:36: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:36: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:225:41: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:36: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:41: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:231:46: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:30: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:35: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:40: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:45: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:50: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:55: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:60: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:65: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:237:70: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:238:31: style: Variable 'a10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:30: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:35: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:40: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:45: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:50: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:55: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:60: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:65: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:242:70: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:243:31: style: Variable 'a10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/overload.cc:243:37: style: Variable 'a11' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:110:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:113:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:116:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:119:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:122:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:125:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:128:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:131:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:134:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:137:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:140:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:146:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:150:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:154:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:158:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:162:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:27: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:27: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:26:10: performance:inconclusive: Technically the member function 'A::outer::func' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:98:6: warning: Member variable 'foo::ccpfoo' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:9:8: performance:inconclusive: Technically the member function 'foo::foofunc' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:196:11: note: Technically the member function 'foo::foofunc' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:9:8: note: Technically the member function 'foo::foofunc' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:10:8: performance:inconclusive: Technically the member function 'foo::foofunc' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:200:11: note: Technically the member function 'foo::foofunc' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:10:8: note: Technically the member function 'foo::foofunc' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:14:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:106:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:14:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:15:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:109:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:15:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:16:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:112:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:16:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:17:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:115:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:17:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:18:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:118:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:18:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:19:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:121:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:19:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:20:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:124:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:20:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:21:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:127:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:21:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:22:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:130:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:22:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:23:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:133:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:23:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:24:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:136:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:24:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:25:5: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:139:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:25:5: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:27:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:145:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:27:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:28:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:149:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:28:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:29:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:153:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:29:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch1.cc:39:3: error: Memory leak: p [memleak] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:30:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:157:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:30:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:31:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:161:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:31:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:32:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:165:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:32:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:33:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:169:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:33:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:34:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:173:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:34:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:35:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:178:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:35:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:36:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:185:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:36:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:38:5: performance:inconclusive: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:190:10: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:38:5: note: Technically the member function 'foo::overloadargs' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:5:3: style: Class 'foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch1.cc:35:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:100:17: style: Parameter 'afoo' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:200:40: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:110:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:113:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:116:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:119:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:122:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:125:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:128:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:131:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:134:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:137:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:140:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:146:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:150:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:150:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:154:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:154:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:154:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:158:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:158:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:158:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:158:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:162:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:162:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:162:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:162:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:162:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:166:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:170:36: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:36: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:175:41: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:6: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:11: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:16: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:21: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:26: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:31: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:36: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:41: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:181:46: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:30: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:23:10: performance:inconclusive: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch2.cc:21:11: note: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:23:10: note: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:35: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:40: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:36:12: performance:inconclusive: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch2.cc:26:14: note: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:36:12: note: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:45: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:50: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:55: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:60: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:65: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:187:70: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:188:31: style: Variable 'a10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:30: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:35: style: Variable 'a2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:40: style: Variable 'a3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:45: style: Variable 'a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:50: style: Variable 'a5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:55: style: Variable 'a6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:60: style: Variable 'a7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:65: style: Variable 'a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:192:70: style: Variable 'a9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:193:31: style: Variable 'a10' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovldbreak.cc:193:37: style: Variable 'a11' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:55:3: style: Variable 'char_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:56:3: style: Variable 'int_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:57:3: style: Variable 'long_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:58:3: style: Variable 'float_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:59:3: style: Variable 'double_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:63:3: style: Variable 'Class_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:64:3: style: Variable 'Union_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:24:10: performance:inconclusive: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch3.cc:21:11: note: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:24:10: note: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:27:10: performance:inconclusive: Technically the member function 'A::outer::hibob' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch3.cc:31:11: note: Technically the member function 'A::outer::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:27:10: note: Technically the member function 'A::outer::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:37:12: performance:inconclusive: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch3.cc:26:14: note: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:37:12: note: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:39:12: performance:inconclusive: Technically the member function 'A::B::inner::hibob' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch3.cc:36:14: note: Technically the member function 'A::B::inner::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:39:12: note: Technically the member function 'A::B::inner::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:29:10: style: union member 'Union::kp' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:30:8: style: union member 'Union::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:31:7: style: union member 'Union::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:32:8: style: union member 'Union::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:55:3: style: Variable 'size_char' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:55:3: style: Variable 'size_charp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:56:3: style: Variable 'size_int' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:56:3: style: Variable 'size_intp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:57:3: style: Variable 'size_long' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:57:3: style: Variable 'size_longp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:58:3: style: Variable 'size_float' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:58:3: style: Variable 'size_floatp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:59:3: style: Variable 'size_double' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:59:3: style: Variable 'size_doublep' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:60:3: style: Variable 'size_a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:60:3: style: Variable 'size_a4p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:61:3: style: Variable 'size_a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:61:3: style: Variable 'size_a8p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:62:3: style: Variable 'size_a12' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:62:3: style: Variable 'size_a12p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:63:3: style: Variable 'size_Class' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:63:3: style: Variable 'size_Classp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:64:3: style: Variable 'size_Union' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:64:3: style: Variable 'size_Unionp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:65:3: style: Variable 'size_Enum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:65:3: style: Variable 'size_Enump' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:66:3: style: Variable 'size_c4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:66:3: style: Variable 'size_c4p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:67:3: style: Variable 'size_u8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:67:3: style: Variable 'size_u8p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:68:3: style: Variable 'size_e12' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/cpsizeof.cc:68:3: style: Variable 'size_e12p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:25:10: performance:inconclusive: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:21:11: note: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:25:10: note: Technically the member function 'A::outer::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:28:10: performance:inconclusive: Technically the member function 'A::outer::hibob' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:31:11: note: Technically the member function 'A::outer::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:28:10: note: Technically the member function 'A::outer::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:38:12: performance:inconclusive: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:26:14: note: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:38:12: note: Technically the member function 'A::B::inner::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:40:12: performance:inconclusive: Technically the member function 'A::B::inner::hibob' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:36:14: note: Technically the member function 'A::B::inner::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch.h:40:12: note: Technically the member function 'A::B::inner::hibob' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:21:22: style: Parameter 'a_param' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:26:25: style: Parameter 'a_param' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:31:24: style: Parameter 'a_param' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/ovsrch4.cc:36:27: style: Parameter 'a_param' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/paramless.cc:24:7: performance:inconclusive: Technically the member function 'outer < int >::fn' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/parse-lang.cc:20:8: performance:inconclusive: Technically the member function 'C::m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/parse-lang.cc:24:4: note: Technically the member function 'C::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/parse-lang.cc:20:8: note: Technically the member function 'C::m' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/paramless.cc:43:10: style: Variable 'x3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/paramless.cc:44:10: style: Variable 'x4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/parse-lang.cc:19:7: style: class member 'C::v' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/pr-1023.cc:6:10: performance:inconclusive: Technically the member function 'myClass::performUnblocking' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/pr-1023.cc:10:15: note: Technically the member function 'myClass::performUnblocking' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/pr-1023.cc:6:10: note: Technically the member function 'myClass::performUnblocking' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/pr-1023.cc:7:10: performance:inconclusive: Technically the member function 'myClass::performBlocking' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/pr-1023.cc:12:15: note: Technically the member function 'myClass::performBlocking' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/pr-1023.cc:7:10: note: Technically the member function 'myClass::performBlocking' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/pointer-to-member.cc:25:20: style: struct member 'B::j' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:95:15: style: The function 'get' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:77:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:95:15: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:282:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:281:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:282:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:283:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:282:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:283:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:284:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:283:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:284:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:285:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:284:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:285:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:286:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:285:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:286:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:287:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:286:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:287:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:288:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:287:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:288:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:290:5: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:288:5: note: v is assigned gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:290:5: note: v is overwritten gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:174:34: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/pr-1210.cc:17:9: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/pr-574.cc:38:3: error: Memory leak: theB [memleak] gdb-13.2/gdb/testsuite/gdb.cp/pass-by-ref-2.cc:290:5: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr-574.cc:36:6: style: Variable 'theB' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/pr-1210.cc:12:12: style: class member 'C::myB' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/pr-1210.cc:17:13: style: Variable 'obj' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr-1210.cc:17:9: style: Variable 'obj' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.cp/pr-574.cc:31:14: style: class member 'B::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/pr-574.cc:36:11: style: Variable 'theB' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr-574.cc:36:6: style: Variable 'theB' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.cp/pr10687.cc:19:25: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.cp/pr10728-x.cc:5:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr12028.cc:13:5: style: Unused variable: b [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr17132.cc:26:3: style: Class 'smart_ptr < A >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:32:7: style:inconclusive: Technically the member function 'A::geta' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:40:4: note: Technically the member function 'A::geta' can be const. gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:32:7: note: Technically the member function 'A::geta' can be const. gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:33:7: style:inconclusive: Technically the member function 'A::adda' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:46:4: note: Technically the member function 'A::adda' can be const. gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:33:7: note: Technically the member function 'A::adda' can be const. gdb-13.2/gdb/testsuite/gdb.cp/pr17132.cc:57:6: style: Variable 'a_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:55:6: style: Variable 'a_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/pr17132.cc:57:12: style: Variable 'a_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr17494.cc:55:12: style: Variable 'a_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:6:7: performance:inconclusive: Technically the member function 'Base::base_function_only' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:23:8: performance:inconclusive: Technically the member function 'Foo::Foofoo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:38:11: note: Technically the member function 'Foo::Foofoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:23:8: note: Technically the member function 'Foo::Foofoo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:25:8: style:inconclusive: Technically the member function 'Foo::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:59:9: performance:inconclusive: Technically the member function 'main::Anonymous0::get' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:17:3: style: Class 'Foo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:20:7: style: The function 'get_foo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:5:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/pr9594.cc:20:7: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/pr9631.cc:36:22: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.cp/pr9631.cc:38:7: style: Unused variable: tender [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/printmethod.cc:23:8: performance:inconclusive: Technically the member function 'A::nonvirt' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/printmethod.cc:32:3: error: Memory leak: theA [memleak] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:48:1: style: The class 'TypedefHolder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:17:1: style: The class 'Simple < int >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:17:1: style: The class 'Simple < int * >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:17:1: style: The class 'Simple < Simple < int > >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:59:10: style: Unused private function: 'TypedefHolder::method1' [unusedPrivateFunction] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:60:10: style: Unused private function: 'TypedefHolder::method2' [unusedPrivateFunction] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:59:10: performance:inconclusive: Technically the member function 'TypedefHolder::method1' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:60:10: performance:inconclusive: Technically the member function 'TypedefHolder::method2' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/ptype-flags.cc:38:10: performance:inconclusive: Technically the member function 'Holder < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/re-set-overloaded.cc:22:5: style: Class 'C' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:21:3: style: Struct 'Parent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:26:3: style: Struct 'Child' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:40:3: style: Struct 'OtherParent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:45:3: style: Struct 'MultiChild' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:29:16: style: Parameter 'R' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:48:22: style: Parameter 'R' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:69:15: style: Variable 'MQR' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-params.cc:69:19: style: Variable 'MQR' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rtti1.cc:59:24: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/rtti1.cc:64:28: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/rtti1.cc:98:9: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/rtti1.cc:99:9: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/rtti1.cc:98:12: style: Variable 'e1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rtti1.cc:99:12: style: Variable 'e2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:88:7: style: Variable 'I' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:82:7: note: I is assigned gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:88:7: note: I is overwritten gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:30:12: style: Variable 'rs' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:68:11: style: Variable 'rC' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:69:20: style: Variable 'rUC' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:70:12: style: Variable 'rS' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:71:21: style: Variable 'rUS' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:72:10: style: Variable 'rI' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:73:19: style: Variable 'rUI' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:74:11: style: Variable 'rL' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:75:20: style: Variable 'rUL' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:76:12: style: Variable 'rF' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:77:13: style: Variable 'rD' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:30:15: style: Variable 'rs' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:32:17: style: Variable 'rps' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:40:11: style: Variable 'as[3]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:68:14: style: Variable 'rC' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:69:24: style: Variable 'rUC' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:70:15: style: Variable 'rS' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:71:25: style: Variable 'rUS' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:72:13: style: Variable 'rI' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:73:23: style: Variable 'rUI' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:74:14: style: Variable 'rL' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:75:24: style: Variable 'rUL' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:76:15: style: Variable 'rF' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/ref-types.cc:77:16: style: Variable 'rD' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:36:7: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:104:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:36:7: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:37:7: performance:inconclusive: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:105:10: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:37:7: note: Technically the member function 'foo::overload1arg' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:38:7: performance:inconclusive: Technically the member function 'foo::overloadConst' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:106:10: note: Technically the member function 'foo::overloadConst' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:38:7: note: Technically the member function 'foo::overloadConst' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:25:3: style: Struct 'A' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:39:7: performance:inconclusive: Technically the member function 'foo::overloadConst' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:107:10: note: Technically the member function 'foo::overloadConst' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:39:7: note: Technically the member function 'foo::overloadConst' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:24:3: style: Struct 'Parent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:30:3: style: Struct 'Child' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:59:3: style: Struct 'OtherParent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:65:3: style: Struct 'MultiChild' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:62:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:64:11: style: C-style reference casting [cstyleCast] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:91:10: style: Redundant initialization for 'result'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:80:14: note: result is initialized gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:91:10: note: result is overwritten gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:63:6: style: Variable 'ar' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:64:6: style: Variable 'br' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:88:10: style: Variable 'QR' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:96:15: style: Variable 'MQR' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:71:10: style: Variable 'ad' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:48:9: style: Parameter 'x' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:72:10: style: Variable 'add' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:98:25: style: Parameter 'afoo' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:104:37: style: Parameter 'arg' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:88:13: style: Variable 'QR' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:66:11: style: Variable 'brr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-params.cc:96:19: style: Variable 'MQR' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:71:13: style: Variable 'ad' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:72:14: style: Variable 'add' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:85:5: style: Variable 'test_const' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:68:11: style: Unused variable: derived [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-overload.cc:84:7: style: Variable 'test_const' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-casts.cc:69:17: style: Unused variable: doublyderived [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-types.cc:65:16: warning: Conversion of char literal 'A' to bool always evaluates to true. [incorrectCharBooleanError] gdb-13.2/gdb/testsuite/gdb.cp/scope-err.cc:32:19: error: Uninitialized variable: a [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:21:13: style: Local variable 'x' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:12:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:21:13: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:25:17: style: Local variable 'x' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:21:13: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:25:17: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:21:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/shadow.cc:25:19: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:20:7: performance:inconclusive: Technically the member function 'Type1::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:27:7: performance:inconclusive: Technically the member function 'Type2::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:34:7: performance:inconclusive: Technically the member function 'Type3::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:37:7: performance:inconclusive: Technically the member function 'Type3::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:81:7: performance:inconclusive: Technically the member function 'A::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:103:5: style:inconclusive: Technically the member function 'C2::operator->' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:56:3: style: Class 'MyPointer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:68:3: style: Class 'SmartPointer < Type1 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:68:3: style: Class 'SmartPointer < Type2 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:68:3: style: Class 'SmartPointer < Type3 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:68:3: style: Class 'SmartPointer < Type4 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:137:10: style: Variable 'mt4p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/smartp.cc:149:8: style: Variable 'c2.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/static-method.cc:43:5: error: Uninitialized variable: x [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.cp/static-print-quit.cc:21:9: style: class member 'D::loooooooooooooooooooooooooooooooooooooooooooooong' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/static-typedef-print.cc:21:10: style:inconclusive: Technically the member function 'A::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.h:25:7: performance:inconclusive: Technically the member function 'foobar::Foo::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.h:30:7: performance:inconclusive: Technically the member function 'foobar::Bar::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.h:35:7: performance:inconclusive: Technically the member function 'foobar::Baz::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes-2.cc:22:7: performance:inconclusive: Technically the member function 'Inner::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes-2.cc:27:18: warning: Struct 'Outer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gdb-13.2/gdb/testsuite/gdb.cp/subtypes-2.cc:27:18: warning: Struct 'Outer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.h:47:10: style: Class 'Outer' is unsafe, 'Outer::p' can leak by wrong usage. [unsafeClassCanLeak] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.cc:25:9: performance:inconclusive: Technically the member function 'main::Foo::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.cc:30:9: performance:inconclusive: Technically the member function 'main::Bar::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.cc:35:9: performance:inconclusive: Technically the member function 'main::Baz::doit' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/subtypes-2.cc:23:24: style: struct member 'Inner::p' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/subtypes.cc:38:7: style: Variable 'o.e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:26:8: performance:inconclusive: Technically the member function 'S::somefunc' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:62:8: performance:inconclusive: Technically the member function 'K2::k2_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:77:8: performance:inconclusive: Technically the member function 'K3::k3_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:41:8: performance:inconclusive: Technically the member function 'Base < double , 23 , & a_global , & S :: f >::base_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:47:8: performance:inconclusive: Technically the member function 'Base < double , 23 , & a_global , & S :: f >::templ_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:35:10: performance:inconclusive: Technically the member function 'Base < double , 23 , & a_global , & S :: f >::Inner::inner_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:41:8: performance:inconclusive: Technically the member function 'Base < long , 47 , & a_global , & S :: f >::base_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:35:10: performance:inconclusive: Technically the member function 'Inner < float >::inner_m' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/temargs.cc:25:7: style: struct member 'S::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:57:3: style: Class 'gnu_obj_3 < long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:46:3: style: Class 'gnu_obj_2 < long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:46:3: style: Class 'gnu_obj_2 < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:74:21: style: Variable 'obj' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:100:22: style: Variable 'obj' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:109:25: style: Variable 'obj' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.cp/try_catch.cc:134:7: style: Variable 'test' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/typed-enum.cc:34:13: style: Return value 'v1==v2' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.cp/typed-enum.cc:32:12: note: Assignment 'v1=byte_val', assigned value is 128 gdb-13.2/gdb/testsuite/gdb.cp/typed-enum.cc:34:13: note: Return value 'v1==v2' is always true gdb-13.2/gdb/testsuite/gdb.cp/typedef-base.cc:23:7: style: struct member 'C::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/typedef-base.cc:28:5: style: Unused variable: c [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:590:9: warning: Comparison of a boolean expression with an integer other than 0 or 1. [compareBoolExpressionWithInt] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:590:11: warning: Comparison of a boolean value using relational operator (<, >, <= or >=). [comparisonOfBoolWithInvalidComparator] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:216:5: warning: Member variable 'c::i' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:469:8: warning: Member variable 'T5 < char >::x' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < char >::x' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < char >::val' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:469:8: warning: Member variable 'T5 < int >::x' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < int >::x' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < int >::val' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < int ( * ) ( char , void * ) >::val' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < int ( * ) ( int , double * * , void * ) >::val' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:469:8: warning: Member variable 'T5 < x >::x' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < x >::x' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:473:8: warning: Member variable 'T5 < x >::val' is not initialized in the copy constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:620:5: performance:inconclusive: Technically the member function 'Spec::spec' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:624:16: note: Technically the member function 'Spec::spec' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:620:5: note: Technically the member function 'Spec::spec' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:672:5: performance:inconclusive: Technically the member function 'Qux1::qux' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:675:48: note: Technically the member function 'Qux1::qux' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:672:5: note: Technically the member function 'Qux1::qux' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:751:6: performance:inconclusive: Technically the member function 'Foozle < int >::fogey' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:756:16: note: Technically the member function 'Foozle < int >::fogey' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:751:6: note: Technically the member function 'Foozle < int >::fogey' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:751:6: performance:inconclusive: Technically the member function 'Foozle < char >::fogey' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:756:16: note: Technically the member function 'Foozle < char >::fogey' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:751:6: note: Technically the member function 'Foozle < char >::fogey' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:751:6: performance:inconclusive: Technically the member function 'Foozle < Empty < int > >::fogey' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:756:16: note: Technically the member function 'Foozle < Empty < int > >::fogey' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:751:6: note: Technically the member function 'Foozle < Empty < int > >::fogey' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:734:7: performance:inconclusive: Technically the member function 'FunctionArg < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:737:39: note: Technically the member function 'FunctionArg < int >::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:734:7: note: Technically the member function 'FunctionArg < int >::method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:655:5: performance:inconclusive: Technically the member function 'Qux < char , string >::qux' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:658:44: note: Technically the member function 'Qux < char , string >::qux' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:655:5: note: Technically the member function 'Qux < char , string >::qux' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:655:5: performance:inconclusive: Technically the member function 'Qux < int , string >::qux' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:658:44: note: Technically the member function 'Qux < int , string >::qux' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:655:5: note: Technically the member function 'Qux < int , string >::qux' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:636:5: performance:inconclusive: Technically the member function 'Baz < int , 's' >::baz' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:639:42: note: Technically the member function 'Baz < int , 's' >::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:636:5: note: Technically the member function 'Baz < int , 's' >::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:636:5: performance:inconclusive: Technically the member function 'Baz < char , 'a' >::baz' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:639:42: note: Technically the member function 'Baz < char , 'a' >::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:636:5: note: Technically the member function 'Baz < char , 'a' >::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:636:5: performance:inconclusive: Technically the member function 'Baz < int , 1 >::baz' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:639:42: note: Technically the member function 'Baz < int , 1 >::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:636:5: note: Technically the member function 'Baz < int , 1 >::baz' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:607:6: performance:inconclusive: Technically the member function 'Spec < int , char >::spec' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:611:18: note: Technically the member function 'Spec < int , char >::spec' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:607:6: note: Technically the member function 'Spec < int , char >::spec' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:584:5: performance:inconclusive: Technically the member function 'Bar < int , 33 >::bar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:588:41: note: Technically the member function 'Bar < int , 33 >::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:584:5: note: Technically the member function 'Bar < int , 33 >::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:584:5: performance:inconclusive: Technically the member function 'Bar < int , true >::bar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:588:41: note: Technically the member function 'Bar < int , true >::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:584:5: note: Technically the member function 'Bar < int , true >::bar' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:568:5: performance:inconclusive: Technically the member function 'Foo < int >::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:572:29: note: Technically the member function 'Foo < int >::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:568:5: note: Technically the member function 'Foo < int >::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:568:5: performance:inconclusive: Technically the member function 'Foo < char >::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:572:29: note: Technically the member function 'Foo < char >::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:568:5: note: Technically the member function 'Foo < char >::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:568:5: performance:inconclusive: Technically the member function 'Foo < volatile char * >::foo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:572:29: note: Technically the member function 'Foo < volatile char * >::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:568:5: note: Technically the member function 'Foo < volatile char * >::foo' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: style:inconclusive: Technically the member function 'T5 < char >::value' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:492:8: note: Technically the member function 'T5 < char >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: note: Technically the member function 'T5 < char >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: style:inconclusive: Technically the member function 'T5 < int >::value' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:492:8: note: Technically the member function 'T5 < int >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: note: Technically the member function 'T5 < int >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: style:inconclusive: Technically the member function 'T5 < int ( * ) ( char , void * ) >::value' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:492:8: note: Technically the member function 'T5 < int ( * ) ( char , void * ) >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: note: Technically the member function 'T5 < int ( * ) ( char , void * ) >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: style:inconclusive: Technically the member function 'T5 < int ( * ) ( int , double * * , void * ) >::value' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:492:8: note: Technically the member function 'T5 < int ( * ) ( int , double * * , void * ) >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: note: Technically the member function 'T5 < int ( * ) ( int , double * * , void * ) >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: style:inconclusive: Technically the member function 'T5 < x >::value' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:492:8: note: Technically the member function 'T5 < x >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:461:9: note: Technically the member function 'T5 < x >::value' can be const. gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:216:5: style: Class 'c' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:377:5: style: Class 'T2' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:456:5: style: Class 'T5 < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:456:5: style: Class 'T5 < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:456:5: style: Class 'T5 < int ( * ) ( char , void * ) >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:456:5: style: Class 'T5 < int ( * ) ( int , double * * , void * ) >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:456:5: style: Class 'T5 < x >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:806:5: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:798:10: note: c is initialized gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:806:5: note: c is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:840:5: style: Variable 'z' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:804:5: note: z is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:840:5: note: z is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:807:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:806:5: note: c is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:807:5: note: c is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:849:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:807:5: note: c is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:849:5: note: c is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:810:5: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:809:5: note: y is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:810:5: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:860:5: style: Variable 'z' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:840:5: note: z is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:860:5: note: z is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:853:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:848:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:853:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:857:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:852:5: note: c is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:857:5: note: c is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:858:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:853:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:858:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:823:15: style: Local variable 'f' shadows outer function [shadowFunction] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:12:1: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:823:15: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:737:76: style: Parameter 'arg' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:24:34: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:28:34: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:28:45: style: Parameter 'fig' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:32:34: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:32:45: style: Parameter 'fig' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:372:27: style: Parameter 'pointer' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:487:30: style: Parameter 'pointer' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:624:26: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:778:9: error: Uninitialized variable: i [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:832:22: error: Uninitialized variable: fc [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:837:18: error: Uninitialized variable: l [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:837:20: error: Uninitialized variable: m [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:832:22: error: Uninitialized struct member: fc.x [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:832:22: error: Uninitialized struct member: fc.t [uninitStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:37:9: style: class member 'R::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:41:9: style: class member 'S::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:45:9: style: class member 'T::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:217:9: style: class member 'c::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:523:11: style: class member 'x::manage' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:526:11: style: class member 'x::device' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:619:7: style: class member 'Spec::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:670:7: style: class member 'Qux1::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:671:5: style: class member 'Qux1::t' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:857:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:860:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:861:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:862:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/templates.cc:863:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/using-crash.cc:41:3: warning: Member variable 'b1::x' is not initialized in the constructor. Maybe it should be initialized directly in the class b1? [uninitDerivedMemberVar] gdb-13.2/gdb/testsuite/gdb.cp/using-crash.cc:32:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/using-crash.cc:32:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:42:4: style:inconclusive: Technically the member function 'A1::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:74:8: note: Technically the member function 'A1::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:42:4: note: Technically the member function 'A1::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:43:4: style:inconclusive: Technically the member function 'A1::operator-' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:92:8: note: Technically the member function 'A1::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:43:4: note: Technically the member function 'A1::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:44:4: style:inconclusive: Technically the member function 'A1::operator%' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:110:8: note: Technically the member function 'A1::operator%' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:44:4: note: Technically the member function 'A1::operator%' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:45:5: style:inconclusive: Technically the member function 'A1::operator==' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:119:9: note: Technically the member function 'A1::operator==' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:45:5: note: Technically the member function 'A1::operator==' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:46:5: style:inconclusive: Technically the member function 'A1::operator!=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:127:9: note: Technically the member function 'A1::operator!=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:46:5: note: Technically the member function 'A1::operator!=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:48:5: style:inconclusive: Technically the member function 'A1::operator||' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:140:9: note: Technically the member function 'A1::operator||' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:48:5: note: Technically the member function 'A1::operator||' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:50:4: style:inconclusive: Technically the member function 'A1::operator>>' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:154:8: note: Technically the member function 'A1::operator>>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:50:4: note: Technically the member function 'A1::operator>>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:51:4: style:inconclusive: Technically the member function 'A1::operator|' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:163:8: note: Technically the member function 'A1::operator|' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:51:4: note: Technically the member function 'A1::operator|' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:52:4: style:inconclusive: Technically the member function 'A1::operator^' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:172:8: note: Technically the member function 'A1::operator^' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:52:4: note: Technically the member function 'A1::operator^' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:54:5: style:inconclusive: Technically the member function 'A1::operator<' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:190:9: note: Technically the member function 'A1::operator<' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:54:5: note: Technically the member function 'A1::operator<' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:55:5: style:inconclusive: Technically the member function 'A1::operator<=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:197:9: note: Technically the member function 'A1::operator<=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:55:5: note: Technically the member function 'A1::operator<=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:56:5: style:inconclusive: Technically the member function 'A1::operator>=' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:202:9: note: Technically the member function 'A1::operator>=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:56:5: note: Technically the member function 'A1::operator>=' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:57:5: style:inconclusive: Technically the member function 'A1::operator>' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:207:9: note: Technically the member function 'A1::operator>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:57:5: note: Technically the member function 'A1::operator>' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:59:4: style:inconclusive: Technically the member function 'A1::operator/' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:101:8: note: Technically the member function 'A1::operator/' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:59:4: note: Technically the member function 'A1::operator/' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:62:4: style:inconclusive: Technically the member function 'A1::operator~' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:235:8: note: Technically the member function 'A1::operator~' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:62:4: note: Technically the member function 'A1::operator~' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:63:4: style:inconclusive: Technically the member function 'A1::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:226:8: note: Technically the member function 'A1::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:63:4: note: Technically the member function 'A1::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:64:4: style:inconclusive: Technically the member function 'A1::operator-' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:217:8: note: Technically the member function 'A1::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:64:4: note: Technically the member function 'A1::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:65:5: style:inconclusive: Technically the member function 'A1::operator!' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:212:9: note: Technically the member function 'A1::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:65:5: note: Technically the member function 'A1::operator!' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:298:4: style:inconclusive: Technically the member function 'A2::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:301:8: note: Technically the member function 'A2::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:298:4: note: Technically the member function 'A2::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:407:4: error: Uninitialized variable: c [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:193:6: style: Variable 'b.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:339:9: style: Variable 'mem1.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:340:9: style: Variable 'mem2.z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:407:9: style: Variable '(*c).z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:335:12: style: Variable 'c' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:397:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdb/testsuite/gdb.cp/userdef.cc:399:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdb/testsuite/gdb.cp/var-tag.cc:28:7: performance:inconclusive: Technically the member function 'C::f' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:20:9: style:inconclusive: Technically the member function 'ph::Middle::get_y' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:33:9: style:inconclusive: Technically the member function 'ph::Derived::get_z' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:73:16: style: The function 'a' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:56:16: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:73:16: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:74:16: style: The function 'b' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:64:16: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:74:16: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:104:12: style: The destructor '~VirtualMiddleA' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:96:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:104:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:110:12: style: The destructor '~VirtualMiddleB' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:96:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:110:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:116:12: style: The destructor '~Virtual' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:104:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:116:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:104:12: style: The destructor '~VirtualMiddleA' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:96:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:104:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:110:12: style: The destructor '~VirtualMiddleB' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:96:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:110:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.cp/var-tag.cc:24:17: style: union member 'U1::a1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/var-tag.cc:24:26: style: union member 'U1::b1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:127:6: style: Variable 'e' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:128:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:86:13: style: class member 'RTTI_data::base' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:127:8: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:128:10: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:128:8: style: Variable 'b' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.cp/virtbase.cc:129:13: style: Unused variable: rtti_data [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:54:1: style: The class 'A' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:62:1: style: The class 'B' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:42:9: style:inconclusive: Technically the member function 'VB::fvb' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:208:9: note: Technically the member function 'VB::fvb' can be const. gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:42:9: note: Technically the member function 'VB::fvb' can be const. gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:49:9: style:inconclusive: Technically the member function 'V::f' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:203:8: note: Technically the member function 'V::f' can be const. gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:49:9: note: Technically the member function 'V::f' can be const. gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:88:9: style:inconclusive: Technically the member function 'D::fd' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:206:8: note: Technically the member function 'D::fd' can be const. gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:88:9: note: Technically the member function 'D::fd' can be const. gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:65:9: style: The function 'f' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:57:17: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:65:9: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:86:17: style: The function 'vg' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:79:17: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:86:17: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:95:9: style: The function 'f' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:65:9: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:95:9: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:96:9: style: The function 'vg' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:86:17: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:96:9: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:97:9: style: The function 'vv' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:50:17: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc.cc:97:9: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.cp/virtfunc2.cc:20:15: style: Unused private function: 'interface::do_print3' [unusedPrivateFunction] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc2.cc:35:7: style: Unused variable: o [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/virtfunc2.cc:36:8: style: Unused variable: o2 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.cp/vla-cxx.cc:40:3: debug: Failed to parse 'typedef typeof ( vla ) & vlareftypedef ;'. The checking continues anyway. [simplifyTypedef] gdb-13.2/gdb/testsuite/gdb.cp/vla-cxx.cc:24:3: style: Struct 'element' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c:4:7: style: struct member 'B::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c:5:13: style: struct member 'B::bar' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c:10:8: style: struct member 'A::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c:11:13: style: struct member 'A::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-3.c:1:22: style: struct member 'A::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c:4:8: style: struct member 'A::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c:5:13: style: struct member 'A::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c:6:13: style: struct member 'A::bar' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c:11:13: style: struct member 'C::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c:12:7: style: struct member 'C::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-4.c:1:22: style: struct member 'A::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/cross-tu-cyclic-4.c:2:22: style: struct member 'B::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/ctf-a.c:27:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:208:15: style: struct member 'link::next' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:212:17: style: struct member 'link::linkfunc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:214:18: style: struct member 'link::stuff' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:230:7: style: struct member 'inner_struct::inner_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:231:8: style: struct member 'inner_struct::inner_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:234:7: style: union member 'inner_union::inner_union_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.ctf/whatis.c:235:8: style: union member 'inner_union::inner_union_long' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/ada-linkage-name.c:21:14: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/ada-linkage-name.c:30:15: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:238:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:260:34: warning: Either the condition 'fsize<0' is redundant or mmap() argument nr 2 can have invalid value. The value is 0 but the valid values are '1:'. [invalidFunctionArg] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:254:13: note: Assuming that condition 'fsize<0' is not redundant gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:260:34: note: Invalid argument gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:257:7: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:264:7: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:275:7: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:283:4: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:291:4: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:299:7: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:113:44: error: Null pointer dereference: (Elf_Addr*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:114:7: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:118:17: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:120:27: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:123:21: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:306:40: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:307:19: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:309:11: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:334:25: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:346:54: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:357:7: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:365:17: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:366:11: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:367:34: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:386:19: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:388:23: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:389:11: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:392:19: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:393:35: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:415:19: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:417:23: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:436:19: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:438:11: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:440:19: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:442:12: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:465:16: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:466:23: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:512:24: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:515:11: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:517:31: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:521:26: error: Null pointer dereference: (uint64_t*)NULL [nullPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/atomic-type.c:20:10: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:107:9: style: Variable 'from' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:327:22: style: Variable 'text' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.base/sym-file-loader.c:157:15: style: Variable 'self_path' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/clang-debug-names-2.c:25:9: error: Uninitialized variable: a [uninitvar] gdb-13.2/gdb/testsuite/gdb.dwarf2/clang-debug-names-2.c:25:13: error: Uninitialized variable: b [uninitvar] gdb-13.2/gdb/testsuite/gdb.dwarf2/clang-debug-names.c:23:9: error: Uninitialized variable: a [uninitvar] gdb-13.2/gdb/testsuite/gdb.dwarf2/clang-debug-names.c:23:13: error: Uninitialized variable: b [uninitvar] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-bad-mips-linkage-name.c:29:10: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-bad-mips-linkage-name.c:37:10: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c:34:11: style: Condition 'num>2' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c:33:13: note: Assignment 'num=42', assigned value is 42 gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c:34:11: note: Condition 'num>2' is always true gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.c:28:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.c:20:7: style: struct member 'foo::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.c:21:7: style: struct member 'foo::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-opt-structptr.c:22:15: style: struct member 'foo::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-main.c:24:16: style: Variable 'main_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.c:28:28: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-restrict.c:18:24: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c:42:11: style: The comparison 'var != 1' is always false. [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c:40:23: note: 'var' is assigned value '1' here. gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c:42:11: note: The comparison 'var != 1' is always false. gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c:45:26: style: Local variable 'var' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c:40:17: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c:45:26: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.dwarf2/fortran-var-string.c:19:20: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/implptr.c:39:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gdb/testsuite/gdb.dwarf2/implptr.c:39:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/implptr.c:64:12: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/imported-unit.c:51:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.dwarf2/locexpr-data-member-location-main.c:23:6: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/locexpr-data-member-location-main.c:24:6: style: Variable 'v1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/missing-type-name-for-templates.cc:33:1: style: The class 'template_var3 < 0 , int , 11 , float >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.dwarf2/missing-type-name-for-templates.cc:26:1: style: The class 'template_var2 < int , float >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.dwarf2/missing-type-name-for-templates.cc:19:1: style: The class 'template_var1 < int , float >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.dwarf2/pieces-optimized-out.c:26:7: style: struct member 'str::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/pieces-optimized-out.c:27:7: style: struct member 'str::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/pieces-optimized-out.c:28:7: style: struct member 'str::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:290:32: style: Parameter 'exc_obj' can be declared as pointer to const. However it seems that 'force_unwind_stop' is a callback function, if 'exc_obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:306:30: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:290:32: note: Parameter 'exc_obj' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:291:30: style: Parameter 'context' can be declared as pointer to const. However it seems that 'force_unwind_stop' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:306:30: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:291:30: note: Parameter 'context' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:292:12: style: Parameter 'stop_parameter' can be declared as pointer to const. However it seems that 'force_unwind_stop' is a callback function, if 'stop_parameter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:306:30: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:292:12: note: Parameter 'stop_parameter' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:314:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.dwarf2/pr10770.c:327:8: style: Unused variable: dummy [unusedVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/pieces.c:25:30: style: struct member 'C::q' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.dwarf2/variant.c:29:7: style: Condition '*(char*)&x' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.dwarf2/variant.c:28:20: note: Assignment 'x=23', assigned value is 23 gdb-13.2/gdb/testsuite/gdb.dwarf2/variant.c:29:7: note: Condition '*(char*)&x' is always true gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:16:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:17:12: style: Variable 'o' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:18:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:19:12: style: Variable 'q' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:20:24: style: Variable 'r' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:21:15: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:22:14: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:23:9: style: Variable 'u' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:24:11: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:25:12: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:26:12: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:27:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:28:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:40:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:41:12: style: Variable 'o' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:42:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:43:12: style: Variable 'q' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:44:24: style: Variable 'r' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:45:15: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:46:14: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:47:9: style: Variable 'u' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:48:11: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:49:12: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:50:12: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:51:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:52:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:69:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:72:9: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:79:16: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:80:16: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.dwarf2/typeddwarf.c:81:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.gdb/python-helper.cc:26:7: style:inconclusive: Technically the member function 'CC::a_method' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.gdb/python-helper.cc:20:3: style: Struct 'CC' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.fortran/mixed-lang-stack.cpp:65:29: performance: Function parameter 'obj' should be passed by const reference. [passedByValue] gdb-13.2/gdb/testsuite/gdb.fortran/mixed-lang-stack.c:22:9: style: struct member 'some_struct::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.fortran/mixed-lang-stack.c:22:12: style: struct member 'some_struct::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:22:12: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:20:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:22:12: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:25:19: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:22:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:25:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:26:19: style: Local variable 'f' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:23:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:26:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:34:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:20:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:22:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:23:14: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:25:21: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:26:21: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-block.c:27:21: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-cmd.c:20:7: style: struct member 'foo::ij' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-cmd.c:21:7: style: struct member 'foo::bc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-cmd.c:27:14: style: Unused variable: bar [unusedVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-breakpoint.c:35:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame-args.c:47:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame-args.c:47:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame-inline.c:34:16: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:15:12: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:13:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:15:12: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:18:19: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:15:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:18:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:19:19: style: Local variable 'f' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:16:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:19:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:26:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:13:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:15:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:16:14: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:18:21: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:19:21: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-frame.c:20:21: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-lazy-string.c:23:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-lazy-string.c:24:22: style: Variable 'array' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-lazy-string.c:25:23: style: Variable 'typedef_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-lazy-string.c:26:20: style: Variable 'null' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-math.c:27:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.guile/scm-objfile.c:21:16: style: Variable 'some_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-section-script.c:36:0: error: #error "SCRIPT_FILE not defined" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:51:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:48:7: style: struct member 'simple_struct::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:42:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:56:9: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:58:27: style: Variable 'ss' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:60:14: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-symbol.c:62:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:48:7: style: struct member 'hint_error::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:52:7: style: struct member 'children_as_list::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-symtab.c:33:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:222:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:242:54: style: Variable 'eval2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:242:69: style: Variable 'eval3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:243:11: style: Variable 'eval4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:243:26: style: Variable 'eval5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:243:41: style: Variable 'eval6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:244:11: style: Variable 'eval7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:244:26: style: Variable 'eval8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:244:41: style: Variable 'eval9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:246:10: style: Variable 'eval1.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:264:12: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:266:15: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:267:36: style: Variable 'cstring' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:280:8: style: Variable 'me.s' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:287:17: style: Variable 'arraystruct.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:291:15: style: Variable 'ns.null_str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:292:13: style: Variable 'ns.length' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:296:14: style: Variable 'ns2.length' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:298:20: style: Variable 'estring.lazy_str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:301:21: style: Variable 'estring2.lazy_str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:347:11: style: Variable 'nstype2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:274:21: style: Unused variable: hint_error [unusedVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-pretty-print.c:275:27: style: Unused variable: children_as_list [unusedVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-type.c:88:3: error: Memory leak: f [memleak] gdb-13.2/gdb/testsuite/gdb.guile/scm-type.c:67:13: style: Variable 'ar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-type.c:79:8: style: Variable 'st.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-type.c:80:8: style: Variable 'st.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-type.c:82:5: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value-cc.cc:27:8: style: Variable 'int_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.guile/scm-value-cc.cc:27:16: style: Variable 'int_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value-cc.cc:29:24: style: Variable 'int_ptr_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value-cc.cc:26:7: style: Variable 'val' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value-cc.cc:28:11: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:76:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:86:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:88:8: style: Variable 'ptr_i' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:29:9: style: union member 'u::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:76:12: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:79:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:80:15: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:81:19: style: Variable 'nullst' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:84:21: style: Variable 'embed' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:86:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:88:14: style: Variable 'ptr_i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.guile/scm-value.c:87:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.linespec/base/two/thefile.cc:9:2: style: Label 'label' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cp-completion-aliases.cc:56:23: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.linespec/cpexplicit.cc:45:7: style:inconclusive: Technically the member function 'myclass::operator,' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpexplicit.cc:59:14: warning: Found suspicious operator ',', result is not used. [constStatement] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-hyphen.cc:25:5: style: Label 'label1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-hyphen.cc:30:5: style: Label 'label2' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls2.cc:23:5: style: Label 'label1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls2.cc:28:5: style: Label 'label2' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls2.cc:38:5: style: Label 'label1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls2.cc:43:5: style: Label 'label2' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:24:8: style:inconclusive: Technically the member function 'test_unique_op_call::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:28:22: note: Technically the member function 'test_unique_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:24:8: note: Technically the member function 'test_unique_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:33:8: style:inconclusive: Technically the member function 'test_op_call::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:46:15: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:33:8: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:34:8: style:inconclusive: Technically the member function 'test_op_call::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:42:15: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:34:8: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:35:8: style:inconclusive: Technically the member function 'test_op_call::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:50:15: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:35:8: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:38:8: style:inconclusive: Technically the member function 'test_op_call::operator()' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:55:15: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:38:8: note: Technically the member function 'test_op_call::operator()' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:63:8: style:inconclusive: Technically the member function 'test_unique_op_array::operator[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:67:23: note: Technically the member function 'test_unique_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:63:8: note: Technically the member function 'test_unique_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:72:8: style:inconclusive: Technically the member function 'test_op_array::operator[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:80:16: note: Technically the member function 'test_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:72:8: note: Technically the member function 'test_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:73:8: style:inconclusive: Technically the member function 'test_op_array::operator[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:84:16: note: Technically the member function 'test_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:73:8: note: Technically the member function 'test_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:76:8: style:inconclusive: Technically the member function 'test_op_array::operator[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:89:16: note: Technically the member function 'test_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:76:8: note: Technically the member function 'test_op_array::operator[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:111:8: style:inconclusive: Technically the member function 'test_op_delete::operatordelete' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:115:17: note: Technically the member function 'test_op_delete::operatordelete' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:111:8: note: Technically the member function 'test_op_delete::operatordelete' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:136:8: style:inconclusive: Technically the member function 'test_op_delete_array::operatordelete[]' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:140:23: note: Technically the member function 'test_op_delete_array::operatordelete[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:136:8: note: Technically the member function 'test_op_delete_array::operatordelete[]' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:176:17: style:inconclusive: Technically the member function 'test_op_arrow::operator->' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:180:16: note: Technically the member function 'test_op_arrow::operator->' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:176:17: note: Technically the member function 'test_op_arrow::operator->' can be const. gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:55:30: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.linespec/cpls-ops.cc:89:31: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:73:1: performance:inconclusive: Technically the member function 'struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:73:1: note: Technically the member function 'struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:73:1: note: Technically the member function 'struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:78:3: performance:inconclusive: Technically the member function '::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:78:3: note: Technically the member function '::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:78:3: note: Technically the member function '::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:84:3: performance:inconclusive: Technically the member function 'ns_overload2_test::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:84:3: note: Technically the member function 'ns_overload2_test::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:84:3: note: Technically the member function 'ns_overload2_test::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:89:5: performance:inconclusive: Technically the member function 'ns_overload2_test::::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:89:5: note: Technically the member function 'ns_overload2_test::::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:89:5: note: Technically the member function 'ns_overload2_test::::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:94:7: performance:inconclusive: Technically the member function 'ns_overload2_test::::ns_overload2_test::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:94:7: note: Technically the member function 'ns_overload2_test::::ns_overload2_test::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:94:7: note: Technically the member function 'ns_overload2_test::::ns_overload2_test::struct_overload2_test::overload2_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:123:1: performance:inconclusive: Technically the member function 'struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:123:1: note: Technically the member function 'struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:123:1: note: Technically the member function 'struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:128:3: performance:inconclusive: Technically the member function '::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:128:3: note: Technically the member function '::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:128:3: note: Technically the member function '::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:134:3: performance:inconclusive: Technically the member function 'ns_overload3_test::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:134:3: note: Technically the member function 'ns_overload3_test::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:134:3: note: Technically the member function 'ns_overload3_test::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:139:5: performance:inconclusive: Technically the member function 'ns_overload3_test::::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:139:5: note: Technically the member function 'ns_overload3_test::::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:139:5: note: Technically the member function 'ns_overload3_test::::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:144:7: performance:inconclusive: Technically the member function 'ns_overload3_test::::ns_overload3_test::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:144:7: note: Technically the member function 'ns_overload3_test::::ns_overload3_test::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:144:7: note: Technically the member function 'ns_overload3_test::::ns_overload3_test::struct_overload3_test::overload3_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:298:8: performance:inconclusive: Technically the member function 'struct_with_const_overload::const_overload_fn' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:303:29: note: Technically the member function 'struct_with_const_overload::const_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:298:8: note: Technically the member function 'struct_with_const_overload::const_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:299:8: performance:inconclusive: Technically the member function 'struct_with_const_overload::const_overload_fn' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:307:29: note: Technically the member function 'struct_with_const_overload::const_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:299:8: note: Technically the member function 'struct_with_const_overload::const_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:318:8: performance:inconclusive: Technically the member function 'struct_incomplete_scope_colon_test::incomplete_scope_colon_test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:322:37: note: Technically the member function 'struct_incomplete_scope_colon_test::incomplete_scope_colon_test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:318:8: note: Technically the member function 'struct_incomplete_scope_colon_test::incomplete_scope_colon_test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:334:10: performance:inconclusive: Technically the member function 'ns2_incomplete_scope_colon_test::struct_in_ns2_incomplete_scope_colon_test::incomplete_scope_colon_test' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:338:46: note: Technically the member function 'ns2_incomplete_scope_colon_test::struct_in_ns2_incomplete_scope_colon_test::incomplete_scope_colon_test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:334:10: note: Technically the member function 'ns2_incomplete_scope_colon_test::struct_in_ns2_incomplete_scope_colon_test::incomplete_scope_colon_test' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:351:10: performance:inconclusive: Technically the member function '::anon_ns_struct::anon_ns_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:355:19: note: Technically the member function '::anon_ns_struct::anon_ns_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:351:10: note: Technically the member function '::anon_ns_struct::anon_ns_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:369:10: performance:inconclusive: Technically the member function 'the_anon_ns_wrapper_ns::::anon_ns_struct::anon_ns_function' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:373:19: note: Technically the member function 'the_anon_ns_wrapper_ns::::anon_ns_struct::anon_ns_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:369:10: note: Technically the member function 'the_anon_ns_wrapper_ns::::anon_ns_struct::anon_ns_function' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:414:8: performance:inconclusive: Technically the member function 'the_ambiguous_prefix_struct::ambiguous_prefix_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:418:30: note: Technically the member function 'the_ambiguous_prefix_struct::ambiguous_prefix_method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:414:8: note: Technically the member function 'the_ambiguous_prefix_struct::ambiguous_prefix_method' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:207:8: performance:inconclusive: Technically the member function 'B < a < b < int > > , c < d < int > > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:201:8: performance:inconclusive: Technically the member function 'A < a < b < int > > , c < d < int > > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:201:8: performance:inconclusive: Technically the member function 'A < a < b < int > > , a < a < int > > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:201:8: performance:inconclusive: Technically the member function 'A < a < b < int > > , a < b < int > > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:195:8: performance:inconclusive: Technically the member function 'd < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:189:8: performance:inconclusive: Technically the member function 'c < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:189:8: performance:inconclusive: Technically the member function 'c < c < int > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:189:8: performance:inconclusive: Technically the member function 'c < d < int > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:183:8: performance:inconclusive: Technically the member function 'b < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:183:8: performance:inconclusive: Technically the member function 'b < n :: nb >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:177:8: performance:inconclusive: Technically the member function 'a < int >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:177:8: performance:inconclusive: Technically the member function 'a < a < int > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:177:8: performance:inconclusive: Technically the member function 'a < b < int > >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:177:8: performance:inconclusive: Technically the member function 'a < n :: na >::method' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:154:5: performance:inconclusive: Technically the member function 'template_struct < int >::template_overload_fn' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:158:23: note: Technically the member function 'template_struct < int >::template_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:154:5: note: Technically the member function 'template_struct < int >::template_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:154:5: performance:inconclusive: Technically the member function 'template_struct < long >::template_overload_fn' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:158:23: note: Technically the member function 'template_struct < long >::template_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:154:5: note: Technically the member function 'template_struct < long >::template_overload_fn' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:429:5: style: Label 'label1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:434:5: style: Label 'label2' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:462:2: style: Label 'label1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:474:5: style: Label 'label1' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/cpls.cc:479:5: style: Label 'label2' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/ls-errs.c:34:2: style: Label 'here' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.linespec/ls-errs.c:32:19: error: Uninitialized variable: a [uninitvar] gdb-13.2/gdb/testsuite/gdb.linespec/lspec.cc:3:30: style: Label 'label' is not used. [unusedLabel] gdb-13.2/gdb/testsuite/gdb.mi/basics.c:34:21: style: Parameter 'strarg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.mi/dw2-ref-missing-frame-main.c:34:16: style: Variable 'main_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/basics.c:31:5: style: Variable 'C' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/gdb701.c:11:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.mi/gdb701.c:13:8: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/gdb701.c:3:7: style: struct member '_foo::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb701.c:4:7: style: struct member '_foo::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb701.c:5:7: style: struct member '_foo::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb701.c:13:12: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:4:1: style: The class 'Q' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:13:1: style: The class 'B' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:26:3: warning: Member variable 'A::u' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:26:3: warning: Member variable 'A::x' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:26:3: warning: Member variable 'A::buffer' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:26:3: warning: Member variable 'A::y' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:26:3: warning: Member variable 'A::b' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:26:3: warning: Member variable 'A::z' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:43:3: warning: Member variable 'C::zzzz' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:43:3: warning: Member variable 'C::ssss' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:6:6: style: class member 'Q::v' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:8:7: style: class member 'Q::qx' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:9:7: style: class member 'Q::qy' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:10:6: style: class member 'Q::w' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:15:6: style: class member 'B::k' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:17:7: style: class member 'B::bx' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:18:7: style: class member 'B::by' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:23:6: style: class member 'A::u' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:37:9: style: class member 'A::z' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:46:7: style: class member 'C::zzzz' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:48:7: style: class member 'C::ssss' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:54:4: style: Unused variable: c [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/gdb792.cc:55:4: style: Unused variable: q [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-break-qualified.cc:30:8: performance:inconclusive: Technically the member function 'foo::func' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.mi/mi-break-qualified.cc:34:6: note: Technically the member function 'foo::func' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.mi/mi-break-qualified.cc:30:8: note: Technically the member function 'foo::func' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.mi/mi-breakpoint-multiple-locations.cc:33:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-breakpoint-multiple-locations.cc:34:12: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.cc:24:3: style: Class 'my_exception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.mi/mi-complete.cc:23:8: performance:inconclusive: Technically the member function 'A::push_back' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.mi/mi-complete.cc:27:4: note: Technically the member function 'A::push_back' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.mi/mi-complete.cc:23:8: note: Technically the member function 'A::push_back' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.mi/mi-complete.cc:27:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-dprintf.c:60:13: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.cc:15:3: warning: Member variable 'C::z' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.mi/mi-linespec-err-cp.cc:32:19: error: Uninitialized variable: a [uninitvar] gdb-13.2/gdb/testsuite/gdb.mi/mi-pendshr.c:21:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-pending.c:38:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gdb-13.2/gdb/testsuite/gdb.mi/mi-pending.c:38:5: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.mi/mi-pending.c:41:1: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.mi/mi-pending.c:54:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-pending.c:61:9: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-stack.c:36:21: style: Parameter 'strarg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-stack.c:30:12: style: Variable 'D' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-stack.c:32:5: style: Variable 'C' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-syn-frame.c:30:4: error: Null pointer dereference: (volatile char*)0 [nullPointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:134:7: warning: The struct 'Derived' defines member variable with name 'i' also defined in its parent struct 'Base1'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:124:7: note: Parent variable 'Base1::i' gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:134:7: note: Derived variable 'Derived::i' gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:134:7: warning: The struct 'Derived' defines member variable with name 'i' also defined in its parent struct 'Base2'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:129:7: note: Parent variable 'Base2::i' gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:134:7: note: Derived variable 'Derived::i' gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:29:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:25:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:29:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:34:5: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:29:5: note: x is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:34:5: note: x is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:21:8: style: Variable 'rx' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:42:33: style: Parameter 's2' can be declared as reference to const [constParameterReference] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:104:6: style: Variable 'r' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:144:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:152:12: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:134:7: style: struct member 'Derived::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:21:11: style: Variable 'rx' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:78:26: style: Variable 'rptr_s' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:104:8: style: Variable 'r' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:144:11: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:152:15: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:191:12: style: Variable 'array[3]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:143:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:151:11: style: Unused variable: d [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:240:7: style: Variable 'a.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:241:7: style: Variable 'a.c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:242:7: style: Variable 'a.d' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:243:7: style: Variable 'a.e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-cp.cc:244:7: style: Variable 'a.f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-invalidate-shlib-lib.c:29:24: style: Variable 'local_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-invalidate-shlib.c:30:17: style: Variable 'local_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.c:32:17: style: Variable 'p_outer' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.c:42:11: style: Variable 'p_outer' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:88:3: style: Struct 'S' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:145:3: style: Struct 'S' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:247:3: style: Struct 'S' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:303:3: style: Struct 'S' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:281:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:269:6: note: ptr is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:281:6: note: ptr is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:282:8: style: Variable 's.ptr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:270:8: note: s.ptr is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:282:8: note: s.ptr is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:341:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:327:6: note: ptr is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:341:6: note: ptr is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:342:8: style: Variable 's.ptr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:328:8: note: s.ptr is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:342:8: note: s.ptr is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:62:8: style: Variable 'ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:201:8: style: Variable 'ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:33:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:35:14: style: Variable 'ptrConst' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:200:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:33:12: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:34:23: style: Variable 'constPtr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:35:23: style: Variable 'ptrConst' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:36:34: style: Variable 'constPtrConst' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:32:10: style: Unused variable: d [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:93:0: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:148:0: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:200:12: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:281:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:282:8: style: Variable 's.ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:341:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-rtti.cc:342:8: style: Variable 's.ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/ns-stale-regcache.c:27:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.mi/nsintrall.c:60:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.mi/nsintrall.c:38:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/nsintrall.c:32:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/nsmoribund.c:42:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.mi/nsmoribund.c:62:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:181:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:202:9: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:192:9: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:202:9: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:200:12: style: Variable 'foo2' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:195:12: note: foo2 is assigned gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:200:12: note: foo2 is overwritten gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:197:13: style: Local variable 'foo' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:191:9: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:197:13: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:112:8: style: Variable 'lpinteger' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:114:9: style: Variable 'lpcharacter' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:116:9: style: Variable 'lplong' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:118:10: style: Variable 'lpfloat' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:120:11: style: Variable 'lpdouble' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:122:26: style: Variable 'lpsimple' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:123:10: style: Variable 'func' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:164:24: style: Parameter 'b' can be declared as pointer to const. However it seems that 'nothing1' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:248:28: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:164:24: note: Parameter 'b' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:172:24: style: Parameter 'b' can be declared as pointer to const. However it seems that 'nothing2' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:249:25: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:172:24: note: Parameter 'b' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:212:29: style: Variable 'psnp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:353:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:168:10: error: Uninitialized variable: foo [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:43:7: style: union member 'named_union::integer' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:44:9: style: union member 'named_union::char_ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:49:9: style: struct member '_struct_decl::character' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:51:9: style: struct member '_struct_decl::long_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:63:5: style: struct member '_struct_decl::u1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:84:5: style: struct member '_struct_decl::s2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:59:11: style: union member 'Anonymous0::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:60:11: style: union member 'Anonymous0::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:61:11: style: union member 'Anonymous0::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:62:14: style: union member 'Anonymous0::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:79:7: style: struct member 'Anonymous1::u2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:81:9: style: struct member 'Anonymous1::g' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:82:10: style: struct member 'Anonymous1::h' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:83:10: style: struct member 'Anonymous1::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:72:9: style: union member 'Anonymous2::u1s1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:74:12: style: union member 'Anonymous2::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:78:9: style: union member 'Anonymous2::u1s2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:68:13: style: struct member 'Anonymous3::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:69:14: style: struct member 'Anonymous3::e' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:70:16: style: struct member 'Anonymous3::func' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:71:14: style: struct member 'Anonymous3::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:76:14: style: struct member 'Anonymous4::array_ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:77:15: style: struct member 'Anonymous4::func' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:310:9: style: union member 'Anonymous5::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:311:10: style: union member 'Anonymous5::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:312:10: style: union member 'Anonymous5::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:316:9: style: struct member 'Anonymous6::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:317:10: style: struct member 'Anonymous6::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:318:10: style: struct member 'Anonymous6::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:331:7: style: struct member 'very_simple_struct::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:332:7: style: struct member 'very_simple_struct::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:105:5: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:127:13: style: Variable 'lpinteger' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:129:15: style: Variable 'lpcharacter' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:131:10: style: Variable 'lplong' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:133:11: style: Variable 'lpfloat' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:135:12: style: Variable 'lpdouble' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:141:12: style: Variable 'lpsimple' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:142:8: style: Variable 'func' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:166:23: style: Variable 'foo' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:181:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:198:13: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:200:12: style: Variable 'foo2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:202:9: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:205:6: style: Variable 'cb' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:296:8: style: Variable 'psnp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:325:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:308:21: style: Unused variable: u [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:313:5: style: Unused variable: anonu [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:314:25: style: Unused variable: s [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:319:5: style: Unused variable: anons [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:320:12: style: Unused variable: e [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:321:20: style: Unused variable: anone [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:322:7: style: Unused variable: array [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/mi-var-child.c:339:31: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/pending.c:43:23: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.mi/pendshr1.c:22:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/pr11022.c:28:7: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/pthreads.c:29:16: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'routine' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.mi/pthreads.c:54:35: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.mi/pthreads.c:29:16: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.mi/pthreads.c:62:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.mi/until.c:14:4: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/until.c:7:4: note: y is assigned gdb-13.2/gdb/testsuite/gdb.mi/until.c:14:4: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.mi/until.c:18:4: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/until.c:16:4: note: y is assigned gdb-13.2/gdb/testsuite/gdb.mi/until.c:18:4: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.mi/until.c:17:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/until.c:18:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/until.c:24:9: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/until.c:26:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:203:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:228:6: style: Variable 'cb' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:211:6: note: cb is assigned gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:228:6: note: cb is overwritten gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:225:9: style: Variable 'foo' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:215:9: note: foo is assigned gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:225:9: note: foo is overwritten gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:223:12: style: Variable 'foo2' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:218:12: note: foo2 is assigned gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:223:12: note: foo2 is overwritten gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:395:6: style: Variable 'v2' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:390:6: note: v2 is assigned gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:395:6: note: v2 is overwritten gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:435:8: style: Variable 'v1.i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:402:8: note: v1.i is assigned gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:435:8: note: v1.i is overwritten gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:220:13: style: Local variable 'foo' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:214:9: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:220:13: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:344:7: style: Local variable 'array' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:126:5: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:344:7: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:493:12: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:481:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:493:12: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:501:11: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:481:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:501:11: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:134:8: style: Variable 'lpinteger' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:138:9: style: Variable 'lplong' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:140:10: style: Variable 'lpfloat' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:142:11: style: Variable 'lpdouble' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:144:26: style: Variable 'lpsimple' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:145:10: style: Variable 'func' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:186:24: style: Parameter 'b' can be declared as pointer to const. However it seems that 'nothing1' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:271:28: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:186:24: note: Parameter 'b' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:194:24: style: Parameter 'b' can be declared as pointer to const. However it seems that 'nothing2' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:272:25: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:194:24: note: Parameter 'b' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:235:29: style: Variable 'psnp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:642:14: style: Variable 'ss_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:652:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:190:10: error: Uninitialized variable: foo [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:44:9: style: union member 'named_union::char_ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:49:9: style: struct member '_struct_decl::character' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:51:9: style: struct member '_struct_decl::long_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:63:5: style: struct member '_struct_decl::u1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:84:5: style: struct member '_struct_decl::s2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:59:11: style: union member 'Anonymous0::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:60:11: style: union member 'Anonymous0::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:61:11: style: union member 'Anonymous0::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:62:14: style: union member 'Anonymous0::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:79:7: style: struct member 'Anonymous1::u2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:81:9: style: struct member 'Anonymous1::g' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:82:10: style: struct member 'Anonymous1::h' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:83:10: style: struct member 'Anonymous1::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:72:9: style: union member 'Anonymous2::u1s1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:74:12: style: union member 'Anonymous2::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:78:9: style: union member 'Anonymous2::u1s2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:68:13: style: struct member 'Anonymous3::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:69:14: style: struct member 'Anonymous3::e' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:70:16: style: struct member 'Anonymous3::func' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:71:14: style: struct member 'Anonymous3::foo' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:76:14: style: struct member 'Anonymous4::array_ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:77:15: style: struct member 'Anonymous4::func' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:333:10: style: union member 'Anonymous5::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:334:10: style: union member 'Anonymous5::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:339:10: style: struct member 'Anonymous6::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:340:10: style: struct member 'Anonymous6::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:525:7: style: struct member 'Data::alloc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:526:23: style: struct member 'Data::sharable' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:559:9: style: struct member 'Anonymous10::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:562:11: style: struct member 'Anonymous10::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:566:11: style: struct member 'Anonymous10::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:589:9: style: struct member 's_a::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:593:9: style: struct member 's_b::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:597:16: style: union member 'u_ab::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:598:16: style: union member 'u_ab::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:602:16: style: struct member 'ss::a1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:603:16: style: struct member 'ss::b1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:604:16: style: struct member 'ss::u1' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:609:18: style: struct member 'ss::a2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:610:18: style: struct member 'ss::b2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:617:7: style: struct member 'ss::u2' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:615:18: style: union member 'Anonymous11::a3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:616:18: style: union member 'Anonymous11::b3' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:622:9: style: struct member 'td_s_a::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:627:9: style: struct member 'td_s_b::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:632:12: style: union member 'td_u_ab::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:633:12: style: union member 'td_u_ab::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:639:13: style: struct member 'Anonymous12::ab' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:123:5: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:149:13: style: Variable 'lpinteger' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:151:15: style: Variable 'lpcharacter' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:153:10: style: Variable 'lplong' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:155:11: style: Variable 'lpfloat' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:157:12: style: Variable 'lpdouble' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:163:12: style: Variable 'lpsimple' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:164:8: style: Variable 'func' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:188:23: style: Variable 'foo' is not assigned a value. [unassignedVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:203:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:221:13: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:223:12: style: Variable 'foo2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:225:9: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:228:6: style: Variable 'cb' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:317:8: style: Variable 'psnp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:324:10: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:350:13: style: Variable 's.integer' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:351:11: style: Variable 'anons.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:352:5: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:353:9: style: Variable 'anone' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:344:7: style: Unused variable: array [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:395:6: style: Variable 'v2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:435:8: style: Variable 'v1.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:436:15: style: Variable 'v1.nested.j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:437:15: style: Variable 'v1.nested.k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:466:15: style: Variable 'buffer1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:467:15: style: Variable 'buffer2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:468:15: style: Variable 'buffer3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:470:15: style: Variable 'buffer4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:471:15: style: Variable 'buffer5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:472:15: style: Variable 'buffer6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:474:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:482:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:493:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:498:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:501:13: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:505:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:514:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:479:7: style: Unused variable: x [unusedVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:539:17: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:568:7: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:579:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/var-cmd.c:646:10: style: Variable 'ss_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.mi/vla.c:26:12: style: Variable 'vla[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.modula2/max-depth.c:41:14: style: Variable 's3.s2.s1.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.modula2/max-depth.c:42:14: style: Variable 's3.s2.s1.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.multi/attach-no-multi-process.c:31:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.modula2/unbounded1.c:38:9: style: Variable 'input' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.multi/crashme.c:11:11: error: Null pointer dereference: foo [nullPointer] gdb-13.2/gdb/testsuite/gdb.multi/crashme.c:7:14: note: Assignment 'foo=NULL', assigned value is 0 gdb-13.2/gdb/testsuite/gdb.multi/crashme.c:11:11: note: Null pointer dereference gdb-13.2/gdb/testsuite/gdb.multi/crashme.c:7:8: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.multi/hangout.c:41:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.multi/hello.c:62:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.multi/hangout.c:27:22: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.multi/multi-attach.c:25:20: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.multi/multi-attach.c:40:34: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.multi/multi-attach.c:25:20: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.multi/multi-re-run-1.c:52:7: style: Unused variable: len [unusedVariable] gdb-13.2/gdb/testsuite/gdb.multi/multi-re-run-2.c:52:7: style: Unused variable: len [unusedVariable] gdb-13.2/gdb/testsuite/gdb.multi/multi-term-settings.c:48:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.multi/multi-target.c:81:7: style: Unused variable: len [unusedVariable] gdb-13.2/gdb/testsuite/gdb.multi/tids.c:24:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function2' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.multi/tids.c:35:43: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.multi/tids.c:24:25: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.multi/watchpoint-multi.c:30:14: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'start' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.multi/watchpoint-multi.c:44:38: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.multi/watchpoint-multi.c:30:14: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.opt/clobbered-registers-O2-3.c:19:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.opt/clobbered-registers-O2-3.c:19:40: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.opt/inline-break.c:214:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.opt/inline-cmds.c:61:7: style: Unused variable: val [unusedVariable] gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:71:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:65:13: style: Condition 's>1' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:61:9: note: Assuming that condition 's>0' is not redundant gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:64:7: note: s is incremented', new value is 1 gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:65:13: note: Condition 's>1' is always true gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:60:12: style: Variable 'loc1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:63:16: style: Variable 'loc2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:67:13: style: Variable 'loc3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.opt/inline-locals.c:71:4: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.perf/backtrace.c:52:20: error: Uninitialized variable: ss [uninitvar] gdb-13.2/gdb/testsuite/gdb.perf/backtrace.c:20:7: style: struct member 's::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.perf/backtrace.c:21:8: style: struct member 's::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.perf/backtrace.c:34:12: style: Unused variable: s1 [unusedVariable] gdb-13.2/gdb/testsuite/gdb.perf/single-step.c:32:9: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.perf/skip-prologue.c:45:18: error: Uninitialized variable: f [uninitvar] gdb-13.2/gdb/testsuite/gdb.perf/skip-prologue.c:34:10: style: Variable 'f.a[0]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.perf/template-breakpoints.cc:35:3: performance:inconclusive: Technically the member function 'ThirdDimension::value' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.perf/template-breakpoints.cc:61:3: performance:inconclusive: Technically the member function 'SecondDimension::value' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.perf/template-breakpoints.cc:84:3: performance:inconclusive: Technically the member function 'FirstDimension::value' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.perf/template-breakpoints.cc:72:3: performance:inconclusive: Technically the member function 'FirstDimension < EXPANSION_DEPTH , EXPANSION_DEPTH , EXPANSION_DEPTH , 1 >::value' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.perf/template-breakpoints.cc:49:3: performance:inconclusive: Technically the member function 'SecondDimension < EXPANSION_DEPTH , EXPANSION_DEPTH , EXPANSION_DEPTH , 1 >::value' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.perf/template-breakpoints.cc:24:3: performance:inconclusive: Technically the member function 'ThirdDimension < EXPANSION_DEPTH , EXPANSION_DEPTH , EXPANSION_DEPTH , 1 >::value' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/lib-types.cc:21:3: style: Class 'class1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.python/py-auto-load-chaining.c:38:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gdb-13.2/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h:25:7: style:inconclusive: Technically the member function 'MyClassTestLib::getId' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc:25:21: note: Technically the member function 'MyClassTestLib::getId' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h:25:7: note: Technically the member function 'MyClassTestLib::getId' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-auto-load-chaining.c:39:1: error: Memory leak: addr [memleak] gdb-13.2/gdb/testsuite/gdb.python/py-auto-load-chaining.c:33:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc:25:23: style: Variable 'test' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:22:12: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:20:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-block.c:22:12: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-block.c:25:19: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:22:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-block.c:25:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-block.c:26:19: style: Local variable 'f' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:23:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-block.c:26:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-block.c:34:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:20:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:22:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:23:14: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:25:21: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:26:21: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-block.c:27:21: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-bp-locations.c:30:15: style: Variable 'sum_a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-bp-locations.c:31:13: style: Variable 'sum_b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-breakpoint.c:24:1: error: Code 'namespacefoo_ns{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/testsuite/gdb.python/py-cmd.c:20:7: style: struct member 'foo::ij' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-cmd.c:21:7: style: struct member 'foo::bc' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-cmd.c:27:14: style: Unused variable: bar [unusedVariable] gdb-13.2/gdb/testsuite/gdb.python/py-evthreads.c:26:22: style: Parameter 'd' can be declared as pointer to const. However it seems that 'thread3' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.python/py-evthreads.c:39:38: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.python/py-evthreads.c:26:22: note: Parameter 'd' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:25:12: style: The destructor '~B' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:20:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:25:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:25:12: style: The destructor '~B' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:20:12: note: Virtual destructor in base class gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:25:12: note: Destructor in derived class gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:37:8: style: Variable 'int_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:37:16: style: Variable 'int_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:39:24: style: Variable 'int_ptr_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:42:7: style: Variable 'b.i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:43:7: style: Variable 'b.c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:36:7: style: Variable 'val' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.cc:38:11: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:53:24: style: Variable 'ss_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:58:25: style: Variable 'cs_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:62:11: style: Variable 'darray_ref' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:28:7: style: union member 'SimpleUnion::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:29:8: style: union member 'SimpleUnion::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:30:9: style: union member 'SimpleUnion::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:45:6: style: union member 'ComplexUnion::s' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:53:31: style: Variable 'ss_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:58:32: style: Variable 'cs_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:62:22: style: Variable 'darray_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-explore.c:66:8: style: Variable 'ss_t' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-finish-breakpoint.c:91:7: error: Uninitialized variable: j [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.python/py-finish-breakpoint.c:74:11: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-finish-breakpoint.c:75:11: style: Variable 'bar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame-inline.c:34:16: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:15:12: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:13:7: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:15:12: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:18:19: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:15:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:18:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:19:19: style: Local variable 'f' shadows outer variable [shadowVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:16:12: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:19:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:26:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:13:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:15:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:16:14: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:18:21: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:19:21: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-frame.c:20:21: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:87:12: style: Variable 'a_point_t_pointer' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:120:8: style: Variable 'a_symbol_pointer' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:22:7: style: struct member 'point::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:23:7: style: struct member 'point::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:28:11: style: struct member 'struct_point_t::the_point' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:33:7: style: union member 'union_t::an_int' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:34:8: style: union member 'union_t::a_char' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:87:30: style: Variable 'a_point_t_pointer' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:91:30: style: Variable 'another_point' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:92:38: style: Variable 'a_struct_with_point' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:99:18: style: Variable 'an_enum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:101:24: style: Variable 'a_string' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:102:31: style: Variable 'a_binary_string' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:103:38: style: Variable 'a_binary_string_array' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:110:38: style: Variable 'a_big_string[i*26+c-'A']' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:112:18: style: Variable 'an_array' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:114:34: style: Variable 'an_array_with_repetition' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-format-string.c:120:25: style: Variable 'a_symbol_pointer' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:39:17: style: Local variable 'foo' shadows outer argument [shadowArgument] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:30:20: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:39:17: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:43:19: style: Local variable 'bar' shadows outer argument [shadowArgument] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:30:31: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:43:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:30:31: style: Parameter 'bar' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:30:44: style: Parameter 'fb' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:128:9: style: Variable 'random' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:87:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:88:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:115:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:116:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:32:19: style: Variable 'str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:33:19: style: Variable 'st2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:34:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:35:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:37:11: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:38:11: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:39:21: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:41:13: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:42:13: style: Variable 'g' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:43:23: style: Variable 'bar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:46:4: style: Variable 'h' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:64:9: style: Variable 'bar.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:65:9: style: Variable 'bar.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter-mi.c:128:16: style: Variable 'random' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:40:17: style: Local variable 'foo' shadows outer argument [shadowArgument] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:30:20: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:40:17: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:44:19: style: Local variable 'bar' shadows outer argument [shadowArgument] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:30:31: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:44:19: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:30:31: style: Parameter 'bar' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:30:44: style: Parameter 'fb' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:142:9: style: Variable 'random' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:32:19: style: Variable 'str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:33:19: style: Variable 'st2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:34:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:35:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:38:11: style: Variable 'd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:39:11: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:40:21: style: Variable 'foo' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:42:13: style: Variable 'f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:43:13: style: Variable 'g' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:44:23: style: Variable 'bar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:47:4: style: Variable 'h' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:65:9: style: Variable 'bar.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:66:9: style: Variable 'bar.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:107:22: style: Variable 'elided' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:111:14: style: Variable 'fb.nothing' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:112:8: style: Variable 'fb.f' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:113:8: style: Variable 'fb.s' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:106:7: style: Unused variable: c [unusedVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:142:16: style: Variable 'random' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:152:9: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:153:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-framefilter.c:154:20: style: Variable 'foo1' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-infthread.c:11:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-inferior.c:26:8: style: Variable 'str' can be declared as const array [constVariable] gdb-13.2/gdb/testsuite/gdb.python/py-inferior.c:86:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:27:1: portability: Omitted return type of function 'bar' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/gdb/testsuite/gdb.python/py-lazy-string.c:23:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-lazy-string.c:24:22: style: Variable 'array' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-lazy-string.c:25:23: style: Variable 'typedef_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-lazy-string.c:26:20: style: Variable 'null' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:39:11: style: Condition 'foo(5,5)' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:39:11: note: Calling function 'foo' returns 1 gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:39:11: note: Condition 'foo(5,5)' is always true gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:39:24: style: Condition 'bar(5,0)' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:39:24: note: Calling function 'bar' returns 1 gdb-13.2/gdb/testsuite/gdb.python/py-linetable.c:39:24: note: Condition 'bar(5,0)' is always true gdb-13.2/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.c:46:11: style: Variable 'c1.type' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.c:48:15: style: Variable 'c1.slots[1]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-objfile.c:24:16: style: Variable 'some_var' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-pp-integral.c:21:20: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-pp-re-notag.c:21:20: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:50:7: style: struct member 'hint_error::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:54:7: style: struct member 'children_as_list::x' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:117:7: style: struct member 'to_string_returns_value_inner::val' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:122:40: style: struct member 'to_string_returns_value_wrapper::inner' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:238:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:258:54: style: Variable 'eval2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:258:69: style: Variable 'eval3' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:259:11: style: Variable 'eval4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:259:26: style: Variable 'eval5' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:259:41: style: Variable 'eval6' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:260:11: style: Variable 'eval7' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:260:26: style: Variable 'eval8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:260:41: style: Variable 'eval9' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:262:10: style: Variable 'eval1.x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:291:12: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:293:15: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:294:36: style: Variable 'cstring' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:303:48: style: Variable 'tsrvw' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:308:8: style: Variable 'me.s' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:315:17: style: Variable 'arraystruct.y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:319:15: style: Variable 'ns.null_str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:320:13: style: Variable 'ns.length' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:324:14: style: Variable 'ns2.length' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:326:20: style: Variable 'estring.lazy_str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:327:15: style: Variable 'estring.len' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:330:21: style: Variable 'estring2.lazy_str' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:331:16: style: Variable 'estring2.len' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:334:16: style: Variable 'estring3.len' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:380:11: style: Variable 'nstype2' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:301:21: style: Unused variable: hint_error [unusedVariable] gdb-13.2/gdb/testsuite/gdb.python/py-prettyprint.c:302:27: style: Unused variable: children_as_list [unusedVariable] gdb-13.2/gdb/testsuite/gdb.python/py-section-script.c:36:0: error: #error "SCRIPT_FILE not defined" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:25:7: style:inconclusive: Technically the member function 'A::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:32:4: note: Technically the member function 'A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:25:7: note: Technically the member function 'A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:40:8: warning: The class 'B' defines member variable with name 'a' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:28:7: note: Parent variable 'A::a' gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:40:8: note: Derived variable 'B::a' gdb-13.2/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc:56:14: style: Variable 'b_rref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-shared.c:23:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-source-styling.c:21:21: style: Variable 'some_variable' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-source-styling.c:26:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:60:27: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:57:7: style: struct member 'simple_struct::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:51:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:65:9: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:67:27: style: Variable 'ss' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:69:14: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-symbol.c:71:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:26:23: style: struct member 'SS::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:27:15: style: struct member 'SS::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:27:23: style: struct member 'SS::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:37:7: style: union member 'UU::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:38:9: style: union member 'UU::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:39:7: style: union member 'UU::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:106:13: style: Variable 'ar' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:124:8: style: Variable 'st.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:125:8: style: Variable 'st.b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:127:5: style: Variable 'e' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-type.c:109:12: style: Unused variable: uu [unusedVariable] gdb-13.2/gdb/testsuite/gdb.python/py-unwind.c:33:39: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:20:7: style:inconclusive: Technically the member function 'A::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:27:4: note: Technically the member function 'A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:20:7: note: Technically the member function 'A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:39:8: warning: The class 'B' defines member variable with name 'a' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:23:7: note: Parent variable 'A::a' gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:39:8: note: Derived variable 'B::a' gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:62:8: style: Variable 'int_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:76:6: style: Variable 'b_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:77:8: style: Variable 'b_td' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:89:6: style: Variable 'x_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:90:8: style: Variable 'xtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:34:8: style: union member 'U::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:44:23: style: struct member 'X::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:45:23: style: struct member 'X::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:50:23: style: union member 'UU::y' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:51:15: style: union member 'UU::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:51:23: style: union member 'UU::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:62:16: style: Variable 'int_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:64:24: style: Variable 'int_ptr_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:69:7: style: Variable 'b.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:76:12: style: Variable 'b_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:77:13: style: Variable 'b_td' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:89:12: style: Variable 'x_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:90:12: style: Variable 'xtd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:61:7: style: Variable 'val' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value-cc.cc:63:11: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:125:3: error: Memory leak: xstr [memleak] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:85:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:95:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:97:8: style: Variable 'ptr_i' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:31:9: style: union member 'u::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:88:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:89:15: style: Variable 'st' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:90:19: style: Variable 'nullst' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:93:21: style: Variable 'embed' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:95:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:97:14: style: Variable 'ptr_i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:106:8: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-value.c:96:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/python.c:23:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:27:7: style:inconclusive: Technically the member function 'dop::A::operator+' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:37:4: note: Technically the member function 'dop::A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:27:7: note: Technically the member function 'dop::A::operator+' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:28:7: style:inconclusive: Technically the member function 'dop::A::operator-' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:46:4: note: Technically the member function 'dop::A::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:28:7: note: Technically the member function 'dop::A::operator-' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:95:7: performance:inconclusive: Technically the member function 'G < int >::size_diff' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:112:7: note: Technically the member function 'G < int >::size_diff' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:95:7: note: Technically the member function 'G < int >::size_diff' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:98:7: performance:inconclusive: Technically the member function 'G < int >::size_mul' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:123:7: note: Technically the member function 'G < int >::size_mul' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:98:7: note: Technically the member function 'G < int >::size_mul' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:101:5: style:inconclusive: Technically the member function 'G < int >::mul' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:134:7: note: Technically the member function 'G < int >::mul' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:101:5: note: Technically the member function 'G < int >::mul' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:95:7: performance:inconclusive: Technically the member function 'G < 2 >::size_diff' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:112:7: note: Technically the member function 'G < 2 >::size_diff' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:95:7: note: Technically the member function 'G < 2 >::size_diff' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:98:7: performance:inconclusive: Technically the member function 'G < 2 >::size_mul' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:123:7: note: Technically the member function 'G < 2 >::size_mul' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:98:7: note: Technically the member function 'G < 2 >::size_mul' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:95:7: performance:inconclusive: Technically the member function 'G < float >::size_diff' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:112:7: note: Technically the member function 'G < float >::size_diff' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:95:7: note: Technically the member function 'G < float >::size_diff' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:98:7: performance:inconclusive: Technically the member function 'G < float >::size_mul' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:123:7: note: Technically the member function 'G < float >::size_mul' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:98:7: note: Technically the member function 'G < float >::size_mul' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:101:5: style:inconclusive: Technically the member function 'G < float >::mul' can be const. [functionConst] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:134:7: note: Technically the member function 'G < float >::mul' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:101:5: note: Technically the member function 'G < float >::mul' can be const. gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:87:7: warning: The class 'E' defines member variable with name 'a' also defined in its parent class 'A'. [duplInheritedMember] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:24:7: note: Parent variable 'A::a' gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:87:7: note: Derived variable 'E::a' gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:64:15: style: The function 'geta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:29:15: note: Virtual function in base class gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:64:15: note: Function in derived class gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:165:6: style: Variable 'e_ref' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:152:6: style: Variable 'a_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:160:14: style: Variable 'g_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:166:6: style: Variable 'e_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:126:14: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:115:24: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:147:8: style: Variable 'a1.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:148:8: style: Variable 'a2.a' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:152:12: style: Variable 'a_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:162:9: style: Variable 'g_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:165:12: style: Variable 'e_ref' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:166:12: style: Variable 'e_ptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:170:12: style: Variable 'diff' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:171:12: style: Variable 'smul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:172:11: style: Variable 'mul' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:176:19: style: Variable 'a1.array[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.python/py-xmethods.cc:176:33: style: Variable 'a2.array[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse-bkpt.c:34:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.reverse/fstatat-reverse.c:42:3: error: Resource leak: fd [resourceLeak] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:99:23: style: Variable 'char_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:100:23: style: Variable 'short_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:101:23: style: Variable 'int_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:102:23: style: Variable 'long_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:103:23: style: Variable 'long_long_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:122:23: style: Variable 'float_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/finish-reverse.c:124:23: style: Variable 'double_resultval' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/getrandom.c:38:20: style: Variable 'r' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/pipe-reverse.c:37:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] gdb-13.2/gdb/testsuite/gdb.reverse/readv-reverse.c:45:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] gdb-13.2/gdb/testsuite/gdb.reverse/solib-reverse.c:27:9: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.reverse/solib-reverse.c:27:14: style: Variable 'cptr' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/solib-reverse.c:40:20: style: Variable 'b[1]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.c:37:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.c:36:10: note: result is assigned gdb-13.2/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.c:37:10: note: result is overwritten gdb-13.2/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.c:36:37: error: Uninitialized variable: &term [uninitvar] gdb-13.2/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.c:37:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/step-reverse.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gdb-13.2/gdb/testsuite/gdb.reverse/step-reverse.c:78:12: error: Uninitialized variable: a[3] [legacyUninitvar] gdb-13.2/gdb/testsuite/gdb.reverse/step-reverse.c:64:6: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/step-reverse.c:78:9: style: Variable 'a[5]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/step-reverse.c:84:6: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/step-reverse.c:56:15: style: Unused variable: b [unusedVariable] gdb-13.2/gdb/testsuite/gdb.reverse/ur1.c:31:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.reverse/ur1.c:31:30: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.reverse/until-reverse.c:52:18: style: Condition 'argc==12345' is always false [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.reverse/until-reverse.c:40:17: style: Variable 'p' is allocated memory that is never used. [unusedAllocatedMemory] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:110:5: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:109:5: note: y is assigned gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:110:5: note: y is overwritten gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:148:9: style: Variable 'ival1' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:145:11: note: ival1 is assigned gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:148:9: note: ival1 is overwritten gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:150:9: style: Variable 'ival3' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:146:11: note: ival3 is assigned gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:150:9: note: ival3 is overwritten gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:150:24: style: Variable 'ival4' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:146:26: note: ival4 is assigned gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:150:24: note: ival4 is overwritten gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:87:11: style: Variable 'local_x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:108:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.reverse/watch-reverse.c:110:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.server/exit-multiple-threads.c:150:0: error: #error "Compile with DO_EXIT_TEST or DO_SIGNAL_TEST defined" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.server/normal.c:21:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.server/stop-reply-no-thread-multi.c:44:15: style: Parameter 'data' can be declared as pointer to const. However it seems that 'worker' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.server/stop-reply-no-thread-multi.c:65:35: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.server/stop-reply-no-thread-multi.c:44:15: note: Parameter 'data' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.stabs/gdb11479.c:34:20: style: Variable 'e' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.stabs/gdb11479.c:36:19: error: Uninitialized variable: e [uninitvar] gdb-13.2/gdb/testsuite/gdb.stabs/gdb11479.c:45:19: error: Uninitialized variable: e [uninitvar] gdb-13.2/gdb/testsuite/gdb.stabs/gdb11479.c:35:6: style: Variable 'tt' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.stabs/gdb11479.c:44:6: style: Variable 'tt' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/async.c:35:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/async.c:58:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:46:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:27:34: style: Parameter 'info' can be declared as pointer to const. However it seems that 'action' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:37:22: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:27:34: note: Parameter 'info' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:27:46: style: Parameter 'uc' can be declared as pointer to const. However it seems that 'action' is a callback function, if 'uc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:37:22: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/attach-into-signal.c:27:46: note: Parameter 'uc' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/attach-non-stop.c:29:20: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/attach-non-stop.c:50:42: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/attach-non-stop.c:29:20: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/attach-slow-waitpid.c:60:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/gdb.threads/attach-slow-waitpid.c:73:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c:40:32: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c:128:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.threads/attach-stopped.c:27:26: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.threads/bp_in_thread.c:47:24: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'forever_pthread' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/bp_in_thread.c:64:35: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/bp_in_thread.c:47:24: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/break-while-running.c:43:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/break-while-running.c:64:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/clone-attach-detach.c:32:17: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'clone_fn' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/clone-attach-detach.c:56:22: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/clone-attach-detach.c:32:17: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/clone-attach-detach.c:44:7: style: Unused variable: res [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/clone-new-thread-event.c:88:3: error: Memory leak: stack [memleak] gdb-13.2/gdb/testsuite/gdb.threads/clone-new-thread-event.c:53:11: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'fn' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/clone-new-thread-event.c:68:20: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/clone-new-thread-event.c:53:11: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/clone-thread_db.c:61:3: error: Memory leak: stack [memleak] gdb-13.2/gdb/testsuite/gdb.threads/clone-thread_db.c:35:17: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'clone_fn' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/clone-thread_db.c:52:22: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/clone-thread_db.c:35:17: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/create-fail.c:46:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gdb-13.2/gdb/testsuite/gdb.threads/create-fail.c:107:8: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/create-fail.c:59:17: style: Parameter '_arg' can be declared as pointer to const. However it seems that 'mythread' is a callback function, if '_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/create-fail.c:84:48: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/create-fail.c:59:17: note: Parameter '_arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/current-lwp-dead.c:81:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/current-lwp-dead.c:118:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/current-lwp-dead.c:71:3: error: Memory leak: stack [memleak] gdb-13.2/gdb/testsuite/gdb.threads/current-lwp-dead.c:75:18: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'fn_return' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/current-lwp-dead.c:90:13: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/current-lwp-dead.c:75:18: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/detach-step-over.c:40:20: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/detach-step-over.c:92:42: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/detach-step-over.c:40:20: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/dlopen-libpthread.c:45:3: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.threads/execl1.c:23:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.threads/execl.c:30:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/execl.c:45:35: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/execl.c:30:24: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/execl.c:38:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.threads/fork-thread-pending.c:37:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/fork-thread-pending.c:52:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/fork-plus-threads.c:33:20: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/fork-plus-threads.c:48:48: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/fork-plus-threads.c:33:20: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/fork-plus-threads.c:79:14: style: Variable 'childs[i]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.c:107:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/gcore-stale-thread.c:46:3: style: Statements following noreturn function 'pthread_exit()' will never be executed. [unreachableCode] gdb-13.2/gdb/testsuite/gdb.threads/hand-call-in-threads.c:69:24: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'forever_pthread' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/hand-call-in-threads.c:120:40: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/hand-call-in-threads.c:69:24: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/hand-call-new-thread.c:26:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/info-threads-cur-sal-2.c:19:14: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.threads/hand-call-new-thread.c:31:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/hand-call-new-thread.c:43:40: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/hand-call-new-thread.c:31:24: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:68:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/interrupted-hand-call.c:97:10: style: Condition '!sigabrt_received' is always true [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/gdb.threads/interrupted-hand-call.c:95:22: note: Assignment 'sigabrt_received=0', assigned value is 0 gdb-13.2/gdb/testsuite/gdb.threads/interrupted-hand-call.c:97:10: note: Condition '!sigabrt_received' is always true gdb-13.2/gdb/testsuite/gdb.threads/interrupted-hand-call.c:75:21: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'thread_entry' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/interrupted-hand-call.c:142:40: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/interrupted-hand-call.c:75:21: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/killed.c:28:19: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'child_func' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/killed.c:40:30: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/killed.c:28:19: note: Parameter 'dummy' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/linux-dp.c:103:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/local-watch-wrong-thread.c:36:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/local-watch-wrong-thread.c:60:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/local-watch-wrong-thread.c:81:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.threads/local-watch-wrong-thread.c:75:7: note: res is assigned gdb-13.2/gdb/testsuite/gdb.threads/local-watch-wrong-thread.c:81:7: note: res is overwritten gdb-13.2/gdb/testsuite/gdb.threads/local-watch-wrong-thread.c:81:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/manythreads.c:31:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/multiple-step-overs.c:88:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/multiple-step-overs.c:103:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.threads/multiple-step-overs.c:96:7: note: res is assigned gdb-13.2/gdb/testsuite/gdb.threads/multiple-step-overs.c:103:7: note: res is overwritten gdb-13.2/gdb/testsuite/gdb.threads/multiple-step-overs.c:103:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/next-bp-other-thread.c:30:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-bp-other-thread.c:42:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/next-fork-other-thread.c:56:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-fork-other-thread.c:65:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:45:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:70:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:106:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:107:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:108:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:109:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:110:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:111:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:112:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:113:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:114:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:115:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.c:116:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/no-unwaited-for-left.c:24:17: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_a' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/no-unwaited-for-left.c:51:38: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/no-unwaited-for-left.c:24:17: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/no-unwaited-for-left.c:26:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/non-ldr-exit.c:38:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/non-ldr-exc-3.c:58:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/non-ldr-exc-4.c:54:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/non-ldr-exc-4.c:32:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/non-stop-fair-events.c:55:23: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'child_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/non-stop-fair-events.c:83:53: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/non-stop-fair-events.c:55:23: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/non-stop-fair-events.c:57:18: style: Variable 'self' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/non-stop-fair-events.c:83:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/omp-par-scope.c:164:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/omp-par-scope.c:164:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach.c:56:0: error: #error "MAIN_THREAD_FORKS or OTHER_THREAD_FORKS must be defined" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.c:34:38: style: Parameter 'siginfo' can be declared as pointer to const. However it seems that 'sigusr1_handler' is a callback function, if 'siginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.c:92:21: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.c:34:38: note: Parameter 'siginfo' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.c:34:53: style: Parameter 'context' can be declared as pointer to const. However it seems that 'sigusr1_handler' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.c:92:21: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.c:34:53: note: Parameter 'context' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/pending-step.c:37:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pending-step.c:31:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/print-threads.c:22:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/print-threads.c:26:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/print-threads.c:38:9: style: Unused variable: rand_num [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.c:40:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.c:69:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/pthread_cond_wait.c:48:24: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'forever_pthread' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/pthread_cond_wait.c:64:35: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/pthread_cond_wait.c:48:24: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/reconnect-signal.c:38:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/reconnect-signal.c:31:15: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'start2' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/reconnect-signal.c:47:34: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/reconnect-signal.c:31:15: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:67:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:76:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:103:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:63:32: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'sigusr1_thread_function' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:130:42: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:63:32: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:72:32: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'sigusr2_thread_function' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:131:42: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/queue-signal.c:72:32: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:58:16: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread1' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:130:37: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:58:16: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:75:17: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread2' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:138:36: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:75:17: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:61:9: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:67:9: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:78:9: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:84:9: style: Variable 'k' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:96:7: style: Unused variable: d [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:96:10: style: Unused variable: e [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:96:13: style: Unused variable: f [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:108:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:152:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/pthreads.c:109:10: style: Unused variable: xxx [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/schedlock-thread-exit.c:22:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/schedlock-thread-exit.c:35:52: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/schedlock-thread-exit.c:22:20: note: Parameter 'p' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/schedlock.c:56:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/schedlock.c:38:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/schedlock.c:32:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/signal-command-handle-nopass.c:35:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/signal-command-handle-nopass.c:30:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/signal-command-handle-nopass.c:45:40: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/signal-command-handle-nopass.c:30:24: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/signal-command-handle-nopass.c:42:7: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.c:51:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/signal-delivered-right-thread.c:37:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/signal-sigtrap.c:29:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/signal-sigtrap.c:41:40: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/signal-sigtrap.c:29:24: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c:32:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c:92:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c:107:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c:100:7: note: res is assigned gdb-13.2/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c:107:7: note: res is overwritten gdb-13.2/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c:107:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/siginfo-threads.c:90:32: style: Parameter 'siginfo' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'siginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/siginfo-threads.c:351:22: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/siginfo-threads.c:90:32: note: Parameter 'siginfo' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/slow-waitpid.c:284:13: style: Local variable 'pid' shadows outer argument [shadowArgument] gdb-13.2/gdb/testsuite/gdb.threads/slow-waitpid.c:212:16: note: Shadowed declaration gdb-13.2/gdb/testsuite/gdb.threads/slow-waitpid.c:284:13: note: Shadow variable gdb-13.2/gdb/testsuite/gdb.threads/step-N-all-progress.c:35:7: style: Unused variable: ret [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/step-bg-decr-pc-switch-thread.c:32:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/step-bg-decr-pc-switch-thread.c:48:10: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/step-bg-decr-pc-switch-thread.c:32:24: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/step-over-lands-on-breakpoint.c:38:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.c:40:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/step-over-lands-on-breakpoint.c:54:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/step-over-lands-on-breakpoint.c:48:8: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.c:56:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.c:50:8: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/stepi-random-signal.c:25:14: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'start' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/stepi-random-signal.c:42:34: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/stepi-random-signal.c:25:14: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/stop-with-handle.c:27:22: style: Parameter 'payload' can be declared as pointer to const. However it seems that 'thread_worker' is a callback function, if 'payload' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/stop-with-handle.c:41:42: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/stop-with-handle.c:27:22: note: Parameter 'payload' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/switch-threads.c:26:26: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/switch-threads.c:40:31: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/switch-threads.c:26:26: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/thread-specific-bp.c:21:14: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'start' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/thread-specific-bp.c:36:34: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/thread-specific-bp.c:21:14: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/thread-specific.c:40:9: error: Array 'args[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds] gdb-13.2/gdb/testsuite/gdb.threads/thread-specific.c:34:9: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/thread-specific.c:30:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/thread_events.c:25:19: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'threadfunc' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/thread_events.c:41:38: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/thread_events.c:25:19: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/thread_check.c:32:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/threadapply.c:44:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/threadapply.c:36:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/tid-reuse.c:47:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/tid-reuse.c:45:31: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'do_nothing_thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/tid-reuse.c:72:42: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/tid-reuse.c:45:31: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/tls-main.c:7:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/tls-so_extern_main.c:24:16: style: Parameter 'p' can be declared as pointer to const. However it seems that 'tls_ptr' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/tls-so_extern_main.c:40:39: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/tls-so_extern_main.c:24:16: note: Parameter 'p' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/tls.c:22:1: error: Code 'classK{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/testsuite/gdb.threads/tls2.c:24:18: style: Redundant assignment of 'a_thread_local' to itself. [selfAssignment] gdb-13.2/gdb/testsuite/gdb.threads/vfork-follow-child-exec.c:29:13: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.threads/vfork-follow-child-exit.c:25:13: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.threads/vfork-follow-child-exit.c:23:10: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'f' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/vfork-follow-child-exit.c:49:31: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/vfork-follow-child-exit.c:23:10: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/vfork-multi-inferior.c:34:17: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.threads/vfork-multi-thread.c:30:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/vfork-multi-thread.c:32:15: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/gdb/testsuite/gdb.threads/vfork-multi-thread.c:81:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/watchpoint-fork-parent.c:35:15: style: Unused variable: i [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads.c:48:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads.c:74:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads.c:53:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads.c:36:11: style: Unused variable: thread_result [unusedVariable] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads2.c:101:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads2.c:110:12: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads2.c:93:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread_function' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdb/testsuite/gdb.threads/watchthreads2.c:57:8: note: You might need to cast the function pointer here gdb-13.2/gdb/testsuite/gdb.threads/watchthreads2.c:93:24: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/gdb/testsuite/gdb.threads/wp-replication.c:115:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.threads/wp-replication.c:140:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/gdb.trace/trace-common.h:64:0: error: #error "unsupported architecture for trace tests" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:233:3: error: Memory leak: longloc [memleak] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:196:17: style: Variable 'locst.memberc' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:179:17: note: locst.memberc is assigned gdb-13.2/gdb/testsuite/gdb.trace/collection.c:196:17: note: locst.memberc is overwritten gdb-13.2/gdb/testsuite/gdb.trace/collection.c:198:17: style: Variable 'locst.memberf' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:181:17: note: locst.memberf is assigned gdb-13.2/gdb/testsuite/gdb.trace/collection.c:198:17: note: locst.memberf is overwritten gdb-13.2/gdb/testsuite/gdb.trace/collection.c:199:17: style: Variable 'locst.memberd' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:182:17: note: locst.memberd is assigned gdb-13.2/gdb/testsuite/gdb.trace/collection.c:199:17: note: locst.memberd is overwritten gdb-13.2/gdb/testsuite/gdb.trace/collection.c:320:10: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:293:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.trace/collection.c:320:10: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.trace/collection.c:88:10: style: Parameter 'argarray' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:107:10: style: Parameter 'argarray' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:224:9: style: Variable 'locstr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:125:18: style: Variable 'locst.memberc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:127:18: style: Variable 'locst.memberf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:128:18: style: Variable 'locst.memberd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:123:25: style: Unused variable: locdefst [unusedVariable] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:150:18: style: Variable 'locst.memberc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:152:18: style: Variable 'locst.memberf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/collection.c:153:18: style: Variable 'locst.memberd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/pending.c:42:23: error: Resource leak: h [resourceLeak] gdb-13.2/gdb/testsuite/gdb.trace/stap-trace.c:38:0: error: #error "not using SystemTap v3 probes" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/gdb.trace/strace.c:30:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/tfile.c:48:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdb/testsuite/gdb.trace/trace-unavailable.c:22:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/trace-unavailable.c:25:12: style: Variable 'array[1]' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:83:7: style: Variable 'ans' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:79:7: note: ans is assigned gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:83:7: note: ans is overwritten gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:20:17: style: struct member 's::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:21:17: style: struct member 's::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:22:17: style: struct member 's::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:28:17: style: struct member 't::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:30:17: style: struct member 't::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:31:17: style: struct member 't::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:32:17: style: struct member 't::d' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:33:17: style: struct member 't::e' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:34:17: style: struct member 't::f' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:35:17: style: struct member 't::g' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:36:17: style: struct member 't::h' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:37:17: style: struct member 't::i' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c:39:17: style: struct member 't::j' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/lib/compiler.c:39:65: error: syntax error: -] [syntaxError] gdb-13.2/gdb/testsuite/lib/compiler.cc:30:65: error: syntax error: -] [syntaxError] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:118:3: warning: Member variable 'StructRef::d' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:118:3: style: Struct 'StructRef' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:296:17: style: Variable 'locst.memberc' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:279:17: note: locst.memberc is assigned gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:296:17: note: locst.memberc is overwritten gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:298:17: style: Variable 'locst.memberf' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:281:17: note: locst.memberf is assigned gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:298:17: note: locst.memberf is overwritten gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:299:17: style: Variable 'locst.memberd' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:282:17: note: locst.memberd is assigned gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:299:17: note: locst.memberd is overwritten gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:381:10: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:367:5: note: i is assigned gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:381:10: note: i is overwritten gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:193:15: performance: Function parameter 'argstruct' should be passed by const reference. [passedByValue] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:194:7: style: Parameter 'argarray' can be declared as const array [constParameter] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:96:7: style: struct member 'StructA::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:96:10: style: struct member 'StructA::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:97:7: style: struct member 'StructA::array' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:98:9: style: struct member 'StructA::ptr' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:99:7: style: struct member 'StructA::bitfield' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:219:18: style: Variable 'locst.memberc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:221:18: style: Variable 'locst.memberf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:222:18: style: Variable 'locst.memberd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:217:25: style: Unused variable: locdefst [unusedVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:247:18: style: Variable 'locst.memberc' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:249:18: style: Variable 'locst.memberf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.trace/unavailable.cc:250:18: style: Variable 'locst.memberd' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/lib/opencl_hostapp.c:32:0: error: #error "Please specify the OpenCL source file using the CL_SOURCE define" [preprocessorErrorDirective] gdb-13.2/gdb/testsuite/lib/set_unbuffered_mode.c:27:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gdb-13.2/gdb/testsuite/lib/read1.c:105:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/lib/read1.c:160:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gdb-13.2/gdb/testsuite/lib/read1.c:88:11: style: Condition 'readmore' is always false [knownConditionTrueFalse] gdb-13.2/gdb/testsuite/lib/read1.c:76:14: note: Assignment 'readmore=0', assigned value is 0 gdb-13.2/gdb/testsuite/lib/read1.c:88:11: note: Condition 'readmore' is always false gdb-13.2/gdb/testsuite/lib/read1.c:122:6: portability: %zd in format string (no. 3) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/read1.c:41:9: style: Variable 'env' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdb/testsuite/lib/cl_util.c:162:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:211:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:256:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:260:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:260:4: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:260:4: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:272:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:335:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:363:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:365:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:367:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:369:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:371:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/gdb/testsuite/lib/cl_util.c:170:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:171:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:172:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:173:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:174:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:180:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:219:4: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:220:4: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:221:4: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:239:4: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/testsuite/lib/cl_util.c:240:4: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/gdb/tui/tui-file.c:46:3: error: Code 'stdio_file::flush' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-disasm.c:50:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-hooks.c:127:3: error: Code 'target_terminal::scoped_restore_terminal_state' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-interp.c:89:55: error: Syntax Error: AST broken, binary operator '>' doesn't have two operands. [internalAstError] gdb-13.2/gdb/tui/tui-io.c:395:4: error: Code 'ui_file_style::color' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-location.c:34:39: error: Code 'symtab_and_line& sal' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-layout.c:66:1: error: Code 'std::vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-out.h:27:1: error: Code 'classtui_ui_out:' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-regs.c:46:1: error: Code 'classtab_expansion_file:' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-source.c:58:3: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-stack.c:60:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-win.c:374:3: error: Code 'std::vector' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-wingeneral.c:41:1: error: Code 'tui_suppress_output::tui_suppress_output' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui-winsource.c:69:1: error: Code 'std::string' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/tui/tui.c:125:31: error: Code 'gdb_exception& ex' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/array-view-selftests.c:26:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/basic_string_view/capacity/1.cc:38:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] gdb-13.2/gdb/unittests/basic_string_view/capacity/empty_neg.cc:27:5: warning: Return value of function s.empty() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/2.cc:34:21: style: Condition 's1.size()==28' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/2.cc:36:21: style: Condition 's2.size()==28' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/1.cc:34:26: style: Condition 'str00.length()==0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/1.cc:47:26: style: Condition 'str04.length()==str01.length()' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/1.cc:46:27: note: 'str04' is assigned value 'str01' here. gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/1.cc:47:26: note: Condition 'str04.length()==str01.length()' is always true gdb-13.2/gdb/unittests/basic_string_view/cons/wchar_t/3.cc:29:48: style: Variable 'zero_length_built_with_NULL' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/unittests/basic_string_view/element_access/char/2.cc:29:4: warning: Redundant code: Found unused array access. [constStatement] gdb-13.2/gdb/unittests/basic_string_view/element_access/char/2.cc:29:4: error: Out of bounds access in expression 's[0]' because 's' is empty. [containerOutOfBounds] gdb-13.2/gdb/unittests/basic_string_view/element_access/wchar_t/2.cc:31:4: warning: Redundant code: Found unused array access. [constStatement] gdb-13.2/gdb/unittests/basic_string_view/element_access/wchar_t/2.cc:31:4: error: Out of bounds access in expression 's[0]' because 's' is empty. [containerOutOfBounds] gdb-13.2/gdb/unittests/basic_string_view/element_access/wchar_t/1.cc:52:11: warning: Return value of function str01.at() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/element_access/wchar_t/1.cc:32:21: style: Unused variable: csz02 [unusedVariable] gdb-13.2/gdb/unittests/basic_string_view/element_access/wchar_t/1.cc:36:21: style: Unused variable: str03 [unusedVariable] gdb-13.2/gdb/unittests/basic_string_view/inserters/pod/10081-out.cc:48:25: style: Variable 'obj' can be declared as reference to const [constVariableReference] gdb-13.2/gdb/unittests/basic_string_view/inserters/wchar_t/1.cc:45:27: style: Unused variable: str05 [unusedVariable] gdb-13.2/gdb/unittests/basic_string_view/inserters/wchar_t/1.cc:46:21: style: Unused variable: str10 [unusedVariable] gdb-13.2/gdb/unittests/basic_string_view/inserters/wchar_t/2.cc:38:13: style: Variable 'test' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/unittests/basic_string_view/inserters/wchar_t/2.cc:44:25: style: Variable 'strv' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/unittests/basic_string_view/inserters/wchar_t/2.cc:53:10: style: Variable 'test' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/unittests/basic_string_view/inserters/wchar_t/2.cc:57:10: style: Variable 'test' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/unittests/basic_string_view/operations/compare/char/1.cc:74:14: warning: Unnecessary comparison of static strings. [staticStringCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/compare/char/1.cc:75:14: warning: Unnecessary comparison of static strings. [staticStringCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/compare/char/1.cc:82:14: warning: Unnecessary comparison of static strings. [staticStringCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/compare/wchar_t/1.cc:77:14: warning: Unnecessary comparison of static strings. [staticStringCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/compare/wchar_t/1.cc:78:14: warning: Unnecessary comparison of static strings. [staticStringCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/compare/wchar_t/1.cc:85:14: warning: Unnecessary comparison of static strings. [staticStringCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/data/wchar_t/1.cc:30:24: style: Condition 'empty.size()==0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operations/copy/wchar_t/1.cc:29:14: style: Unused variable: csz01 [unusedVariable] gdb-13.2/gdb/unittests/basic_string_view/operations/find/char/3.cc:104:35: warning: It is inefficient to call 'str01.find_first_not_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/char/2.cc:105:31: warning: It is inefficient to call 'str01.find_first_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/char/2.cc:107:31: warning: It is inefficient to call 'str01.find_first_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/char/1.cc:107:22: warning: It is inefficient to call 'str01.find(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/char/1.cc:109:22: warning: It is inefficient to call 'str01.find(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/2.cc:40:31: warning: It is inefficient to call 'str01.find_first_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/2.cc:42:31: warning: It is inefficient to call 'str01.find_first_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/2.cc:105:31: warning: It is inefficient to call 'str01.find_first_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/2.cc:107:31: warning: It is inefficient to call 'str01.find_first_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/1.cc:41:22: warning: It is inefficient to call 'str01.find(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/1.cc:43:22: warning: It is inefficient to call 'str01.find(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/1.cc:107:22: warning: It is inefficient to call 'str01.find(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/1.cc:109:22: warning: It is inefficient to call 'str01.find(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/3.cc:39:35: warning: It is inefficient to call 'str01.find_first_not_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/find/wchar_t/3.cc:104:35: warning: It is inefficient to call 'str01.find_first_not_of(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/rfind/wchar_t/1.cc:41:23: warning: It is inefficient to call 'str01.rfind(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/rfind/wchar_t/1.cc:43:23: warning: It is inefficient to call 'str01.rfind(str01)' as it always returns 0. [uselessCallsCompare] gdb-13.2/gdb/unittests/basic_string_view/operations/string_conversion/1.cc:33:18: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/unittests/basic_string_view/operations/substr/wchar_t/1.cc:64:13: warning: Iterators to containers from different expressions 'str02' and 'str01' are used together. [mismatchingContainerExpression] gdb-13.2/gdb/unittests/basic_string_view/range_access/char/1.cc:29:8: warning: Return value of function std::begin() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/char/1.cc:30:8: warning: Return value of function std::end() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/char/1.cc:31:8: warning: Return value of function std::rbegin() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/char/1.cc:32:8: warning: Return value of function std::rend() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/wchar_t/1.cc:29:8: warning: Return value of function std::begin() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/wchar_t/1.cc:30:8: warning: Return value of function std::end() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/wchar_t/1.cc:31:8: warning: Return value of function std::rbegin() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/range_access/wchar_t/1.cc:32:8: warning: Return value of function std::rend() is not used. [ignoredReturnValue] gdb-13.2/gdb/unittests/basic_string_view/types/1.cc:31:8: performance:inconclusive: Technically the member function 'T::t' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/unittests/basic_string_view/types/1.cc:32:8: performance:inconclusive: Technically the member function 'T::t' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdb/unittests/child-path-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:253:3: warning: Identical condition '!(!(str_0==str_1))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:250:3: note: If condition '!(!(str_0==str_1))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:253:3: note: Testing identical condition '!(!(str_0==str_1))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:254:3: warning: Identical condition '!(!(str_0==str_2))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:251:3: note: If condition '!(!(str_0==str_2))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:254:3: note: Testing identical condition '!(!(str_0==str_2))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:255:3: warning: Identical condition '!(!(str_0==str_3))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:252:3: note: If condition '!(!(str_0==str_3))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:255:3: note: Testing identical condition '!(!(str_0==str_3))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:253:3: warning: Identical condition '!(!(str_0==str_1))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:250:3: note: If condition '!(!(str_0==str_1))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:253:3: note: Testing identical condition '!(!(str_0==str_1))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:254:3: warning: Identical condition '!(!(str_0==str_2))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:251:3: note: If condition '!(!(str_0==str_2))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:254:3: note: Testing identical condition '!(!(str_0==str_2))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:255:3: warning: Identical condition '!(!(str_0==str_3))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:252:3: note: If condition '!(!(str_0==str_3))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:255:3: note: Testing identical condition '!(!(str_0==str_3))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:266:3: warning: Identical condition '!(!(str_0!=str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:265:3: note: If condition '!(!(str_0!=str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:266:3: note: Testing identical condition '!(!(str_0!=str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:282:3: warning: Identical condition '!(!(str_0>str_3))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:270:3: note: If condition '!(!(str_0>str_3))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:282:3: note: Testing identical condition '!(!(str_0>str_3))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:266:3: warning: Identical condition '!(!(str_0!=str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:265:3: note: If condition '!(!(str_0!=str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:266:3: note: Testing identical condition '!(!(str_0!=str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:277:3: warning: Identical condition '!(!(str_1>str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:271:3: note: If condition '!(!(str_1>str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:277:3: note: Testing identical condition '!(!(str_1>str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:278:3: warning: Identical condition '!(!(str_2>str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:272:3: note: If condition '!(!(str_2>str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:278:3: note: Testing identical condition '!(!(str_2>str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:275:3: warning: Identical condition '!(!(str_0>str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:274:3: note: If condition '!(!(str_0>str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:275:3: note: Testing identical condition '!(!(str_0>str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:283:3: warning: Identical condition '!(!(str_0>str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:274:3: note: If condition '!(!(str_0>str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:283:3: note: Testing identical condition '!(!(str_0>str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:284:3: warning: Identical condition '!(!(str_0>str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:274:3: note: If condition '!(!(str_0>str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:284:3: note: Testing identical condition '!(!(str_0>str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:282:3: warning: Identical condition '!(!(str_0>str_3))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:270:3: note: If condition '!(!(str_0>str_3))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:282:3: note: Testing identical condition '!(!(str_0>str_3))' gdb-13.2/gdb/unittests/cli-utils-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:277:3: warning: Identical condition '!(!(str_1>str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:271:3: note: If condition '!(!(str_1>str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:277:3: note: Testing identical condition '!(!(str_1>str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:278:3: warning: Identical condition '!(!(str_2>str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:272:3: note: If condition '!(!(str_2>str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:278:3: note: Testing identical condition '!(!(str_2>str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:275:3: warning: Identical condition '!(!(str_0>str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:274:3: note: If condition '!(!(str_0>str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:275:3: note: Testing identical condition '!(!(str_0>str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:283:3: warning: Identical condition '!(!(str_0>str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:274:3: note: If condition '!(!(str_0>str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:283:3: note: Testing identical condition '!(!(str_0>str_4))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:284:3: warning: Identical condition '!(!(str_0>str_4))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:274:3: note: If condition '!(!(str_0>str_4))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:284:3: note: Testing identical condition '!(!(str_0>str_4))' gdb-13.2/gdb/unittests/command-def-selftests.c:27:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:300:3: warning: Identical condition '!(!(str_0>=str_3))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:288:3: note: If condition '!(!(str_0>=str_3))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:300:3: note: Testing identical condition '!(!(str_0>=str_3))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:295:3: warning: Identical condition '!(!(str_1>=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:289:3: note: If condition '!(!(str_1>=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:295:3: note: Testing identical condition '!(!(str_1>=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:296:3: warning: Identical condition '!(!(str_2>=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:290:3: note: If condition '!(!(str_2>=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:296:3: note: Testing identical condition '!(!(str_2>=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:300:3: warning: Identical condition '!(!(str_0>=str_3))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:288:3: note: If condition '!(!(str_0>=str_3))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:300:3: note: Testing identical condition '!(!(str_0>=str_3))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:295:3: warning: Identical condition '!(!(str_1>=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:289:3: note: If condition '!(!(str_1>=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:295:3: note: Testing identical condition '!(!(str_1>=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:296:3: warning: Identical condition '!(!(str_2>=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:290:3: note: If condition '!(!(str_2>=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:296:3: note: Testing identical condition '!(!(str_2>=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:308:3: warning: Identical condition '!(!(str_0=="costa marbella"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:305:3: note: If condition '!(!(str_0=="costa marbella"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:308:3: note: Testing identical condition '!(!(str_0=="costa marbella"))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:309:3: warning: Identical condition '!(!(str_0=="cost"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:306:3: note: If condition '!(!(str_0=="cost"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:309:3: note: Testing identical condition '!(!(str_0=="cost"))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:310:3: warning: Identical condition '!(!(str_0=="costa ricans"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:307:3: note: If condition '!(!(str_0=="costa ricans"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:310:3: note: Testing identical condition '!(!(str_0=="costa ricans"))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:308:3: warning: Identical condition '!(!(str_0==L"costa marbella"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:305:3: note: If condition '!(!(str_0==L"costa marbella"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:308:3: note: Testing identical condition '!(!(str_0==L"costa marbella"))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:309:3: warning: Identical condition '!(!(str_0==L"cost"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:306:3: note: If condition '!(!(str_0==L"cost"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:309:3: note: Testing identical condition '!(!(str_0==L"cost"))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:310:3: warning: Identical condition '!(!(str_0==L"costa ricans"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:307:3: note: If condition '!(!(str_0==L"costa ricans"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:310:3: note: Testing identical condition '!(!(str_0==L"costa ricans"))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:321:3: warning: Identical condition '!(!("costa rica"!=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:320:3: note: If condition '!(!("costa rica"!=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:321:3: note: Testing identical condition '!(!("costa rica"!=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:337:3: warning: Identical condition '!(!(str_0>"costa ricans"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:325:3: note: If condition '!(!(str_0>"costa ricans"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:337:3: note: Testing identical condition '!(!(str_0>"costa ricans"))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:332:3: warning: Identical condition '!(!("costa marbella">str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:326:3: note: If condition '!(!("costa marbella">str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:332:3: note: Testing identical condition '!(!("costa marbella">str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:333:3: warning: Identical condition '!(!("cost">str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:327:3: note: If condition '!(!("cost">str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:333:3: note: Testing identical condition '!(!("cost">str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:339:3: warning: Identical condition '!(!("costa rica">str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:329:3: note: If condition '!(!("costa rica">str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:339:3: note: Testing identical condition '!(!("costa rica">str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:338:3: warning: Identical condition '!(!(str_0>"costa rica"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:330:3: note: If condition '!(!(str_0>"costa rica"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:338:3: note: Testing identical condition '!(!(str_0>"costa rica"))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:321:3: warning: Identical condition '!(!(L"costa rica"!=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:320:3: note: If condition '!(!(L"costa rica"!=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:321:3: note: Testing identical condition '!(!(L"costa rica"!=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:355:3: warning: Identical condition '!(!(str_0>="costa ricans"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:343:3: note: If condition '!(!(str_0>="costa ricans"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:355:3: note: Testing identical condition '!(!(str_0>="costa ricans"))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:350:3: warning: Identical condition '!(!("costa marbella">=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:344:3: note: If condition '!(!("costa marbella">=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:350:3: note: Testing identical condition '!(!("costa marbella">=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:351:3: warning: Identical condition '!(!("cost">=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:345:3: note: If condition '!(!("cost">=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:351:3: note: Testing identical condition '!(!("cost">=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:337:3: warning: Identical condition '!(!(str_0>L"costa ricans"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:325:3: note: If condition '!(!(str_0>L"costa ricans"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:337:3: note: Testing identical condition '!(!(str_0>L"costa ricans"))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:332:3: warning: Identical condition '!(!(L"costa marbella">str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:326:3: note: If condition '!(!(L"costa marbella">str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:332:3: note: Testing identical condition '!(!(L"costa marbella">str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:333:3: warning: Identical condition '!(!(L"cost">str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:327:3: note: If condition '!(!(L"cost">str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:333:3: note: Testing identical condition '!(!(L"cost">str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:339:3: warning: Identical condition '!(!(L"costa rica">str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:329:3: note: If condition '!(!(L"costa rica">str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:339:3: note: Testing identical condition '!(!(L"costa rica">str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:338:3: warning: Identical condition '!(!(str_0>L"costa rica"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:330:3: note: If condition '!(!(str_0>L"costa rica"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:338:3: note: Testing identical condition '!(!(str_0>L"costa rica"))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:131:17: style: Condition 'str_4==str_0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:131:17: note: Condition 'str_4==str_0' is always true gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:132:17: style: Condition 'str_0==str_4' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:132:17: note: Condition 'str_0==str_4' is always true gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:140:19: style: Condition 'str_0!=str_4' is always false [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:140:19: note: Condition 'str_0!=str_4' is always false gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:141:19: style: Condition 'str_4!=str_0' is always false [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:141:19: note: Condition 'str_4!=str_0' is always false gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:149:19: style: Condition 'str_0>str_4' is always false [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:149:19: note: Condition 'str_0>str_4' is always false gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:150:19: style: Condition 'str_4>str_0' is always false [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:150:19: note: Condition 'str_4>str_0' is always false gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:158:19: style: Condition 'str_0=str_4' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:167:17: note: Condition 'str_0>=str_4' is always true gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:168:17: style: Condition 'str_4>=str_0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:168:17: note: Condition 'str_4>=str_0' is always true gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:176:17: style: Condition 'str_0<=str_4' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:176:17: note: Condition 'str_0<=str_4' is always true gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:177:17: style: Condition 'str_4<=str_0' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:123:9: note: str_4 is assigned 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:177:17: note: Condition 'str_4<=str_0' is always true gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:355:3: warning: Identical condition '!(!(str_0>=L"costa ricans"))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:343:3: note: If condition '!(!(str_0>=L"costa ricans"))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:355:3: note: Testing identical condition '!(!(str_0>=L"costa ricans"))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:350:3: warning: Identical condition '!(!(L"costa marbella">=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:344:3: note: If condition '!(!(L"costa marbella">=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:350:3: note: Testing identical condition '!(!(L"costa marbella">=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:351:3: warning: Identical condition '!(!(L"cost">=str_0))', second condition is always false [identicalConditionAfterEarlyExit] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:345:3: note: If condition '!(!(L"cost">=str_0))' is true, the function will return/exit gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:351:3: note: Testing identical condition '!(!(L"cost">=str_0))' gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:256:3: style: The comparison 'str_4 == str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:256:3: note: The comparison 'str_4 == str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:257:3: style: The comparison 'str_0 == str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:257:3: note: The comparison 'str_0 == str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:265:3: style: The comparison 'str_0 != str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:265:3: note: The comparison 'str_0 != str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:266:3: style: The comparison 'str_4 != str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:266:3: note: The comparison 'str_4 != str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:274:3: style: The comparison 'str_0 > str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:274:3: note: The comparison 'str_0 > str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:275:3: style: The comparison 'str_4 > str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:275:3: note: The comparison 'str_4 > str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:283:3: style: The comparison 'str_0 < str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:283:3: note: The comparison 'str_0 < str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:284:3: style: The comparison 'str_4 < str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:284:3: note: The comparison 'str_4 < str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:292:3: style: The comparison 'str_0 >= str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:292:3: note: The comparison 'str_0 >= str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:293:3: style: The comparison 'str_4 >= str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:293:3: note: The comparison 'str_4 >= str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:301:3: style: The comparison 'str_0 <= str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:301:3: note: The comparison 'str_0 <= str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:302:3: style: The comparison 'str_4 <= str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/char/2.cc:302:3: note: The comparison 'str_4 <= str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:132:17: style: The comparison 'str_4 == str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:132:17: note: The comparison 'str_4 == str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:133:17: style: The comparison 'str_0 == str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:133:17: note: The comparison 'str_0 == str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:141:19: style: The comparison 'str_0 != str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:141:19: note: The comparison 'str_0 != str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:142:19: style: The comparison 'str_4 != str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:142:19: note: The comparison 'str_4 != str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:150:19: style: The comparison 'str_0 > str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:150:19: note: The comparison 'str_0 > str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:151:19: style: The comparison 'str_4 > str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:151:19: note: The comparison 'str_4 > str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:159:19: style: The comparison 'str_0 < str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:159:19: note: The comparison 'str_0 < str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:160:19: style: The comparison 'str_4 < str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:160:19: note: The comparison 'str_4 < str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:168:17: style: The comparison 'str_0 >= str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:168:17: note: The comparison 'str_0 >= str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:169:17: style: The comparison 'str_4 >= str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:169:17: note: The comparison 'str_4 >= str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:177:17: style: The comparison 'str_0 <= str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:177:17: note: The comparison 'str_0 <= str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:178:17: style: The comparison 'str_4 <= str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:124:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:178:17: note: The comparison 'str_4 <= str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:256:3: style: The comparison 'str_4 == str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:256:3: note: The comparison 'str_4 == str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:257:3: style: The comparison 'str_0 == str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:257:3: note: The comparison 'str_0 == str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:265:3: style: The comparison 'str_0 != str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:265:3: note: The comparison 'str_0 != str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:266:3: style: The comparison 'str_4 != str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:266:3: note: The comparison 'str_4 != str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:274:3: style: The comparison 'str_0 > str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:274:3: note: The comparison 'str_0 > str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:275:3: style: The comparison 'str_4 > str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:275:3: note: The comparison 'str_4 > str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:283:3: style: The comparison 'str_0 < str_4' is always false because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:283:3: note: The comparison 'str_0 < str_4' is always false because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:284:3: style: The comparison 'str_4 < str_0' is always false because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:284:3: note: The comparison 'str_4 < str_0' is always false because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:292:3: style: The comparison 'str_0 >= str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:292:3: note: The comparison 'str_0 >= str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:293:3: style: The comparison 'str_4 >= str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:293:3: note: The comparison 'str_4 >= str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:301:3: style: The comparison 'str_0 <= str_4' is always true because 'str_0' and 'str_4' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:301:3: note: The comparison 'str_0 <= str_4' is always true because 'str_0' and 'str_4' represent the same value. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:302:3: style: The comparison 'str_4 <= str_0' is always true because 'str_4' and 'str_0' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:248:11: note: 'str_4' is assigned value 'str_0' here. gdb-13.2/gdb/unittests/basic_string_view/operators/wchar_t/2.cc:302:3: note: The comparison 'str_4 <= str_0' is always true because 'str_4' and 'str_0' represent the same value. gdb-13.2/gdb/unittests/copy_bitwise-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/enum-flags-selftests.c:25:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/environ-selftests.c:33:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/filtered_iterator-selftests.c:26:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/format_pieces-selftests.c:30:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/function-view-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/gdb_tilde_expand-selftests.c:26:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/common-utils-selftests.c:23:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/gmp-utils-selftests.c:25:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/intrusive_list-selftests.c:69:1: error: Code 'template<...' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/lookup_name_info-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/main-thread-selftests.c:30:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/mkdir-recursive-selftests.c:27:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/memrange-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/observable-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/offset-type-selftests.c:26:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/optional-selftests.c:37:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/optional/assignment/1.cc:122:14: warning: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/1.cc:120:9: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/1.cc:122:14: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/1.cc:150:13: warning: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/1.cc:148:9: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/1.cc:150:13: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/1.cc:150:18: warning:inconclusive: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/1.cc:148:9: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/1.cc:150:18: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/1.cc:190:13: warning: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/1.cc:181:11: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/1.cc:190:13: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/1.cc:190:18: warning:inconclusive: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/1.cc:181:11: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/1.cc:190:18: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/2.cc:122:14: warning: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/2.cc:120:9: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/2.cc:122:14: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/2.cc:150:13: warning: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/2.cc:148:9: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/2.cc:150:13: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/2.cc:150:18: warning:inconclusive: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/2.cc:148:9: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/2.cc:150:18: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/2.cc:188:13: warning: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/2.cc:180:11: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/2.cc:188:13: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/2.cc:188:18: warning:inconclusive: Access of moved variable 'p'. [accessMoved] gdb-13.2/gdb/unittests/optional/assignment/2.cc:180:11: note: Calling std::move(p) gdb-13.2/gdb/unittests/optional/assignment/2.cc:188:18: note: Access of moved variable 'p'. gdb-13.2/gdb/unittests/optional/assignment/6.cc:32:3: style: Struct 'value_type' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/unittests/optional/cons/copy.cc:22:3: style: Struct 'tracker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/unittests/optional/cons/move.cc:22:3: style: Struct 'tracker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/unittests/optional/cons/move.cc:59:14: warning: Access of moved variable 'o'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/move.cc:57:21: note: Calling std::move(o) gdb-13.2/gdb/unittests/optional/cons/move.cc:59:14: note: Access of moved variable 'o'. gdb-13.2/gdb/unittests/optional/cons/move.cc:68:13: warning: Access of moved variable 'o'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/move.cc:65:21: note: Calling std::move(o) gdb-13.2/gdb/unittests/optional/cons/move.cc:68:13: note: Access of moved variable 'o'. gdb-13.2/gdb/unittests/optional/cons/move.cc:68:19: warning:inconclusive: Access of moved variable 'o'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/move.cc:65:21: note: Calling std::move(o) gdb-13.2/gdb/unittests/optional/cons/move.cc:68:19: note: Access of moved variable 'o'. gdb-13.2/gdb/unittests/optional/cons/move.cc:76:14: warning: Access of moved variable 'o'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/move.cc:73:21: note: Calling std::move(o) gdb-13.2/gdb/unittests/optional/cons/move.cc:76:14: note: Access of moved variable 'o'. gdb-13.2/gdb/unittests/optional/cons/move.cc:85:13: warning: Access of moved variable 'o'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/move.cc:81:21: note: Calling std::move(o) gdb-13.2/gdb/unittests/optional/cons/move.cc:85:13: note: Access of moved variable 'o'. gdb-13.2/gdb/unittests/optional/cons/move.cc:85:18: warning:inconclusive: Access of moved variable 'o'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/move.cc:81:21: note: Calling std::move(o) gdb-13.2/gdb/unittests/optional/cons/move.cc:85:18: note: Access of moved variable 'o'. gdb-13.2/gdb/unittests/packed-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/path-join-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/parse-connection-spec-selftests.c:34:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/optional/cons/value.cc:22:3: style: Struct 'tracker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdb/unittests/optional/cons/value.cc:76:15: style: Condition 'i==0x1234ABCD' is always true [knownConditionTrueFalse] gdb-13.2/gdb/unittests/optional/cons/value.cc:72:14: note: Assignment 'i=0x1234ABCD', assigned value is 305441741 gdb-13.2/gdb/unittests/optional/cons/value.cc:76:15: note: Condition 'i==0x1234ABCD' is always true gdb-13.2/gdb/unittests/rsp-low-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/optional/cons/value.cc:137:13: warning:inconclusive: Access of moved variable 'v'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/value.cc:136:41: note: Calling std::move(v) gdb-13.2/gdb/unittests/optional/cons/value.cc:137:13: note: Access of moved variable 'v'. gdb-13.2/gdb/unittests/optional/cons/value.cc:144:13: warning:inconclusive: Access of moved variable 'v'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/value.cc:143:41: note: Calling std::move(v) gdb-13.2/gdb/unittests/optional/cons/value.cc:144:13: note: Access of moved variable 'v'. gdb-13.2/gdb/unittests/optional/cons/value.cc:151:13: warning:inconclusive: Access of moved variable 'v'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/value.cc:150:41: note: Calling std::move(v) gdb-13.2/gdb/unittests/optional/cons/value.cc:151:13: note: Access of moved variable 'v'. gdb-13.2/gdb/unittests/optional/cons/value.cc:168:13: warning:inconclusive: Access of moved variable 't'. [accessMoved] gdb-13.2/gdb/unittests/optional/cons/value.cc:165:32: note: Calling std::move(t) gdb-13.2/gdb/unittests/optional/cons/value.cc:168:13: note: Access of moved variable 't'. gdb-13.2/gdb/unittests/ptid-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/scoped_fd-selftests.c:27:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/scoped_ignore_signal-selftests.c:27:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/scoped_restore-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/search-memory-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/style-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/tracepoint-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/string_view-selftests.c:56:1: error: Code 'namespacestring_view{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/ui-file-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/unique_xmalloc_ptr_char.c:25:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/unpack-selftests.c:27:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/utils-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/vec-utils-selftests.c:25:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdb/unittests/xml-utils-selftests.c:24:1: error: Code 'namespaceselftests{' is invalid C code. Use --std or --language to configure the language. [syntaxError] gdb-13.2/gdbserver/server.h:133:3: warning: Member variable 'client_state::pass_signals' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdbserver/server.h:133:3: warning: Member variable 'client_state::program_signals' is not initialized in the constructor. [uninitMemberVar] gdb-13.2/gdbserver/server.h:181:9: style: Class 'client_state' is unsafe, 'client_state::own_buf' can leak by wrong usage. [unsafeClassCanLeak] gdb-13.2/gdbserver/server.h:134:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/debug.cc:40:31: style:inconclusive: Function 'debug_set_output' argument 1 names different: declaration 'debug_file' definition 'new_debug_file'. [funcArgNamesDifferent] gdb-13.2/gdbserver/debug.h:34:36: note: Function 'debug_set_output' argument 1 names different: declaration 'debug_file' definition 'new_debug_file'. gdb-13.2/gdbserver/debug.cc:40:31: note: Function 'debug_set_output' argument 1 names different: declaration 'debug_file' definition 'new_debug_file'. gdb-13.2/gdbserver/target.h:646:53: style: Parameter 'tinfo' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.h:115:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdbserver/inferiors.h:133:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdbserver/gdbthread.h:112:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdbserver/gdbthread.h:158:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdbserver/gdbreplay.cc:269:15: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gdb-13.2/gdbserver/gdbreplay.cc:449:10: note: Assuming that condition 'fp==NULL' is not redundant gdb-13.2/gdbserver/gdbreplay.cc:454:25: note: Calling function 'logchar', 1st argument 'fp' value is 0 gdb-13.2/gdbserver/gdbreplay.cc:269:15: note: Null pointer dereference gdb-13.2/gdbserver/gdbreplay.cc:186:51: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/gdbreplay.cc:192:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/gdbreplay.cc:195:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/gdbreplay.cc:216:43: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/gdbreplay.cc:225:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/gdbreplay.cc:231:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/gdbreplay.cc:233:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/ax.cc:868:27: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/ax.cc:88:14: warning: Logical disjunction always evaluates to true: op < 0 || op >= 0. [incorrectLogicOperator] gdb-13.2/gdbserver/ax.cc:110:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/ax.cc:135:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/ax.cc:868:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/ax.cc:873:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/ax.cc:1310:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/ax.cc:88:14: style: Opposite expression on both sides of '||'. [oppositeExpression] gdb-13.2/gdbserver/ax.cc:407:17: style: The scope of the variable 'op' can be reduced. [variableScope] gdb-13.2/gdbserver/ax.cc:821:15: style: The scope of the variable 'current_substring' can be reduced. [variableScope] gdb-13.2/gdbserver/ax.cc:950:17: style: The scope of the variable 'op' can be reduced. [variableScope] gdb-13.2/gdbserver/ax.cc:817:26: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/ax.cc:1305:12: style: Variable 'format' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/ax.cc:831:9: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdbserver/hostio.cc:383:11: style: Condition 'ret==-1' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/hostio.cc:380:10: note: Assignment 'ret=-1', assigned value is -1 gdb-13.2/gdbserver/hostio.cc:383:11: note: Condition 'ret==-1' is always true gdb-13.2/gdbserver/hostio.cc:436:11: style: Condition 'ret==-1' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/hostio.cc:433:10: note: Assignment 'ret=-1', assigned value is -1 gdb-13.2/gdbserver/hostio.cc:436:11: note: Condition 'ret==-1' is always true gdb-13.2/gdbserver/hostio.cc:132:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/hostio.cc:376:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/hostio.cc:481:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/hostio.cc:128:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/hostio.cc:174:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/hostio.cc:217:46: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/hostio.cc:405:16: style: Variable 'bytes_sent' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/inferiors.cc:42:20: style:inconclusive: Function 'add_thread' argument 1 names different: declaration 'ptid' definition 'thread_id'. [funcArgNamesDifferent] gdb-13.2/gdbserver/gdbthread.h:88:40: note: Function 'add_thread' argument 1 names different: declaration 'ptid' definition 'thread_id'. gdb-13.2/gdbserver/inferiors.cc:42:20: note: Function 'add_thread' argument 1 names different: declaration 'ptid' definition 'thread_id'. gdb-13.2/gdbserver/inferiors.cc:68:41: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.cc:87:45: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.cc:112:41: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.cc:118:43: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.cc:170:43: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.cc:192:42: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/inferiors.cc:202:42: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.h:715:3: style: Struct 'pending_signal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gdb-13.2/gdbserver/linux-aarch32-low.cc:64:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:83:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:109:43: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:111:48: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:126:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:128:47: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:195:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:201:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:211:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch32-low.cc:244:32: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-ipa.cc:134:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-ipa.cc:144:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-ipa.cc:188:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-ipa.cc:170:9: style: The scope of the variable 'res' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-aarch64-tdesc.cc:48:26: style: The scope of the variable 'expedite_regs_aarch64' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-aarch64-tdesc.cc:49:26: style: The scope of the variable 'expedite_regs_aarch64_sve' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-aarch64-low.cc:1085:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/gdbserver/linux-aarch64-low.cc:1087:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/gdbserver/linux-aarch64-low.cc:1088:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/gdbserver/linux-aarch64-low.cc:202:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:215:46: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:228:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:241:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:255:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:272:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:283:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:295:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:312:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:368:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:646:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:650:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:1886:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:1892:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:1924:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:1939:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:1976:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:2013:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:2051:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:2076:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:2112:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:2463:6: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:2506:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-aarch64-low.cc:344:59: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-aarch64-low.cc:110:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-aarch64-low.cc:344:59: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-aarch64-low.cc:362:46: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-aarch64-low.cc:112:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-aarch64-low.cc:362:46: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-aarch64-low.cc:434:11: style:inconclusive: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-aarch64-low.cc:115:8: note: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-aarch64-low.cc:434:11: note: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-aarch64-low.cc:485:11: style:inconclusive: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-aarch64-low.cc:118:8: note: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-aarch64-low.cc:485:11: note: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-aarch64-low.cc:283:13: style: Variable 'mte_regset' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-aarch64-low.cc:312:13: style: Variable 'tls_buf' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-amd64-ipa.cc:71:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-amd64-ipa.cc:80:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-amd64-ipa.cc:211:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] gdb-13.2/gdbserver/i387-fp.cc:145:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:152:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:172:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:179:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:208:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:218:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:221:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:254:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:283:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:297:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:301:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:304:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:308:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:312:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:316:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:320:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:325:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:327:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:329:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:334:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:345:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:362:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:379:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:396:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:413:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:430:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:447:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:466:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:485:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:504:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:521:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:668:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:678:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:681:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:721:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:722:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:754:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:771:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:788:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:806:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:824:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:841:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:858:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:887:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:908:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/i387-fp.cc:257:17: style: The scope of the variable 'val' can be reduced. [variableScope] gdb-13.2/gdbserver/i387-fp.cc:257:22: style: The scope of the variable 'val2' can be reduced. [variableScope] gdb-13.2/gdbserver/i387-fp.cc:724:10: style: The scope of the variable 'top' can be reduced. [variableScope] gdb-13.2/gdbserver/i387-fp.cc:732:7: style: The scope of the variable 'num_avx512_zmmh_low_registers' can be reduced. [variableScope] gdb-13.2/gdbserver/i387-fp.cc:621:18: style: Variable 'raw' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-arc-low.cc:156:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arc-low.cc:175:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arc-low.cc:236:50: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arc-low.cc:102:55: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-arc-low.cc:80:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-arc-low.cc:102:55: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-i386-ipa.cc:111:55: warning: Either the condition 'regnum>16' is redundant or the array 'i386_ft_collect_regmap[16]' is accessed at index 16, which is out of bounds. [arrayIndexOutOfBoundsCond] gdb-13.2/gdbserver/linux-i386-ipa.cc:106:14: note: Assuming that condition 'regnum>16' is not redundant gdb-13.2/gdbserver/linux-i386-ipa.cc:111:55: note: Array index out of bounds gdb-13.2/gdbserver/linux-i386-ipa.cc:90:36: style: Condition 'i<=I386_GS_REGNUM' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-i386-ipa.cc:86:17: note: Assuming that condition 'i<16' is not redundant gdb-13.2/gdbserver/linux-i386-ipa.cc:90:36: note: Condition 'i<=I386_GS_REGNUM' is always true gdb-13.2/gdbserver/linux-i386-ipa.cc:227:11: error: Return value of allocation function 'mmap' is not stored. [leakReturnValNotUsed] gdb-13.2/gdbserver/linux-i386-ipa.cc:91:24: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-i386-ipa.cc:93:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-i386-ipa.cc:109:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-i386-ipa.cc:111:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-i386-ipa.cc:227:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:972:28: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-arm-low.cc:282:51: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:287:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:297:50: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:302:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:374:32: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:574:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:700:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:735:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:893:32: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:898:44: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:901:48: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:928:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:972:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:1065:32: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-arm-low.cc:139:55: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-arm-low.cc:89:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-arm-low.cc:139:55: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-arm-low.cc:609:14: style:inconclusive: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-arm-low.cc:96:8: note: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-arm-low.cc:609:14: note: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-arm-low.cc:654:14: style:inconclusive: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-arm-low.cc:99:8: note: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-arm-low.cc:654:14: note: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-arm-low.cc:358:49: style: Parameter 'self' can be declared as pointer to const. However it seems that 'get_next_pcs_is_thumb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdbserver/linux-arm-low.cc:259:3: note: You might need to cast the function pointer here gdb-13.2/gdbserver/linux-arm-low.cc:358:49: note: Parameter 'self' can be declared as pointer to const gdb-13.2/gdbserver/linux-arm-low.cc:781:29: style: Variable 'parent_proc_info' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-arm-low.cc:827:23: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-csky-low.cc:154:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-csky-low.cc:170:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-csky-low.cc:199:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-csky-low.cc:228:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-csky-low.cc:244:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-csky-low.cc:327:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-csky-low.cc:132:22: style: The scope of the variable 'expedite_regs' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-csky-low.cc:122:63: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-csky-low.cc:52:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-csky-low.cc:122:63: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-csky-low.cc:320:43: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-csky-low.cc:54:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-csky-low.cc:320:43: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:59:3: error: Uninitialized variable: charobj [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:60:3: error: Uninitialized variable: intobj [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:61:3: error: Uninitialized variable: longobj [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:62:3: error: Uninitialized variable: floatobj [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:63:3: error: Uninitialized variable: doubleobj [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:69:3: error: Uninitialized variable: Enumobj [uninitvar] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:33:10: style: union member 'Union::kp' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:34:8: style: union member 'Union::a' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:35:7: style: union member 'Union::b' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:36:8: style: union member 'Union::c' is never used. [unusedStructMember] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:59:3: style: Variable 'size_char' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:59:3: style: Variable 'size_charp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:60:3: style: Variable 'size_int' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:60:3: style: Variable 'size_intp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:61:3: style: Variable 'size_long' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:61:3: style: Variable 'size_longp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:62:3: style: Variable 'size_float' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:62:3: style: Variable 'size_floatp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:63:3: style: Variable 'size_double' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:63:3: style: Variable 'size_doublep' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:64:3: style: Variable 'size_a4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:64:3: style: Variable 'size_a4p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:65:3: style: Variable 'size_a8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:65:3: style: Variable 'size_a8p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:66:3: style: Variable 'size_a12' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:66:3: style: Variable 'size_a12p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:67:3: style: Variable 'size_Class' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:67:3: style: Variable 'size_Classp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:68:3: style: Variable 'size_Union' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:68:3: style: Variable 'size_Unionp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:69:3: style: Variable 'size_Enum' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:69:3: style: Variable 'size_Enump' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:70:3: style: Variable 'size_c4' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:70:3: style: Variable 'size_c4p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:71:3: style: Variable 'size_u8' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:71:3: style: Variable 'size_u8p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:72:3: style: Variable 'size_e12' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc:72:3: style: Variable 'size_e12p' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/linux-ia64-low.cc:328:58: style:inconclusive: Function 'low_fetch_register' argument 2 names different: declaration 'regno' definition 'regnum'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-ia64-low.cc:44:52: note: Function 'low_fetch_register' argument 2 names different: declaration 'regno' definition 'regnum'. gdb-13.2/gdbserver/linux-ia64-low.cc:328:58: note: Function 'low_fetch_register' argument 2 names different: declaration 'regno' definition 'regnum'. gdb-13.2/gdbserver/linux-loongarch-low.cc:97:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:112:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:134:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:140:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:145:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:161:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:167:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:172:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:280:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-loongarch-low.cc:80:22: style: The scope of the variable 'expedite_regs' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-loongarch-low.cc:97:18: style: Variable 'regset' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-m68k-low.cc:68:56: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-m68k-low.cc:44:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-m68k-low.cc:68:56: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-nios2-low.cc:182:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-nios2-low.cc:229:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-nios2-low.cc:239:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-nios2-low.cc:78:57: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-nios2-low.cc:56:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-nios2-low.cc:78:57: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-nios2-low.cc:171:44: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-nios2-low.cc:58:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-nios2-low.cc:171:44: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-mips-low.cc:918:7: style: Condition 'use_64bit' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-mips-low.cc:916:45: note: Assignment 'use_64bit=sizeof(long)==8', assigned value is 1 gdb-13.2/gdbserver/linux-mips-low.cc:918:7: note: Condition 'use_64bit' is always true gdb-13.2/gdbserver/linux-mips-low.cc:937:7: style: Condition 'use_64bit' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-mips-low.cc:935:45: note: Assignment 'use_64bit=sizeof(long)==8', assigned value is 1 gdb-13.2/gdbserver/linux-mips-low.cc:937:7: note: Condition 'use_64bit' is always true gdb-13.2/gdbserver/linux-mips-low.cc:366:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-mips-low.cc:380:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-mips-low.cc:337:56: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-mips-low.cc:54:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-mips-low.cc:337:56: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-mips-low.cc:362:43: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-mips-low.cc:56:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-mips-low.cc:362:43: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-mips-low.cc:544:15: style:inconclusive: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-mips-low.cc:59:8: note: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-mips-low.cc:544:15: note: Function 'low_insert_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-mips-low.cc:589:15: style:inconclusive: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-mips-low.cc:62:8: note: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-mips-low.cc:589:15: note: Function 'low_remove_point' argument 3 names different: declaration 'size' definition 'len'. gdb-13.2/gdbserver/linux-or1k-low.cc:158:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-or1k-low.cc:205:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-or1k-low.cc:215:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-or1k-low.cc:75:56: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-or1k-low.cc:53:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-or1k-low.cc:75:56: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-or1k-low.cc:154:43: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-or1k-low.cc:55:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-or1k-low.cc:154:43: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-ppc-ipa.cc:85:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-ipa.cc:101:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-ipa.cc:157:9: style: Variable 'target' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-riscv-low.cc:104:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-riscv-low.cc:118:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-riscv-low.cc:137:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-riscv-low.cc:153:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-riscv-low.cc:87:22: style: The scope of the variable 'expedite_regs' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-s390-ipa.cc:267:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-ipa.cc:290:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-ipa.cc:300:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sh-low.cc:128:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sh-low.cc:146:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sh-low.cc:66:54: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-sh-low.cc:44:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-sh-low.cc:66:54: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-sh-low.cc:124:41: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-sh-low.cc:46:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-sh-low.cc:124:41: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-sparc-low.cc:171:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:194:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:208:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:223:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:249:33: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:266:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:288:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-sparc-low.cc:284:44: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-sparc-low.cc:69:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-sparc-low.cc:284:44: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-tic6x-low.cc:279:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-tic6x-low.cc:266:57: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-tic6x-low.cc:63:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-tic6x-low.cc:266:57: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-tic6x-low.cc:275:44: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-tic6x-low.cc:65:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-tic6x-low.cc:275:44: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-s390-low.cc:240:34: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-s390-low.cc:285:34: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-s390-low.cc:286:34: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-s390-low.cc:300:34: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-s390-low.cc:569:15: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-s390-low.cc:1305:7: style: Condition 'is_zarch' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-s390-low.cc:1295:29: note: Assignment 'is_zarch=0', assigned value is 0 gdb-13.2/gdbserver/linux-s390-low.cc:1305:7: note: Condition 'is_zarch' is always false gdb-13.2/gdbserver/linux-s390-low.cc:1316:7: style: Condition 'has_vx' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-s390-low.cc:1295:41: note: Assignment 'has_vx=0', assigned value is 0 gdb-13.2/gdbserver/linux-s390-low.cc:1316:7: note: Condition 'has_vx' is always false gdb-13.2/gdbserver/linux-s390-low.cc:1323:7: style: Condition 'is_64' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-s390-low.cc:1295:15: note: Assignment 'is_64=0', assigned value is 0 gdb-13.2/gdbserver/linux-s390-low.cc:1323:7: note: Condition 'is_64' is always false gdb-13.2/gdbserver/linux-s390-low.cc:240:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:285:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:286:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:300:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:335:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:336:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:350:46: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:360:46: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:369:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:393:43: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:396:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:406:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:416:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:426:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:436:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:446:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:456:45: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:1914:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:1932:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:2031:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-s390-low.cc:1250:16: style: The comparison 'soffset != loffset' is always false because 'soffset' and 'loffset' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-s390-low.cc:1249:22: note: 'soffset' is assigned value 'loffset' here. gdb-13.2/gdbserver/linux-s390-low.cc:1250:16: note: The comparison 'soffset != loffset' is always false because 'soffset' and 'loffset' represent the same value. gdb-13.2/gdbserver/linux-s390-low.cc:1257:16: style: The comparison 'soffset != loffset' is always false because 'soffset' and 'loffset' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-s390-low.cc:1256:22: note: 'soffset' is assigned value 'loffset' here. gdb-13.2/gdbserver/linux-s390-low.cc:1257:16: note: The comparison 'soffset != loffset' is always false because 'soffset' and 'loffset' represent the same value. gdb-13.2/gdbserver/linux-s390-low.cc:1854:37: style: The comparison 'sdiff != diff' is always false because 'sdiff' and 'diff' represent the same value. [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-s390-low.cc:1850:15: note: 'sdiff' is assigned value 'diff' here. gdb-13.2/gdbserver/linux-s390-low.cc:1854:37: note: The comparison 'sdiff != diff' is always false because 'sdiff' and 'diff' represent the same value. gdb-13.2/gdbserver/linux-s390-low.cc:1899:17: style: The scope of the variable 'buf_s' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-s390-low.cc:2019:17: style: The scope of the variable 'buf_s' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-s390-low.cc:1455:20: style: Variable 'regcache' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-ppc-low.cc:200:15: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-ppc-low.cc:1671:7: style: Condition 'is_64' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-ppc-low.cc:1616:15: note: Assignment 'is_64=0', assigned value is 0 gdb-13.2/gdbserver/linux-ppc-low.cc:1671:7: note: Condition 'is_64' is always false gdb-13.2/gdbserver/linux-ppc-low.cc:353:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:432:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:436:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:440:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:444:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:452:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:462:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:472:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:482:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:492:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:502:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:523:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:537:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:553:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:569:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:583:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:601:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:633:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:650:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:674:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:687:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:698:24: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:709:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:718:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:729:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:740:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:760:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:786:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:800:49: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1446:33: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1522:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1527:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1550:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1552:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1557:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1570:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1577:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1744:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1774:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1789:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:1810:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:2576:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:2598:32: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-ppc-low.cc:314:55: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-ppc-low.cc:96:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-ppc-low.cc:314:55: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-ppc-low.cc:349:42: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-ppc-low.cc:98:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-ppc-low.cc:349:42: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-ppc-low.cc:1054:56: style:inconclusive: Function 'low_get_thread_area' argument 2 names different: declaration 'addrp' definition 'addr'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-ppc-low.cc:106:50: note: Function 'low_get_thread_area' argument 2 names different: declaration 'addrp' definition 'addr'. gdb-13.2/gdbserver/linux-ppc-low.cc:1054:56: note: Function 'low_get_thread_area' argument 2 names different: declaration 'addrp' definition 'addr'. gdb-13.2/gdbserver/linux-ppc-low.cc:1894:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1894:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1894:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1894:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1894:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1894:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:1918:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1918:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1918:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1918:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1918:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1918:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:1940:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1940:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1940:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1940:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1940:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1940:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:1951:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1951:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1951:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1951:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1951:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1951:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:1962:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1962:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1962:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1962:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1962:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1962:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:1977:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1977:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1977:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1977:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1977:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1977:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:1995:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:1995:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1995:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1995:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:1995:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:1995:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2017:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2017:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2017:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2017:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2017:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2017:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2037:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2037:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2037:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2037:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2037:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2037:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2041:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2041:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2041:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2041:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2041:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2041:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2045:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2045:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2045:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2045:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2045:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2045:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2060:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2060:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2060:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2060:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2060:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2060:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2064:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2064:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2064:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2064:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2064:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2064:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2068:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2068:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2068:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2068:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2068:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2068:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2081:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2081:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2081:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2081:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2081:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2081:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2092:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2092:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2092:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2092:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2092:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2092:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2103:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2103:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2103:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2103:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2103:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2103:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2114:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2114:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2114:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2114:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2114:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2114:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2126:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2126:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2126:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2126:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2126:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2126:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2135:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2135:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2135:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2135:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2135:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2135:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2151:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2151:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2151:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2151:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2151:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2151:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2170:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2170:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2170:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2170:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2170:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2170:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2192:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2192:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2192:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2192:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2192:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2192:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2196:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2196:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2196:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2196:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2196:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2196:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2200:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2200:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2200:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2200:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2200:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2200:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2205:2: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2205:2: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2205:2: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2205:2: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2205:2: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2205:2: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2208:2: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2208:2: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2208:2: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2208:2: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2208:2: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2208:2: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2248:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2248:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2248:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2248:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2248:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2248:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2259:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2259:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2259:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2259:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2259:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2259:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2274:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2274:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2274:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2274:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2274:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2274:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2288:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2288:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2288:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2288:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2288:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2288:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2350:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2350:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2350:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2350:7: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2350:7: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2350:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2407:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2407:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2407:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2407:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2407:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2407:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2423:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2423:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2423:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2423:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2423:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2423:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2436:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2436:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2436:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2436:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2436:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2436:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2456:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2456:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2456:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2456:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2456:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2456:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2476:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2476:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2476:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2476:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2476:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2476:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2499:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2499:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2499:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2499:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2499:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2499:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2522:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2522:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2522:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2522:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2522:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2522:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:2545:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-ppc-low.cc:2545:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2545:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2545:3: note: Variable declared here. gdb-13.2/gdbserver/linux-ppc-low.cc:2545:3: note: Array decayed to pointer here. gdb-13.2/gdbserver/linux-ppc-low.cc:2545:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-ppc-low.cc:3402:20: style: Variable 'regcache' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-xtensa-low.cc:109:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:118:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:129:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:134:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:148:46: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:149:45: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:150:45: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:151:53: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:152:54: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:163:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:172:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:183:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:188:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:202:45: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:203:44: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:204:44: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:205:52: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:206:53: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:224:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:236:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:273:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:274:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:292:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-xtensa-low.cc:81:58: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-xtensa-low.cc:45:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-xtensa-low.cc:81:58: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-xtensa-low.cc:269:45: style:inconclusive: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-xtensa-low.cc:47:37: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-xtensa-low.cc:269:45: note: Function 'low_breakpoint_at' argument 1 names different: declaration 'pc' definition 'where'. gdb-13.2/gdbserver/linux-x86-low.cc:321:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:325:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:370:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:448:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:452:6: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:472:36: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:475:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:1377:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:1411:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:1431:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-x86-low.cc:876:23: style: The scope of the variable 'regset' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-x86-low.cc:1587:14: style: The scope of the variable 'warned_about_fast_tracepoints' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-x86-low.cc:336:56: style:inconclusive: Function 'low_get_thread_area' argument 2 names different: declaration 'addrp' definition 'addr'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-x86-low.cc:177:50: note: Function 'low_get_thread_area' argument 2 names different: declaration 'addrp' definition 'addr'. gdb-13.2/gdbserver/linux-x86-low.cc:336:56: note: Function 'low_get_thread_area' argument 2 names different: declaration 'addrp' definition 'addr'. gdb-13.2/gdbserver/linux-x86-low.cc:583:55: style:inconclusive: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-x86-low.cc:141:50: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-x86-low.cc:583:55: note: Function 'low_set_pc' argument 2 names different: declaration 'newpc' definition 'pc'. gdb-13.2/gdbserver/linux-x86-low.cc:812:43: style:inconclusive: Function 'low_siginfo_fixup' argument 1 names different: declaration 'native' definition 'ptrace'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-x86-low.cc:162:38: note: Function 'low_siginfo_fixup' argument 1 names different: declaration 'native' definition 'ptrace'. gdb-13.2/gdbserver/linux-x86-low.cc:812:43: note: Function 'low_siginfo_fixup' argument 1 names different: declaration 'native' definition 'ptrace'. gdb-13.2/gdbserver/linux-x86-low.cc:2267:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2267:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2267:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2267:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2267:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2267:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2278:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2278:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2278:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2278:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2278:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2278:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2291:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2291:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2291:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2291:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2291:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2291:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2300:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2300:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2300:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2300:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2300:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2300:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2337:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2337:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2337:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2337:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2337:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2337:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2344:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2344:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2344:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2344:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2344:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2344:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2350:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2350:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2350:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2350:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2350:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2350:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2362:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2362:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2362:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2362:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2362:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2362:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2373:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2373:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2373:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2373:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2373:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2373:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2382:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2382:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2382:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2382:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2382:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2382:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2391:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2391:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2391:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2391:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2391:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2391:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2400:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2400:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2400:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2400:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2400:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2400:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2408:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2408:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2408:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2408:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2408:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2408:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2426:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2426:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2426:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2426:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2426:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2426:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2445:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2445:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2445:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2445:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2445:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2445:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2467:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2467:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2467:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2467:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2467:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2467:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2471:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2471:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2471:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2471:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2471:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2471:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2475:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2475:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2475:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2475:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2475:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2475:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2479:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2479:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2479:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2479:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2479:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2479:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2489:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2489:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2489:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2489:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2489:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2489:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2507:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2507:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2507:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2507:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2507:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2507:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2583:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2583:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2583:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2583:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2583:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2583:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2592:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2592:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2592:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2592:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2592:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2592:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2597:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2597:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2597:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2597:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2597:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2597:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2605:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2605:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2605:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2605:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2605:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2605:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2613:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2613:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2613:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2613:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2613:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2613:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2624:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2624:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2624:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2624:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2624:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2624:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2629:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2629:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2629:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2629:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2629:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2629:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2634:7: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2634:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2634:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2634:7: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2634:7: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2634:7: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2645:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2645:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2645:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2645:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2645:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2645:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2679:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2679:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2679:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2679:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2679:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2679:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2693:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2693:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2693:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2693:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2693:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2693:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2707:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2707:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2707:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2707:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2707:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2707:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2728:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2728:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2728:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2728:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2728:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2728:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2738:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2738:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2738:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2738:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2738:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2738:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2763:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2763:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2763:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2763:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2763:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2763:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2789:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2789:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2789:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2789:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2789:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2789:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2815:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2815:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2815:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2815:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2815:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2815:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2841:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2841:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2841:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2841:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2841:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2841:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:2867:3: error: Subtracting pointers that point to different objects [subtractPointers] gdb-13.2/gdbserver/linux-x86-low.cc:2867:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2867:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2867:3: note: Variable declared here. gdb-13.2/gdbserver/linux-x86-low.cc:2867:3: note: Address of variable taken here. gdb-13.2/gdbserver/linux-x86-low.cc:2867:3: note: Subtracting pointers that point to different objects gdb-13.2/gdbserver/linux-x86-low.cc:1003:43: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-x86-low.cc:1031:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-x86-low.cc:1629:27: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/netbsd-aarch64-low.cc:33:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-aarch64-low.cc:51:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-amd64-low.cc:89:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-amd64-low.cc:126:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-i386-low.cc:57:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-i386-low.cc:86:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/notif.cc:132:58: style:inconclusive: Function 'notif_push' argument 2 names different: declaration 'event' definition 'new_event'. [funcArgNamesDifferent] gdb-13.2/gdbserver/notif.h:64:63: note: Function 'notif_push' argument 2 names different: declaration 'event' definition 'new_event'. gdb-13.2/gdbserver/notif.cc:132:58: note: Function 'notif_push' argument 2 names different: declaration 'event' definition 'new_event'. gdb-13.2/gdbserver/proc-service.cc:83:47: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/proc-service.cc:94:47: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/proc-service.cc:139:69: style: Parameter 'fpregset' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:6236:32: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-low.cc:6987:33: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-low.h:431:8: performance:inconclusive: Technically the member function 'linux_process_target::usr_fetch_inferior_registers' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdbserver/linux-low.cc:5249:23: note: Technically the member function 'linux_process_target::usr_fetch_inferior_registers' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdbserver/linux-low.h:431:8: note: Technically the member function 'linux_process_target::usr_fetch_inferior_registers' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdbserver/linux-low.h:439:8: performance:inconclusive: Technically the member function 'linux_process_target::usr_store_inferior_registers' can be static (but you may consider moving to unnamed namespace). [functionStatic] gdb-13.2/gdbserver/linux-low.cc:5268:23: note: Technically the member function 'linux_process_target::usr_store_inferior_registers' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdbserver/linux-low.h:439:8: note: Technically the member function 'linux_process_target::usr_store_inferior_registers' can be static (but you may consider moving to unnamed namespace). gdb-13.2/gdbserver/linux-low.cc:5309:11: style: Condition 'use_regsets' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-low.cc:5308:47: note: Calling function 'linux_register_in_regsets' returns 0 gdb-13.2/gdbserver/linux-low.cc:5308:47: note: Assignment 'use_regsets=linux_register_in_regsets(regs_info,regno)', assigned value is 0 gdb-13.2/gdbserver/linux-low.cc:5309:11: note: Condition 'use_regsets' is always false gdb-13.2/gdbserver/linux-low.cc:5312:12: style: Condition '!use_regsets' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-low.cc:5308:47: note: Calling function 'linux_register_in_regsets' returns 0 gdb-13.2/gdbserver/linux-low.cc:5308:47: note: Assignment 'use_regsets=linux_register_in_regsets(regs_info,regno)', assigned value is 0 gdb-13.2/gdbserver/linux-low.cc:5312:12: note: Condition '!use_regsets' is always true gdb-13.2/gdbserver/linux-low.cc:5334:11: style: Condition 'use_regsets' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-low.cc:5333:47: note: Calling function 'linux_register_in_regsets' returns 0 gdb-13.2/gdbserver/linux-low.cc:5333:47: note: Assignment 'use_regsets=linux_register_in_regsets(regs_info,regno)', assigned value is 0 gdb-13.2/gdbserver/linux-low.cc:5334:11: note: Condition 'use_regsets' is always false gdb-13.2/gdbserver/linux-low.cc:5337:12: style: Condition '!use_regsets' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/linux-low.cc:5333:47: note: Calling function 'linux_register_in_regsets' returns 0 gdb-13.2/gdbserver/linux-low.cc:5333:47: note: Assignment 'use_regsets=linux_register_in_regsets(regs_info,regno)', assigned value is 0 gdb-13.2/gdbserver/linux-low.cc:5337:12: note: Condition '!use_regsets' is always true gdb-13.2/gdbserver/linux-low.cc:1005:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1333:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1391:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1570:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1596:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1633:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1711:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1743:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1769:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1777:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:1866:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2050:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2456:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2503:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2618:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2698:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2717:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2727:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2742:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2820:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:2995:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:3689:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:3706:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:3790:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:3812:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:3855:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4228:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4328:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4341:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4586:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4735:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4746:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4836:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:4868:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:5552:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:5572:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:5597:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:5605:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:5915:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6136:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6181:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6195:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6236:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6247:24: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6254:24: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6279:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6286:26: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6317:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6355:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6523:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6639:6: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6915:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6926:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6987:20: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:6996:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:7005:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/linux-low.cc:494:20: style: The scope of the variable 'new_lwp' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-low.cc:508:11: style: The scope of the variable 'ret' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-low.cc:2810:24: style: The scope of the variable 'lwp' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-low.cc:5320:7: style: The scope of the variable 'use_regsets' can be reduced. [variableScope] gdb-13.2/gdbserver/linux-low.cc:1351:43: style:inconclusive: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:150:27: note: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/linux-low.cc:1351:43: note: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/linux-low.cc:1537:45: style:inconclusive: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:152:29: note: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/linux-low.cc:1537:45: note: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/linux-low.cc:1588:44: style:inconclusive: Function 'mourn' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:154:29: note: Function 'mourn' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/linux-low.cc:1588:44: note: Function 'mourn' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/linux-low.cc:1617:44: style:inconclusive: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:158:29: note: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. gdb-13.2/gdbserver/linux-low.cc:1617:44: note: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. gdb-13.2/gdbserver/linux-low.cc:3613:27: style:inconclusive: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:162:48: note: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. gdb-13.2/gdbserver/linux-low.cc:3613:27: note: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. gdb-13.2/gdbserver/linux-low.cc:3614:26: style:inconclusive: Function 'wait' argument 3 names different: declaration 'options' definition 'target_options'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:163:27: note: Function 'wait' argument 3 names different: declaration 'options' definition 'target_options'. gdb-13.2/gdbserver/linux-low.cc:3614:26: note: Function 'wait' argument 3 names different: declaration 'options' definition 'target_options'. gdb-13.2/gdbserver/linux-low.cc:5629:48: style:inconclusive: Function 'read_offsets' argument 1 names different: declaration 'text' definition 'text_p'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:206:32: note: Function 'read_offsets' argument 1 names different: declaration 'text' definition 'text_p'. gdb-13.2/gdbserver/linux-low.cc:5629:48: note: Function 'read_offsets' argument 1 names different: declaration 'text' definition 'text_p'. gdb-13.2/gdbserver/linux-low.cc:5629:67: style:inconclusive: Function 'read_offsets' argument 2 names different: declaration 'data' definition 'data_p'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:206:49: note: Function 'read_offsets' argument 2 names different: declaration 'data' definition 'data_p'. gdb-13.2/gdbserver/linux-low.cc:5629:67: note: Function 'read_offsets' argument 2 names different: declaration 'data' definition 'data_p'. gdb-13.2/gdbserver/linux-low.cc:5864:44: style:inconclusive: Function 'start_non_stop' argument 1 names different: declaration 'enable' definition 'nonstop'. [funcArgNamesDifferent] gdb-13.2/gdbserver/linux-low.h:229:28: note: Function 'start_non_stop' argument 1 names different: declaration 'enable' definition 'nonstop'. gdb-13.2/gdbserver/linux-low.cc:5864:44: note: Function 'start_non_stop' argument 1 names different: declaration 'enable' definition 'nonstop'. gdb-13.2/gdbserver/linux-low.cc:490:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/linux-low.cc:1388:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/linux-low.cc:2199:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/linux-low.cc:2222:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/linux-low.cc:2871:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/linux-low.cc:2926:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/linux-low.cc:141:25: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:152:31: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:169:41: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:177:34: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:185:35: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:193:35: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:315:37: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:750:17: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:800:17: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1011:28: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1223:16: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1223:61: style: Parameter 'thr_arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:1290:23: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1391:20: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1753:43: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:1783:43: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:1866:13: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1893:27: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1954:23: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:1973:71: style: Parameter 'wstat' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:2093:57: style: Parameter 'wstat' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:2095:23: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2270:37: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:2328:28: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2355:28: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2698:14: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2717:14: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2738:38: style: Parameter 'except' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:2784:16: style: Variable 'thread_stuck' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2892:23: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:2902:23: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:3687:46: style: Parameter 'except' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:3742:38: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:3752:23: style: Variable 'saved_thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:3902:70: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:3953:47: style: Parameter 'lwp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:4170:23: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:4328:20: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:4343:24: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:4563:21: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:4744:71: style: Parameter 'except' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:5250:21: style: Parameter 'regcache' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:5269:21: style: Parameter 'regcache' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/linux-low.cc:5552:20: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:5572:20: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:5597:20: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:5605:20: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:5926:25: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6247:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6254:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6279:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6286:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6915:13: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6926:13: style: Variable 'child' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:6996:14: style: Variable 'data_p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/linux-low.cc:7005:14: style: Variable 'data_p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/regcache.cc:130:4: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/regcache.cc:133:4: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/regcache.cc:134:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/regcache.cc:328:27: style:inconclusive: Function 'raw_supply' argument 1 names different: declaration 'regnum' definition 'n'. [funcArgNamesDifferent] gdb-13.2/gdbserver/regcache.h:53:24: note: Function 'raw_supply' argument 1 names different: declaration 'regnum' definition 'n'. gdb-13.2/gdbserver/regcache.cc:328:27: note: Function 'raw_supply' argument 1 names different: declaration 'regnum' definition 'n'. gdb-13.2/gdbserver/regcache.cc:431:28: style:inconclusive: Function 'raw_collect' argument 1 names different: declaration 'regnum' definition 'n'. [funcArgNamesDifferent] gdb-13.2/gdbserver/regcache.h:56:25: note: Function 'raw_collect' argument 1 names different: declaration 'regnum' definition 'n'. gdb-13.2/gdbserver/regcache.cc:431:28: note: Function 'raw_collect' argument 1 names different: declaration 'regnum' definition 'n'. gdb-13.2/gdbserver/regcache.cc:42:28: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/regcache.cc:423:36: style: Parameter 'regcache' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/regcache.cc:472:46: style: Parameter 'regcache' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:581:32: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/mem-break.cc:644:27: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/mem-break.cc:722:31: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/mem-break.cc:767:27: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/mem-break.cc:1763:27: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/linux-low.cc:2116:6: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdbserver/linux-low.cc:2913:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdbserver/mem-break.cc:1186:26: warning: Either the condition 'condition==NULL' is redundant or there is possible null pointer dereference: condition. [nullPointerRedundantCheck] gdb-13.2/gdbserver/mem-break.cc:1189:17: note: Assuming that condition 'condition==NULL' is not redundant gdb-13.2/gdbserver/mem-break.cc:1186:26: note: Null pointer dereference gdb-13.2/gdbserver/mem-break.cc:1285:26: warning: Either the condition 'command==NULL' is redundant or there is possible null pointer dereference: command. [nullPointerRedundantCheck] gdb-13.2/gdbserver/mem-break.cc:1288:15: note: Assuming that condition 'command==NULL' is not redundant gdb-13.2/gdbserver/mem-break.cc:1285:26: note: Null pointer dereference gdb-13.2/gdbserver/mem-break.cc:314:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:581:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:639:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:644:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:722:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:767:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:808:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:816:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:823:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1042:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1100:33: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1397:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1414:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1506:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1578:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1612:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1653:6: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:1763:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2038:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2072:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2082:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2092:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2098:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2099:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:2106:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/mem-break.cc:694:7: style: The scope of the variable 'err' can be reduced. [variableScope] gdb-13.2/gdbserver/mem-break.cc:914:7: style: The scope of the variable 'ret' can be reduced. [variableScope] gdb-13.2/gdbserver/mem-break.cc:965:39: style:inconclusive: Function 'delete_breakpoint' argument 1 names different: declaration 'bkpt' definition 'todel'. [funcArgNamesDifferent] gdb-13.2/gdbserver/mem-break.h:155:43: note: Function 'delete_breakpoint' argument 1 names different: declaration 'bkpt' definition 'todel'. gdb-13.2/gdbserver/mem-break.cc:965:39: note: Function 'delete_breakpoint' argument 1 names different: declaration 'bkpt' definition 'todel'. gdb-13.2/gdbserver/mem-break.cc:1282:66: style:inconclusive: Function 'add_breakpoint_commands' argument 2 names different: declaration 'commands' definition 'command'. [funcArgNamesDifferent] gdb-13.2/gdbserver/mem-break.h:125:70: note: Function 'add_breakpoint_commands' argument 2 names different: declaration 'commands' definition 'command'. gdb-13.2/gdbserver/mem-break.cc:1282:66: note: Function 'add_breakpoint_commands' argument 2 names different: declaration 'commands' definition 'command'. gdb-13.2/gdbserver/mem-break.cc:1457:36: style:inconclusive: Function 'uninsert_breakpoints_at' argument 1 names different: declaration 'where' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/mem-break.h:187:41: note: Function 'uninsert_breakpoints_at' argument 1 names different: declaration 'where' definition 'pc'. gdb-13.2/gdbserver/mem-break.cc:1457:36: note: Function 'uninsert_breakpoints_at' argument 1 names different: declaration 'where' definition 'pc'. gdb-13.2/gdbserver/mem-break.cc:1540:36: style:inconclusive: Function 'reinsert_breakpoints_at' argument 1 names different: declaration 'where' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/gdbserver/mem-break.h:178:41: note: Function 'reinsert_breakpoints_at' argument 1 names different: declaration 'where' definition 'pc'. gdb-13.2/gdbserver/mem-break.cc:1540:36: note: Function 'reinsert_breakpoints_at' argument 1 names different: declaration 'where' definition 'pc'. gdb-13.2/gdbserver/mem-break.cc:222:33: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:233:35: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:545:32: style: Variable 'jp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/mem-break.cc:551:59: style: Parameter 'todel' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:620:21: style: Parameter 'insn' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:862:74: style: Parameter 'todel' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:932:68: style: Parameter 'todel' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:1567:50: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:1638:30: style: Variable 'raw' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/mem-break.cc:2123:44: style: Parameter 'child_thread' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/mem-break.cc:2131:24: style: Variable 'parent_proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/mem-break.cc:950:7: style: Variable 'bp' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/mem-break.cc:1573:11: style: Variable 'bp_link' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/symbol.cc:27:25: style: Parameter 'objfile' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/netbsd-low.cc:176:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:416:54: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:449:27: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:589:33: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:1089:42: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:871:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:817:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:840:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:763:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/netbsd-low.cc:381:69: style:inconclusive: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:63:48: note: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. gdb-13.2/gdbserver/netbsd-low.cc:381:69: note: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. gdb-13.2/gdbserver/netbsd-low.cc:382:27: style:inconclusive: Function 'wait' argument 3 names different: declaration 'options' definition 'target_options'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:64:27: note: Function 'wait' argument 3 names different: declaration 'options' definition 'target_options'. gdb-13.2/gdbserver/netbsd-low.cc:382:27: note: Function 'wait' argument 3 names different: declaration 'options' definition 'target_options'. gdb-13.2/gdbserver/netbsd-low.cc:429:44: style:inconclusive: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:51:27: note: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/netbsd-low.cc:429:44: note: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/netbsd-low.cc:445:46: style:inconclusive: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:53:29: note: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/netbsd-low.cc:445:46: note: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/netbsd-low.cc:476:45: style:inconclusive: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:59:29: note: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. gdb-13.2/gdbserver/netbsd-low.cc:476:45: note: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. gdb-13.2/gdbserver/netbsd-low.cc:534:13: style:inconclusive: Function 'read_memory' argument 3 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:71:10: note: Function 'read_memory' argument 3 names different: declaration 'len' definition 'size'. gdb-13.2/gdbserver/netbsd-low.cc:534:13: note: Function 'read_memory' argument 3 names different: declaration 'len' definition 'size'. gdb-13.2/gdbserver/netbsd-low.cc:544:43: style:inconclusive: Function 'write_memory' argument 3 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:74:11: note: Function 'write_memory' argument 3 names different: declaration 'len' definition 'size'. gdb-13.2/gdbserver/netbsd-low.cc:544:43: note: Function 'write_memory' argument 3 names different: declaration 'len' definition 'size'. gdb-13.2/gdbserver/netbsd-low.cc:1222:44: style:inconclusive: Function 'thread_name' argument 1 names different: declaration 'thread' definition 'ptid'. [funcArgNamesDifferent] gdb-13.2/gdbserver/netbsd-low.h:126:35: note: Function 'thread_name' argument 1 names different: declaration 'thread' definition 'ptid'. gdb-13.2/gdbserver/netbsd-low.cc:1222:44: note: Function 'thread_name' argument 1 names different: declaration 'thread' definition 'ptid'. gdb-13.2/gdbserver/netbsd-low.cc:268:14: style: Variable 'si' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/netbsd-low.cc:763:24: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/netbsd-low.cc:817:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/netbsd-low.cc:840:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/netbsd-low.cc:1163:24: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/netbsd-low.cc:194:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdbserver/netbsd-low.cc:944:9: style: struct member 'link_map_offsets::r_version_offset' is never used. [unusedStructMember] gdb-13.2/gdbserver/remote-utils.cc:1212:12: style: Condition '1||cs.general_thread!=ptid' is always true [knownConditionTrueFalse] gdb-13.2/gdbserver/remote-utils.cc:149:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:156:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:162:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:185:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:287:54: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:293:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:296:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:387:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:390:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:638:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1104:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1313:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1339:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1341:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1367:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1385:43: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1445:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1469:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1564:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1619:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:1622:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/remote-utils.cc:435:8: style: The scope of the variable 'ch' can be reduced. [variableScope] gdb-13.2/gdbserver/remote-utils.cc:522:7: style: The scope of the variable 'pid' can be reduced. [variableScope] gdb-13.2/gdbserver/remote-utils.cc:919:17: style: The scope of the variable 'csum' can be reduced. [variableScope] gdb-13.2/gdbserver/remote-utils.cc:703:31: style:inconclusive: Function 'putpkt_binary' argument 2 names different: declaration 'len' definition 'cnt'. [funcArgNamesDifferent] gdb-13.2/gdbserver/remote-utils.h:31:35: note: Function 'putpkt_binary' argument 2 names different: declaration 'len' definition 'cnt'. gdb-13.2/gdbserver/remote-utils.cc:703:31: note: Function 'putpkt_binary' argument 2 names different: declaration 'len' definition 'cnt'. gdb-13.2/gdbserver/remote-utils.cc:521:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/remote-utils.cc:631:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/remote-utils.cc:917:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/remote-utils.cc:473:16: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/remote-utils.cc:1355:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/remote-utils.cc:1241:10: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/remote-utils.cc:1263:11: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/target.cc:110:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/target.cc:718:17: style:inconclusive: Function 'read_btrace' argument 2 names different: declaration 'buf' definition 'buffer'. [funcArgNamesDifferent] gdb-13.2/gdbserver/target.h:406:63: note: Function 'read_btrace' argument 2 names different: declaration 'buf' definition 'buffer'. gdb-13.2/gdbserver/target.cc:718:17: note: Function 'read_btrace' argument 2 names different: declaration 'buf' definition 'buffer'. gdb-13.2/gdbserver/target.cc:726:16: style:inconclusive: Function 'read_btrace_conf' argument 2 names different: declaration 'buf' definition 'buffer'. [funcArgNamesDifferent] gdb-13.2/gdbserver/target.h:413:13: note: Function 'read_btrace_conf' argument 2 names different: declaration 'buf' definition 'buffer'. gdb-13.2/gdbserver/target.cc:726:16: note: Function 'read_btrace_conf' argument 2 names different: declaration 'buf' definition 'buffer'. gdb-13.2/gdbserver/tdesc.cc:26:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tdesc.cc:27:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tdesc.cc:228:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gdbserver/utils.cc:68:23: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/utils.cc:68:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:411:7: style: The if condition is the same as the previous if condition [duplicateCondition] gdb-13.2/gdbserver/thread-db.cc:409:7: note: First condition gdb-13.2/gdbserver/thread-db.cc:411:7: note: Second condition gdb-13.2/gdbserver/thread-db.cc:164:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:299:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:408:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:435:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:464:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:471:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:552:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:564:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:565:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:566:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:567:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:570:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:571:3: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:656:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:776:4: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:819:24: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/thread-db.cc:219:24: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:255:20: style: Variable 'lwp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:374:21: style: Variable 'thread_db' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:452:21: style: Variable 'thread_db' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:689:13: style: Variable 'this_dir' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:730:24: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:800:21: style: Variable 'thread_db' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/thread-db.cc:878:21: style: Variable 'thread_db' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/win32-i386-low.cc:45:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:79:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:481:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:486:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:487:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:491:14: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:492:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-i386-low.cc:517:22: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbsupport/common-debug.h:55:13: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD is a macro then please configure it. [unknownMacro] gdb-13.2/gdbserver/win32-low.cc:494:37: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/win32-low.cc:549:28: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/win32-low.cc:550:27: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/win32-low.cc:569:32: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/win32-low.cc:153:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:190:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:407:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:494:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:533:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:549:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:550:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:569:23: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:587:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:658:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:664:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:936:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:1274:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:1285:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:1333:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/win32-low.cc:455:7: style: The scope of the variable 'regno' can be reduced. [variableScope] gdb-13.2/gdbserver/win32-low.cc:471:7: style: The scope of the variable 'regno' can be reduced. [variableScope] gdb-13.2/gdbserver/win32-low.cc:526:21: style: The scope of the variable 'new_path' can be reduced. [variableScope] gdb-13.2/gdbserver/win32-low.cc:700:43: style:inconclusive: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/win32-low.h:101:27: note: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/win32-low.cc:700:43: note: Function 'kill' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/win32-low.cc:726:45: style:inconclusive: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/win32-low.h:103:29: note: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/win32-low.cc:726:45: note: Function 'detach' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/win32-low.cc:745:51: style:inconclusive: Function 'mourn' argument 1 names different: declaration 'proc' definition 'process'. [funcArgNamesDifferent] gdb-13.2/gdbserver/win32-low.h:105:29: note: Function 'mourn' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/win32-low.cc:745:51: note: Function 'mourn' argument 1 names different: declaration 'proc' definition 'process'. gdb-13.2/gdbserver/win32-low.cc:765:44: style:inconclusive: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. [funcArgNamesDifferent] gdb-13.2/gdbserver/win32-low.h:109:29: note: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. gdb-13.2/gdbserver/win32-low.cc:765:44: note: Function 'thread_alive' argument 1 names different: declaration 'pid' definition 'ptid'. gdb-13.2/gdbserver/win32-low.cc:867:57: style:inconclusive: Function 'handle_load_dll' argument 1 names different: declaration 'dll_name' definition 'name'. [funcArgNamesDifferent] gdb-13.2/gdbserver/win32-low.h:181:37: note: Function 'handle_load_dll' argument 1 names different: declaration 'dll_name' definition 'name'. gdb-13.2/gdbserver/win32-low.cc:867:57: note: Function 'handle_load_dll' argument 1 names different: declaration 'dll_name' definition 'name'. gdb-13.2/gdbserver/win32-low.cc:1202:61: style:inconclusive: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. [funcArgNamesDifferent] gdb-13.2/gdbserver/win32-low.h:113:48: note: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. gdb-13.2/gdbserver/win32-low.cc:1202:61: note: Function 'wait' argument 2 names different: declaration 'status' definition 'ourstatus'. gdb-13.2/gdbserver/win32-low.cc:728:24: style: Local variable 'resume' shadows outer function [shadowFunction] gdb-13.2/gdbserver/win32-low.h:111:8: note: Shadowed declaration gdb-13.2/gdbserver/win32-low.cc:728:24: note: Shadow variable gdb-13.2/gdbserver/win32-low.cc:1379:24: style: Variable 'th' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbsupport/common-inferior.cc:104:18: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbsupport/common-inferior.cc:106:10: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbsupport/event-loop.cc:261:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbsupport/event-loop.cc:413:7: style: The scope of the variable 'i' can be reduced. [variableScope] gdb-13.2/gdbsupport/event-loop.cc:587:17: style: The scope of the variable 'file_ptr' can be reduced. [variableScope] gdb-13.2/gdbsupport/search.cc:70:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbsupport/search.cc:66:17: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/openat.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] gdb-13.2/gnulib/import/basename-lgpl.c:60:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/gnulib/import/canonicalize-lgpl.c:444:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] gdb-13.2/gnulib/import/chdir-long.c:33:0: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] gdb-13.2/gdbserver/tracepoint.cc:3619:19: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:3624:19: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:3629:19: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:3658:13: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:3667:34: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:3779:18: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:3868:22: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/tracepoint.cc:6018:24: style: Condition 'tpoint->cond!=NULL' is always true [knownConditionTrueFalse] gdb-13.2/gnulib/import/count-one-bits.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] gdb-13.2/gdbserver/tracepoint.cc:319:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:412:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:422:41: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:429:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:432:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:440:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:442:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:448:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:454:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:460:40: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:518:36: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:527:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:541:36: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:561:36: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:563:33: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:598:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:609:36: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1432:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1433:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1460:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1467:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1488:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1632:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1649:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1746:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:1747:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2169:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2196:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2218:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2251:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2253:17: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2300:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2333:39: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2450:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2458:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2691:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2699:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2700:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2741:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:2742:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3010:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3055:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3619:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3620:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3624:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3625:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3629:10: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3630:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3644:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3658:4: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3661:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3667:25: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3779:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3780:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3862:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3868:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:3869:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4093:11: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4094:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4107:12: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4108:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4121:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4122:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4405:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4564:7: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4565:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4737:43: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4763:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4831:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:4979:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5007:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5009:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5012:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5050:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5397:28: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5689:5: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:5988:35: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6046:31: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6146:4: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6257:33: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6265:6: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6395:8: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6440:37: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6526:9: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/tracepoint.cc:6821:34: style: C-style pointer casting [cstyleCast] gdb-13.2/gnulib/import/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] gdb-13.2/gnulib/import/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=((void)(file),0)', assigned value is 0 gdb-13.2/gnulib/import/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false gdb-13.2/gdbserver/tracepoint.cc:1525:22: style: The scope of the variable 'oldest' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:2816:7: style: The scope of the variable 'err' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:2850:27: style: The scope of the variable 'roreg' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:3540:14: style: The scope of the variable 'tpnum' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:3733:9: style: The scope of the variable 'buf' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:3863:7: style: The scope of the variable 'namelen' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:4606:7: style: The scope of the variable 'acti' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:4655:7: style: The scope of the variable 'acti' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:4754:25: style: The scope of the variable 'err' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:4922:18: style: The scope of the variable 'mspace' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:4964:18: style: The scope of the variable 'buf' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:4964:24: style: The scope of the variable 'mspace' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:5167:22: style: The scope of the variable 'tpoint' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:6437:22: style: The scope of the variable 'block' can be reduced. [variableScope] gdb-13.2/gdbserver/tracepoint.cc:2990:47: style:inconclusive: Function 'have_fast_tracepoint_trampoline_buffer' argument 1 names different: declaration 'msgbuf' definition 'buf'. [funcArgNamesDifferent] gdb-13.2/gdbserver/tracepoint.h:157:51: note: Function 'have_fast_tracepoint_trampoline_buffer' argument 1 names different: declaration 'msgbuf' definition 'buf'. gdb-13.2/gdbserver/tracepoint.cc:2990:47: note: Function 'have_fast_tracepoint_trampoline_buffer' argument 1 names different: declaration 'msgbuf' definition 'buf'. gdb-13.2/gdbserver/tracepoint.cc:4137:38: style:inconclusive: Function 'handle_tracepoint_general_set' argument 1 names different: declaration 'own_buf' definition 'packet'. [funcArgNamesDifferent] gdb-13.2/gdbserver/tracepoint.h:78:42: note: Function 'handle_tracepoint_general_set' argument 1 names different: declaration 'own_buf' definition 'packet'. gdb-13.2/gdbserver/tracepoint.cc:4137:38: note: Function 'handle_tracepoint_general_set' argument 1 names different: declaration 'own_buf' definition 'packet'. gdb-13.2/gdbserver/tracepoint.cc:4214:32: style:inconclusive: Function 'handle_tracepoint_query' argument 1 names different: declaration 'own_buf' definition 'packet'. [funcArgNamesDifferent] gdb-13.2/gdbserver/tracepoint.h:79:36: note: Function 'handle_tracepoint_query' argument 1 names different: declaration 'own_buf' definition 'packet'. gdb-13.2/gdbserver/tracepoint.cc:4214:32: note: Function 'handle_tracepoint_query' argument 1 names different: declaration 'own_buf' definition 'packet'. gdb-13.2/gdbserver/tracepoint.cc:5277:26: style:inconclusive: Function 'traceframe_read_tsv' argument 1 names different: declaration 'num' definition 'tsvnum'. [funcArgNamesDifferent] gdb-13.2/gdbserver/tracepoint.cc:1348:37: note: Function 'traceframe_read_tsv' argument 1 names different: declaration 'num' definition 'tsvnum'. gdb-13.2/gdbserver/tracepoint.cc:5277:26: note: Function 'traceframe_read_tsv' argument 1 names different: declaration 'num' definition 'tsvnum'. gdb-13.2/gdbserver/tracepoint.cc:2287:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/tracepoint.cc:2321:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/tracepoint.cc:2813:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/tracepoint.cc:5279:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gnulib/import/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] gdb-13.2/gdbserver/tracepoint.cc:526:33: style: Variable 'maction' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:598:28: style: Variable 'eaction' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:1866:39: style: Parameter 'tpoint' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/tracepoint.cc:2191:36: style: Parameter 'tpoint' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/tracepoint.cc:2234:39: style: Parameter 'tframe' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/tracepoint.cc:2267:22: style: Variable 'tpoint' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:3187:31: style: Variable 'prev_ftpoint' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:3187:46: style: Variable 'prev_stpoint' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:3696:22: style: Variable 'tpoint' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:3761:10: style: Parameter 'taction' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/tracepoint.cc:5048:49: style: Parameter 'dataptr' can be declared as pointer to const. However it seems that 'match_blocktype' is a callback function, if 'dataptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gdbserver/tracepoint.cc:5143:6: note: You might need to cast the function pointer here gdb-13.2/gdbserver/tracepoint.cc:5048:49: note: Parameter 'dataptr' can be declared as pointer to const gdb-13.2/gdbserver/tracepoint.cc:5050:9: style: Variable 'wantedp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:5166:18: style: Variable 'dataptr' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:5220:18: style: Variable 'database' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:5282:18: style: Variable 'database' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:6069:30: style: Variable 'action' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:6117:33: style: Variable 'action' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/tracepoint.cc:6168:27: style: Variable 'tp_prev' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/ffs.c:51:27: style: Variable 'table' can be declared as const array [constVariable] gdb-13.2/gnulib/import/stat-time.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] gdb-13.2/gnulib/import/getcwd.c:318:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gdb-13.2/gnulib/import/getcwd.c:331:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gdb-13.2/gnulib/import/getcwd.c:265:24: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/getlogin_r.c:99:7: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] gdb-13.2/gnulib/import/getlogin_r.c:95:9: style: Variable 'n' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/getprogname.c:291:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] gdb-13.2/gnulib/import/getrandom.c:178:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gnulib/import/gettimeofday.c:143:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] gdb-13.2/gdbserver/server.cc:996:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/gnulib/import/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] gdb-13.2/gnulib/import/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/server.cc:1668:33: warning: Obsolete function 'alloca' called. [allocaCalled] gdb-13.2/gdbserver/server.cc:112:15: style:inconclusive: Technically the member function 'Anonymous0::get' can be const. [functionConst] gdb-13.2/gnulib/import/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] gdb-13.2/gnulib/import/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. gdb-13.2/gnulib/import/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. gdb-13.2/gnulib/import/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gnulib/import/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gnulib/import/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gnulib/import/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gnulib/import/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gnulib/import/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/gdbserver/server.cc:1738:11: style: Condition '!res' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/server.cc:1732:46: note: Calling function 'handle_qxfer_threads_proper' returns 1 gdb-13.2/gdbserver/server.cc:1732:46: note: Assignment 'res=handle_qxfer_threads_proper(&buffer)', assigned value is 1 gdb-13.2/gdbserver/server.cc:1738:11: note: Condition '!res' is always false gdb-13.2/gdbserver/server.cc:2029:50: style: Condition 'decode_xfer_read(offset,&ofs,&len)<0' is always false [knownConditionTrueFalse] gdb-13.2/gdbserver/server.cc:2029:29: note: Calling function 'decode_xfer_read' returns 0 gdb-13.2/gdbserver/server.cc:2029:50: note: Condition 'decode_xfer_read(offset,&ofs,&len)<0' is always false gdb-13.2/gdbserver/server.cc:185:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:222:32: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:232:38: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:395:46: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:1112:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:1668:24: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:2039:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:2073:15: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:2597:19: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:2607:29: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:2796:18: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:3008:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:3010:21: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:3016:16: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:3393:30: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:3913:13: style: C-style pointer casting [cstyleCast] gdb-13.2/gdbserver/server.cc:3851:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/gdbserver/server.cc:1641:8: style: The scope of the variable 'core_s' can be reduced. [variableScope] gdb-13.2/gdbserver/server.cc:1836:7: style: The scope of the variable 'result' can be reduced. [variableScope] gdb-13.2/gdbserver/server.cc:1916:7: style: The scope of the variable 'result' can be reduced. [variableScope] gdb-13.2/gdbserver/server.cc:4268:21: style: The scope of the variable 'regcache' can be reduced. [variableScope] gdb-13.2/gdbserver/server.cc:4285:21: style: The scope of the variable 'regcache' can be reduced. [variableScope] gdb-13.2/gdbserver/server.cc:2889:47: style:inconclusive: Function 'resume' argument 2 names different: declaration 'n' definition 'num_actions'. [funcArgNamesDifferent] gdb-13.2/gdbserver/server.cc:2722:59: note: Function 'resume' argument 2 names different: declaration 'n' definition 'num_actions'. gdb-13.2/gdbserver/server.cc:2889:47: note: Function 'resume' argument 2 names different: declaration 'n' definition 'num_actions'. gdb-13.2/gdbserver/server.cc:1645:8: style: Local variable 'handle_status' shadows outer function [shadowFunction] gdb-13.2/gdbserver/server.cc:3333:1: note: Shadowed declaration gdb-13.2/gdbserver/server.cc:1645:8: note: Shadow variable gdb-13.2/gdbserver/server.cc:443:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:492:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:1050:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:1084:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:1616:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:1766:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:2952:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:3124:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:3221:17: style: Variable 'cs' can be declared as reference to const [constVariableReference] gdb-13.2/gdbserver/server.cc:341:25: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/server.cc:783:13: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/server.cc:839:13: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/server.cc:1226:20: style: Variable 'child' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/server.cc:2510:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/server.cc:2899:20: style: Variable 'thread_with_status' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/server.cc:3381:41: style: Parameter 'thr_arg' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/server.cc:3545:43: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/server.cc:3556:43: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/server.cc:3779:15: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] gdb-13.2/gdbserver/server.cc:253:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gdb-13.2/gnulib/import/inet_ntop.c:92:27: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] gdb-13.2/gdbserver/server.cc:996:8: style: Variable 'annex' is assigned a value that is never used. [unreadVariable] gdb-13.2/gdbserver/server.cc:2254:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gdbserver/server.cc:2266:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gdb-13.2/gnulib/import/isnan.c:80:24: style: union member 'memory_double::value' is never used. [unusedStructMember] gdb-13.2/gnulib/import/isnan.c:80:44: style: union member 'memory_double::word' is never used. [unusedStructMember] gdb-13.2/gnulib/import/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] gdb-13.2/gnulib/import/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 gdb-13.2/gnulib/import/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true gdb-13.2/gnulib/import/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] gdb-13.2/gnulib/import/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] gdb-13.2/gnulib/import/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] gdb-13.2/gnulib/import/malloc/scratch_buffer_dupfree.c:38:7: error: Memory leak: copy [memleak] gdb-13.2/gnulib/import/malloc/scratch_buffer_dupfree.c:27:55: style: Parameter 'buffer' can be declared as pointer to const. However it seems that '__libc_scratch_buffer_dupfree' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gnulib/import/malloc/scratch_buffer_dupfree.c:41:18: note: You might need to cast the function pointer here gdb-13.2/gnulib/import/malloc/scratch_buffer_dupfree.c:27:55: note: Parameter 'buffer' can be declared as pointer to const gdb-13.2/gnulib/import/glob.c:663:27: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gdb-13.2/gnulib/import/glob.c:836:17: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gdb-13.2/gnulib/import/glob.c:1375:41: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gdb-13.2/gnulib/import/glob.c:1334:34: warning: Possible null pointer dereference: fullname [nullPointer] gdb-13.2/gnulib/import/glob.c:1326:20: note: Assignment 'fullname=((void)(fullsize),(void)(alloca_used),(void*)0)', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1334:34: note: Null pointer dereference gdb-13.2/gnulib/import/glob.c:1435:23: warning: Possible null pointer dereference: newnames [nullPointer] gdb-13.2/gnulib/import/glob.c:1431:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1435:23: note: Null pointer dereference gdb-13.2/gnulib/import/glob.c:1436:23: warning: Possible null pointer dereference: newnames [nullPointer] gdb-13.2/gnulib/import/glob.c:1431:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1436:23: note: Null pointer dereference gdb-13.2/gnulib/import/glob.c:1440:19: warning: Possible null pointer dereference: names [nullPointer] gdb-13.2/gnulib/import/glob.c:1431:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1437:31: note: Assignment 'names=newnames', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1440:19: note: Null pointer dereference gdb-13.2/gnulib/import/glob.c:1441:23: warning: Possible null pointer dereference: names [nullPointer] gdb-13.2/gnulib/import/glob.c:1431:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1437:31: note: Assignment 'names=newnames', assigned value is 0 gdb-13.2/gnulib/import/glob.c:1441:23: note: Null pointer dereference gdb-13.2/gnulib/import/glob.c:647:30: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/glob.c:753:17: style: Variable 'end_name' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/glob.c:818:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/glob.c:1209:31: style: Variable 's1' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/glob.c:1210:31: style: Variable 's2' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/glob.c:1360:16: style: Variable 'dirp' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/glob.c:1292:12: style: struct member 'Anonymous1::next' is never used. [unusedStructMember] gdb-13.2/gnulib/import/glob.c:1292:12: style: struct member 'Anonymous1::count' is never used. [unusedStructMember] gdb-13.2/gnulib/import/glob.c:1292:12: style: struct member 'Anonymous1::name' is never used. [unusedStructMember] gdb-13.2/gnulib/import/glob.c:648:29: style: Unused variable: pwbuf [unusedVariable] gdb-13.2/gnulib/import/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] gdb-13.2/gnulib/import/rawmemchr.c:111:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gnulib/import/rawmemchr.c:52:36: note: s is assigned gdb-13.2/gnulib/import/rawmemchr.c:111:16: note: s is overwritten gdb-13.2/gnulib/import/rawmemchr.c:111:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] gdb-13.2/gnulib/import/rename.c:468:2: style: Label 'out' is not used. [unusedLabel] gdb-13.2/gnulib/import/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/gnulib/import/strchrnul.c:129:12: note: char_ptr is assigned gdb-13.2/gnulib/import/strchrnul.c:138:12: note: char_ptr is overwritten gdb-13.2/gnulib/import/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] gdb-13.2/gnulib/import/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 gdb-13.2/gnulib/import/strerror.c:45:7: note: Condition 'msg' is always false gdb-13.2/gnulib/import/strerror_r.c:154:9: style: Condition 'msg' is always false [knownConditionTrueFalse] gdb-13.2/gnulib/import/strerror_r.c:152:23: note: Assignment 'msg=NULL', assigned value is 0 gdb-13.2/gnulib/import/strerror_r.c:154:9: note: Condition 'msg' is always false gdb-13.2/gnulib/import/strerror_r.c:312:13: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/time_r.c:37:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] gdb-13.2/gnulib/import/time_r.c:43:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gdb-13.2/gnulib/import/tempname.c:175:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gnulib/import/tempname.c:226:21: note: You might need to cast the function pointer here gdb-13.2/gnulib/import/tempname.c:175:17: note: Parameter 'tmpl' can be declared as pointer to const gdb-13.2/gnulib/import/tempname.c:177:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] gdb-13.2/gnulib/import/tempname.c:184:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gnulib/import/tempname.c:227:20: note: You might need to cast the function pointer here gdb-13.2/gnulib/import/tempname.c:184:16: note: Parameter 'tmpl' can be declared as pointer to const gdb-13.2/gnulib/import/tempname.c:184:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gnulib/import/tempname.c:227:20: note: You might need to cast the function pointer here gdb-13.2/gnulib/import/tempname.c:184:39: note: Parameter 'flags' can be declared as pointer to const gdb-13.2/gnulib/import/tempname.c:190:21: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_nocreate' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/gnulib/import/tempname.c:278:35: note: You might need to cast the function pointer here gdb-13.2/gnulib/import/tempname.c:190:21: note: Parameter 'tmpl' can be declared as pointer to const gdb-13.2/gnulib/import/tempname.c:244:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] gdb-13.2/intl/dcgettext.c:48:18: style:inconclusive: Function 'libintl_dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:182:24: note: Function 'libintl_dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dcgettext.c:48:18: note: Function 'libintl_dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dcgettext.c:49:18: style:inconclusive: Function 'libintl_dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:182:24: note: Function 'libintl_dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. gdb-13.2/intl/dcgettext.c:49:18: note: Function 'libintl_dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. gdb-13.2/intl/dcgettext.c:50:10: style:inconclusive: Function 'libintl_dcgettext' argument 3 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:182:24: note: Function 'libintl_dcgettext' argument 3 names different: declaration '__category' definition 'category'. gdb-13.2/intl/dcgettext.c:50:10: note: Function 'libintl_dcgettext' argument 3 names different: declaration '__category' definition 'category'. gdb-13.2/intl/bindtextdom.c:352:18: style:inconclusive: Function 'libintl_bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:299:29: note: Function 'libintl_bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/bindtextdom.c:352:18: note: Function 'libintl_bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/bindtextdom.c:353:18: style:inconclusive: Function 'libintl_bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:299:29: note: Function 'libintl_bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. gdb-13.2/intl/bindtextdom.c:353:18: note: Function 'libintl_bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. gdb-13.2/intl/bindtextdom.c:363:18: style:inconclusive: Function 'libintl_bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:318:38: note: Function 'libintl_bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/bindtextdom.c:363:18: note: Function 'libintl_bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/bindtextdom.c:364:18: style:inconclusive: Function 'libintl_bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:318:38: note: Function 'libintl_bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. gdb-13.2/intl/bindtextdom.c:364:18: note: Function 'libintl_bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. gdb-13.2/intl/bindtextdom.c:259:12: style: Local variable 'len' shadows outer variable [shadowVariable] gdb-13.2/intl/bindtextdom.c:231:14: note: Shadowed declaration gdb-13.2/intl/bindtextdom.c:259:12: note: Shadow variable gdb-13.2/intl/bindtextdom.c:290:15: style: Local variable 'len' shadows outer variable [shadowVariable] gdb-13.2/intl/bindtextdom.c:231:14: note: Shadowed declaration gdb-13.2/intl/bindtextdom.c:290:15: note: Shadow variable gdb-13.2/gnulib/import/fnmatch.c:252:20: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: pattern. [nullPointerRedundantCheck] gdb-13.2/gnulib/import/fnmatch.c:263:15: note: Assuming that condition 'p' is not redundant gdb-13.2/gnulib/import/fnmatch.c:251:9: note: p is assigned 'pattern' here. gdb-13.2/gnulib/import/fnmatch.c:252:20: note: Null pointer dereference gdb-13.2/gnulib/import/fnmatch.c:292:20: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] gdb-13.2/gnulib/import/fnmatch.c:308:15: note: Assuming that condition 'p' is not redundant gdb-13.2/gnulib/import/fnmatch.c:293:11: note: Assignment to 'p=string' gdb-13.2/gnulib/import/fnmatch.c:292:20: note: Null pointer dereference gdb-13.2/intl/dcngettext.c:48:18: style:inconclusive: Function 'libintl_dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:258:25: note: Function 'libintl_dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dcngettext.c:48:18: note: Function 'libintl_dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dcngettext.c:49:18: style:inconclusive: Function 'libintl_dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:258:25: note: Function 'libintl_dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/dcngettext.c:49:18: note: Function 'libintl_dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/dcngettext.c:50:18: style:inconclusive: Function 'libintl_dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:258:25: note: Function 'libintl_dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/dcngettext.c:50:18: note: Function 'libintl_dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/dcngettext.c:51:24: style:inconclusive: Function 'libintl_dcngettext' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:258:25: note: Function 'libintl_dcngettext' argument 4 names different: declaration '__n' definition 'n'. gdb-13.2/intl/dcngettext.c:51:24: note: Function 'libintl_dcngettext' argument 4 names different: declaration '__n' definition 'n'. gdb-13.2/intl/dcngettext.c:52:10: style:inconclusive: Function 'libintl_dcngettext' argument 5 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:258:25: note: Function 'libintl_dcngettext' argument 5 names different: declaration '__category' definition 'category'. gdb-13.2/intl/dcngettext.c:52:10: note: Function 'libintl_dcngettext' argument 5 names different: declaration '__category' definition 'category'. gdb-13.2/gnulib/import/fnmatch_loop.c:934:18: style:inconclusive: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] gdb-13.2/gnulib/import/fnmatch_loop.c:37:37: note: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. gdb-13.2/gnulib/import/fnmatch_loop.c:934:18: note: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. gdb-13.2/gnulib/import/fnmatch_loop.c:934:18: style:inconclusive: Function 'end_wpattern' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] gdb-13.2/gnulib/import/fnmatch_loop.c:37:37: note: Function 'end_wpattern' argument 1 names different: declaration 'patternp' definition 'pattern'. gdb-13.2/gnulib/import/fnmatch_loop.c:934:18: note: Function 'end_wpattern' argument 1 names different: declaration 'patternp' definition 'pattern'. gdb-13.2/intl/dgettext.c:51:18: style:inconclusive: Function 'libintl_dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:160:23: note: Function 'libintl_dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dgettext.c:51:18: note: Function 'libintl_dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dgettext.c:52:18: style:inconclusive: Function 'libintl_dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:160:23: note: Function 'libintl_dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. gdb-13.2/intl/dgettext.c:52:18: note: Function 'libintl_dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. gdb-13.2/intl/dcigettext.c:549:10: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] gdb-13.2/intl/dcigettext.c:588:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] gdb-13.2/intl/dngettext.c:51:18: style:inconclusive: Function 'libintl_dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:231:24: note: Function 'libintl_dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dngettext.c:51:18: note: Function 'libintl_dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dngettext.c:52:18: style:inconclusive: Function 'libintl_dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:231:24: note: Function 'libintl_dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/dngettext.c:52:18: note: Function 'libintl_dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/dngettext.c:53:18: style:inconclusive: Function 'libintl_dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:231:24: note: Function 'libintl_dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/dngettext.c:53:18: note: Function 'libintl_dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/dngettext.c:54:24: style:inconclusive: Function 'libintl_dngettext' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:231:24: note: Function 'libintl_dngettext' argument 4 names different: declaration '__n' definition 'n'. gdb-13.2/intl/dngettext.c:54:24: note: Function 'libintl_dngettext' argument 4 names different: declaration '__n' definition 'n'. gdb-13.2/intl/hash-string.h:40:18: style:inconclusive: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. [funcArgNamesDifferent] gdb-13.2/intl/hash-string.h:36:38: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. gdb-13.2/intl/hash-string.h:40:18: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. gdb-13.2/intl/dcigettext.c:428:18: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dcigettext.c:428:18: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/dcigettext.c:429:18: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/dcigettext.c:429:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/dcigettext.c:430:18: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/dcigettext.c:430:18: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/dcigettext.c:431:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. gdb-13.2/intl/dcigettext.c:431:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. gdb-13.2/intl/dcigettext.c:432:24: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. gdb-13.2/intl/dcigettext.c:432:24: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. gdb-13.2/intl/dcigettext.c:433:10: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. gdb-13.2/intl/dcigettext.c:433:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. gdb-13.2/intl/dcigettext.c:538:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] gdb-13.2/intl/dcigettext.c:220:9: style: struct member 'known_translation_t::domainname' is never used. [unusedStructMember] gdb-13.2/intl/dcigettext.c:223:7: style: struct member 'known_translation_t::category' is never used. [unusedStructMember] gdb-13.2/intl/dcigettext.c:226:7: style: struct member 'known_translation_t::counter' is never used. [unusedStructMember] gdb-13.2/intl/dcigettext.c:229:27: style: struct member 'known_translation_t::domain' is never used. [unusedStructMember] gdb-13.2/intl/dcigettext.c:232:15: style: struct member 'known_translation_t::translation' is never used. [unusedStructMember] gdb-13.2/intl/dcigettext.c:233:10: style: struct member 'known_translation_t::translation_length' is never used. [unusedStructMember] gdb-13.2/intl/dcigettext.c:236:8: style: struct member 'known_translation_t::msgid' is never used. [unusedStructMember] gdb-13.2/intl/finddomain.c:51:18: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. gdb-13.2/intl/finddomain.c:51:18: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. gdb-13.2/intl/finddomain.c:52:12: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. gdb-13.2/intl/finddomain.c:52:12: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. gdb-13.2/intl/finddomain.c:53:18: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/finddomain.c:53:18: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/finddomain.c:54:22: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. gdb-13.2/intl/finddomain.c:54:22: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. gdb-13.2/intl/gettext.c:56:18: style:inconclusive: Function 'libintl_gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:140:22: note: Function 'libintl_gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. gdb-13.2/intl/gettext.c:56:18: note: Function 'libintl_gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. gdb-13.2/intl/localcharset.c:295:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] gdb-13.2/intl/localcharset.c:286:24: note: Assignment 'locale=NULL', assigned value is 0 gdb-13.2/intl/localcharset.c:295:14: note: Condition 'locale==NULL' is always true gdb-13.2/intl/localcharset.c:181:5: error: Common realloc mistake: 'res_ptr' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/intl/l10nflist.c:369:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] gdb-13.2/intl/ngettext.c:58:18: style:inconclusive: Function 'libintl_ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:207:23: note: Function 'libintl_ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/ngettext.c:58:18: note: Function 'libintl_ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. gdb-13.2/intl/ngettext.c:59:18: style:inconclusive: Function 'libintl_ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:207:23: note: Function 'libintl_ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/ngettext.c:59:18: note: Function 'libintl_ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. gdb-13.2/intl/ngettext.c:60:24: style:inconclusive: Function 'libintl_ngettext' argument 3 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:207:23: note: Function 'libintl_ngettext' argument 3 names different: declaration '__n' definition 'n'. gdb-13.2/intl/ngettext.c:60:24: note: Function 'libintl_ngettext' argument 3 names different: declaration '__n' definition 'n'. gdb-13.2/intl/localealias.c:155:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] gdb-13.2/intl/localealias.c:257:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] gdb-13.2/intl/localealias.c:258:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gdb-13.2/intl/localealias.c:173:41: error: Uninitialized variable: &item.value [uninitvar] gdb-13.2/libbacktrace/alloc.c:70:9: style:inconclusive: Function 'backtrace_free' argument 2 names different: declaration 'mem' definition 'p'. [funcArgNamesDifferent] gdb-13.2/libbacktrace/internal.h:222:66: note: Function 'backtrace_free' argument 2 names different: declaration 'mem' definition 'p'. gdb-13.2/libbacktrace/alloc.c:70:9: note: Function 'backtrace_free' argument 2 names different: declaration 'mem' definition 'p'. gdb-13.2/intl/textdomain.c:81:18: style:inconclusive: Function 'libintl_textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] gdb-13.2/intl/libgnuintl.h:281:25: note: Function 'libintl_textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. gdb-13.2/intl/textdomain.c:81:18: note: Function 'libintl_textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. /usr/local/share/bison/bison.simple:517:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libbacktrace/allocfail.c:56:28: style: Parameter 'vdata' can be declared as pointer to const. However it seems that 'error_callback_full' is a callback function, if 'vdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libbacktrace/allocfail.c:124:7: note: You might need to cast the function pointer here gdb-13.2/libbacktrace/allocfail.c:56:28: note: Parameter 'vdata' can be declared as pointer to const gdb-13.2/libbacktrace/allocfail.c:70:22: style: Parameter 'vdata' can be declared as pointer to const. However it seems that 'callback_full' is a callback function, if 'vdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libbacktrace/allocfail.c:96:33: note: You might need to cast the function pointer here gdb-13.2/libbacktrace/allocfail.c:70:22: note: Parameter 'vdata' can be declared as pointer to const gdb-13.2/libbacktrace/allocfail.c:115:20: style: Variable 'fail_at' is assigned a value that is never used. [unreadVariable] gdb-13.2/intl/loadmsgcat.c:979:2: error: Resource leak: fd [resourceLeak] gdb-13.2/intl/loadmsgcat.c:972:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] gdb-13.2/intl/loadmsgcat.c:916:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. gdb-13.2/intl/loadmsgcat.c:972:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. /usr/local/share/bison/bison.simple:515:9: style: Variable 'yyss1' can be declared as pointer to const [constVariablePointer] gdb-13.2/intl/loadmsgcat.c:766:30: style:inconclusive: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:175:34: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. gdb-13.2/intl/loadmsgcat.c:766:30: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. gdb-13.2/intl/loadmsgcat.c:767:28: style:inconclusive: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:175:34: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. gdb-13.2/intl/loadmsgcat.c:767:28: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. gdb-13.2/intl/loadmsgcat.c:768:22: style:inconclusive: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:175:34: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. gdb-13.2/intl/loadmsgcat.c:768:22: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. gdb-13.2/intl/loadmsgcat.c:885:28: style:inconclusive: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:179:27: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. gdb-13.2/intl/loadmsgcat.c:885:28: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. gdb-13.2/intl/loadmsgcat.c:906:30: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:170:22: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. gdb-13.2/intl/loadmsgcat.c:906:30: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. gdb-13.2/intl/loadmsgcat.c:907:22: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] gdb-13.2/intl/gettextP.h:170:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. gdb-13.2/intl/loadmsgcat.c:907:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. gdb-13.2/libbacktrace/backtrace.c:85:7: style: Condition '!ip_before_insn' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/backtrace.c:71:24: note: Assignment 'ip_before_insn=0', assigned value is 0 gdb-13.2/libbacktrace/backtrace.c:79:19: note: Assuming condition is false gdb-13.2/libbacktrace/backtrace.c:85:7: note: Condition '!ip_before_insn' is always true gdb-13.2/libbacktrace/elf.c:144:0: error: #error "Unknown BACKTRACE_ELF_SIZE" [preprocessorErrorDirective] gdb-13.2/libbacktrace/fileline.c:184:7: style: Condition '!state->threaded' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/fileline.c:173:7: note: Assuming that condition '!state->threaded' is not redundant gdb-13.2/libbacktrace/fileline.c:178:7: note: Assuming condition is false gdb-13.2/libbacktrace/fileline.c:184:7: note: Condition '!state->threaded' is always true gdb-13.2/libbacktrace/fileline.c:307:61: style:inconclusive: Function 'backtrace_syminfo' argument 2 names different: declaration 'addr' definition 'pc'. [funcArgNamesDifferent] gdb-13.2/libbacktrace/backtrace.h:197:72: note: Function 'backtrace_syminfo' argument 2 names different: declaration 'addr' definition 'pc'. gdb-13.2/libbacktrace/fileline.c:307:61: note: Function 'backtrace_syminfo' argument 2 names different: declaration 'addr' definition 'pc'. gdb-13.2/libbacktrace/btest.c:486:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/libbacktrace/mmapio.c:98:27: style: Parameter 'view' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/mmap.c:195:54: style:inconclusive: Function 'backtrace_free' argument 2 names different: declaration 'mem' definition 'addr'. [funcArgNamesDifferent] gdb-13.2/libbacktrace/internal.h:222:66: note: Function 'backtrace_free' argument 2 names different: declaration 'mem' definition 'addr'. gdb-13.2/libbacktrace/mmap.c:195:54: note: Function 'backtrace_free' argument 2 names different: declaration 'mem' definition 'addr'. gdb-13.2/libbacktrace/macho.c:678:14: style: Condition 'p==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/macho.c:676:12: note: Assignment 'p=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/macho.c:678:14: note: Condition 'p==NULL' is always true gdb-13.2/libbacktrace/macho.c:735:14: style: Condition 'sdata==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/macho.c:734:12: note: Assignment 'sdata=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/macho.c:735:14: note: Condition 'sdata==NULL' is always true gdb-13.2/libbacktrace/macho.c:790:3: style:inconclusive: Statements following 'goto' will never be executed. [unreachableCode] gdb-13.2/libbacktrace/mtest.c:233:13: style: Local variable 'addrs' shadows outer variable [shadowVariable] gdb-13.2/libbacktrace/mtest.c:56:18: note: Shadowed declaration gdb-13.2/libbacktrace/mtest.c:233:13: note: Shadow variable gdb-13.2/libbacktrace/macho.c:160:12: style: struct member 'macho_segment_command::cmd' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:161:12: style: struct member 'macho_segment_command::cmdsize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:163:12: style: struct member 'macho_segment_command::vmaddr' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:164:12: style: struct member 'macho_segment_command::vmsize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:165:12: style: struct member 'macho_segment_command::fileoff' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:166:12: style: struct member 'macho_segment_command::filesize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:167:12: style: struct member 'macho_segment_command::maxprot' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:168:12: style: struct member 'macho_segment_command::initprot' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:170:12: style: struct member 'macho_segment_command::flags' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:177:12: style: struct member 'macho_segment_64_command::cmd' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:178:12: style: struct member 'macho_segment_64_command::cmdsize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:180:12: style: struct member 'macho_segment_64_command::vmaddr' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:181:12: style: struct member 'macho_segment_64_command::vmsize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:182:12: style: struct member 'macho_segment_64_command::fileoff' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:183:12: style: struct member 'macho_segment_64_command::filesize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:184:12: style: struct member 'macho_segment_64_command::maxprot' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:185:12: style: struct member 'macho_segment_64_command::initprot' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:187:12: style: struct member 'macho_segment_64_command::flags' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:194:12: style: struct member 'macho_symtab_command::cmd' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:195:12: style: struct member 'macho_symtab_command::cmdsize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:210:12: style: struct member 'macho_uuid_command::cmd' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:211:12: style: struct member 'macho_uuid_command::cmdsize' is never used. [unusedStructMember] gdb-13.2/libbacktrace/macho.c:640:18: style: Variable 'sym_view_valid' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/macho.c:641:18: style: Variable 'str_view_valid' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/macho.c:670:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/macho.c:681:11: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/macho.c:731:10: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/macho.c:744:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/macho.c:766:16: style: Variable 'cputype' is not assigned a value. [unassignedVariable] gdb-13.2/libbacktrace/simple.c:80:7: style: Condition '!ip_before_insn' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/simple.c:66:24: note: Assignment 'ip_before_insn=0', assigned value is 0 gdb-13.2/libbacktrace/simple.c:74:19: note: Assuming condition is false gdb-13.2/libbacktrace/simple.c:80:7: note: Condition '!ip_before_insn' is always true gdb-13.2/libbacktrace/sort.c:61:24: style:inconclusive: Function 'backtrace_qsort' argument 1 names different: declaration 'base' definition 'basearg'. [funcArgNamesDifferent] gdb-13.2/libbacktrace/internal.h:209:36: note: Function 'backtrace_qsort' argument 1 names different: declaration 'base' definition 'basearg'. gdb-13.2/libbacktrace/sort.c:61:24: note: Function 'backtrace_qsort' argument 1 names different: declaration 'base' definition 'basearg'. gdb-13.2/libbacktrace/ttest.c:56:21: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'test1_thread' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libbacktrace/ttest.c:123:48: note: You might need to cast the function pointer here gdb-13.2/libbacktrace/ttest.c:56:21: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/libbacktrace/xcoff.c:54:0: error: #error "Unknown BACKTRACE_XCOFF_SIZE" [preprocessorErrorDirective] gdb-13.2/libbacktrace/ztest.c:231:15: style: Local variable 'j' shadows outer variable [shadowVariable] gdb-13.2/libbacktrace/ztest.c:198:14: note: Shadowed declaration gdb-13.2/libbacktrace/ztest.c:231:15: note: Shadow variable gdb-13.2/libbacktrace/ztest.c:532:27: style: Local variable 'state' shadows outer variable [shadowVariable] gdb-13.2/libbacktrace/testlib.h:91:14: note: Shadowed declaration gdb-13.2/libbacktrace/ztest.c:532:27: note: Shadow variable gdb-13.2/libbacktrace/ztest.c:59:20: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/ztest.c:297:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/xztest.c:499:27: style: Local variable 'state' shadows outer variable [shadowVariable] gdb-13.2/libbacktrace/testlib.h:91:14: note: Shadowed declaration gdb-13.2/libbacktrace/xztest.c:499:27: note: Shadow variable gdb-13.2/libbacktrace/xztest.c:60:20: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/xztest.c:243:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/pecoff.c:494:14: style: Condition 'p==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/pecoff.c:492:12: note: Assignment 'p=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/pecoff.c:494:14: note: Condition 'p==NULL' is always true gdb-13.2/libbacktrace/pecoff.c:558:14: style: Condition 'sdata==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/pecoff.c:557:12: note: Assignment 'sdata=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/pecoff.c:558:14: note: Condition 'sdata==NULL' is always true gdb-13.2/libbacktrace/pecoff.c:930:22: style: Condition 'current_fn==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/pecoff.c:929:20: note: Assignment 'current_fn=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/pecoff.c:930:22: note: Condition 'current_fn==NULL' is always true gdb-13.2/libbacktrace/pecoff.c:750:20: style: Local variable 'str_off' shadows outer variable [shadowVariable] gdb-13.2/libbacktrace/pecoff.c:599:9: note: Shadowed declaration gdb-13.2/libbacktrace/pecoff.c:750:20: note: Shadow variable gdb-13.2/libbacktrace/pecoff.c:266:29: style: Parameter 'str_view' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/pecoff.c:651:37: portability: 'fhdr_view.data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/libbacktrace/pecoff.c:685:22: portability: 'sects_view.data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/libbacktrace/pecoff.c:729:45: portability: 'syms_view.data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gdb-13.2/libbacktrace/pecoff.c:58:12: style: struct member 'b_coff_optional_header::major_linker_version' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:59:12: style: struct member 'b_coff_optional_header::minor_linker_version' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:60:12: style: struct member 'b_coff_optional_header::size_of_code' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:61:12: style: struct member 'b_coff_optional_header::size_of_initialized_data' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:62:12: style: struct member 'b_coff_optional_header::size_of_uninitialized_data' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:63:12: style: struct member 'b_coff_optional_header::address_of_entry_point' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:64:12: style: struct member 'b_coff_optional_header::base_of_code' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:67:16: style: struct member 'Anonymous1::base_of_data' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:101:19: style: struct member 'Anonymous3::zeroes' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:130:12: style: struct member 'b_coff_internal_symbol::value' is never used. [unusedStructMember] gdb-13.2/libbacktrace/pecoff.c:486:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/pecoff.c:497:11: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/pecoff.c:554:10: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/pecoff.c:567:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libctf/ctf-archive.c:201:50: style: Condition 'arc_mmap_unmap(archdr,headersz,&errmsg)<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-archive.c:201:22: note: Calling function 'arc_mmap_unmap' returns 0 gdb-13.2/libctf/ctf-archive.c:201:50: note: Condition 'arc_mmap_unmap(archdr,headersz,&errmsg)<0' is always false gdb-13.2/libctf/ctf-archive.c:1144:12: style: Condition '!wrapper->ctfi_is_archive' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-archive.c:1220:38: style:inconclusive: Function 'arc_mmap_header' argument 1 names different: declaration 'fd' definition '_libctf_unused_'. [funcArgNamesDifferent] gdb-13.2/libctf/ctf-archive.c:42:35: note: Function 'arc_mmap_header' argument 1 names different: declaration 'fd' definition '_libctf_unused_'. gdb-13.2/libctf/ctf-archive.c:1220:38: note: Function 'arc_mmap_header' argument 1 names different: declaration 'fd' definition '_libctf_unused_'. gdb-13.2/libctf/ctf-archive.c:1284:58: style:inconclusive: Function 'arc_mmap_unmap' argument 2 names different: declaration 'headersz' definition '_libctf_unused_'. [funcArgNamesDifferent] gdb-13.2/libctf/ctf-archive.c:46:49: note: Function 'arc_mmap_unmap' argument 2 names different: declaration 'headersz' definition '_libctf_unused_'. gdb-13.2/libctf/ctf-archive.c:1284:58: note: Function 'arc_mmap_unmap' argument 2 names different: declaration 'headersz' definition '_libctf_unused_'. gdb-13.2/libctf/ctf-archive.c:1285:27: style:inconclusive: Function 'arc_mmap_unmap' argument 3 names different: declaration 'errmsg' definition '_libctf_unused_'. [funcArgNamesDifferent] gdb-13.2/libctf/ctf-archive.c:46:72: note: Function 'arc_mmap_unmap' argument 3 names different: declaration 'errmsg' definition '_libctf_unused_'. gdb-13.2/libctf/ctf-archive.c:1285:27: note: Function 'arc_mmap_unmap' argument 3 names different: declaration 'errmsg' definition '_libctf_unused_'. gdb-13.2/libctf/ctf-archive.c:328:9: style: Variable 'nametbl' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dump.c:787:10: style: Redundant initialization for 'nline'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/libctf/ctf-dump.c:784:16: note: nline is initialized gdb-13.2/libctf/ctf-dump.c:787:10: note: nline is overwritten gdb-13.2/libctf/ctf-error.c:80:25: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-create.c:987:4: style: Condition 'name' is always true [knownConditionTrueFalse] gdb-13.2/libctf/ctf-create.c:631:16: style: Redundant initialization for 'resolved_ref'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/libctf/ctf-create.c:609:25: note: resolved_ref is initialized gdb-13.2/libctf/ctf-create.c:631:16: note: resolved_ref is overwritten gdb-13.2/libctf/ctf-create.c:1796:25: style: Redundant assignment of 'src_ar.ctr_nelems' to itself. [selfAssignment] gdb-13.2/libctf/ctf-create.c:1888:18: style: Local variable 'dst' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-create.c:1569:21: note: Shadowed declaration gdb-13.2/libctf/ctf-create.c:1888:18: note: Shadow variable gdb-13.2/libctf/ctf-create.c:624:24: style: Variable 'tp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libctf/ctf-labels.c:46:51: style: Condition 'extract_label_info(fp,&ctlp,&num_labels)<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-labels.c:46:26: note: Calling function 'extract_label_info' returns 0 gdb-13.2/libctf/ctf-labels.c:46:51: note: Condition 'extract_label_info(fp,&ctlp,&num_labels)<0' is always false gdb-13.2/libctf/ctf-labels.c:73:51: style: Condition 'extract_label_info(fp,&ctlp,&num_labels)<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-labels.c:73:26: note: Calling function 'extract_label_info' returns 0 gdb-13.2/libctf/ctf-labels.c:73:51: note: Condition 'extract_label_info(fp,&ctlp,&num_labels)<0' is always false gdb-13.2/libctf/ctf-hash.c:497:13: style: Local variable 'key' shadows outer argument [shadowArgument] gdb-13.2/libctf/ctf-hash.c:485:68: note: Shadowed declaration gdb-13.2/libctf/ctf-hash.c:497:13: note: Shadow variable gdb-13.2/libctf/ctf-hash.c:497:19: style: Local variable 'value' shadows outer argument [shadowArgument] gdb-13.2/libctf/ctf-hash.c:486:12: note: Shadowed declaration gdb-13.2/libctf/ctf-hash.c:497:19: note: Shadow variable gdb-13.2/libctf/ctf-hash.c:91:16: style: Variable 'hep_a' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-hash.c:92:16: style: Variable 'hep_b' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-hash.c:113:24: style: Variable 'key_a' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-hash.c:114:24: style: Variable 'key_b' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-hash.c:136:22: style: Variable 'key_a' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-hash.c:137:22: style: Variable 'key_b' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-hash.c:472:19: style: Parameter '_libctf_unused_' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-hash.c:710:9: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-lookup.c:255:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/libctf/ctf-lookup.c:47:46: style: Parameter 'pfp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-lookup.c:394:17: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-lookup.c:707:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-lookup.c:709:17: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-lookup.c:739:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-lookup.c:796:22: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-lookup.c:799:13: style: Variable 'sxlate' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-link.c:1274:73: style: Condition 'ctf_link_deduplicating_close_inputs(fp,in,inputs,ninputs)<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-link.c:1274:47: note: Calling function 'ctf_link_deduplicating_close_inputs' returns 0 gdb-13.2/libctf/ctf-link.c:1274:73: note: Condition 'ctf_link_deduplicating_close_inputs(fp,in,inputs,ninputs)<0' is always false gdb-13.2/libctf/ctf-link.c:1464:71: style: Condition 'ctf_link_deduplicating_close_inputs(fp,NULL,inputs,ninputs)<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-link.c:1464:43: note: Calling function 'ctf_link_deduplicating_close_inputs' returns 0 gdb-13.2/libctf/ctf-link.c:1464:71: note: Condition 'ctf_link_deduplicating_close_inputs(fp,NULL,inputs,ninputs)<0' is always false gdb-13.2/libctf/ctf-link.c:1164:8: style: Local variable 'err' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-link.c:1115:7: note: Shadowed declaration gdb-13.2/libctf/ctf-link.c:1164:8: note: Shadow variable gdb-13.2/libctf/ctf-link.c:2006:14: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-link.c:1881:10: note: Shadowed declaration gdb-13.2/libctf/ctf-link.c:2006:14: note: Shadow variable gdb-13.2/libctf/ctf-link.c:2029:14: style: Local variable 'i' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-link.c:1881:10: note: Shadowed declaration gdb-13.2/libctf/ctf-link.c:2029:14: note: Shadow variable gdb-13.2/libctf/ctf-link.c:602:21: style: Variable 'input_1' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-link.c:603:21: style: Variable 'input_2' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-link.c:1776:37: style: Parameter 'key' can be declared as pointer to const. However it seems that 'ctf_accumulate_archive_names' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libctf/ctf-link.c:1895:47: note: You might need to cast the function pointer here gdb-13.2/libctf/ctf-link.c:1776:37: note: Parameter 'key' can be declared as pointer to const gdb-13.2/libctf/ctf-link.c:1806:13: style: Variable 'dyname' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-link.c:1834:71: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'ctf_change_parent_name' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libctf/ctf-link.c:1932:44: note: You might need to cast the function pointer here gdb-13.2/libctf/ctf-link.c:1834:71: note: Parameter 'arg' can be declared as pointer to const gdb-13.2/libctf/ctf-link.c:1734:41: error: Uninitialized variable: name [legacyUninitvar] gdb-13.2/libctf/ctf-link.c:1734:19: style: Variable 'name' is assigned a value that is never used. [unreadVariable] gdb-13.2/libctf/ctf-open-bfd.c:221:11: style: Condition 'strtab_alloc' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-open-bfd.c:99:24: note: Assignment 'strtab_alloc=NULL', assigned value is 0 gdb-13.2/libctf/ctf-open-bfd.c:221:11: note: Condition 'strtab_alloc' is always false gdb-13.2/libctf/ctf-open-bfd.c:225:30: style: Condition 'symsect_endianness>-1' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-open-bfd.c:100:29: note: Assignment 'symsect_endianness=-1', assigned value is -1 gdb-13.2/libctf/ctf-open-bfd.c:225:30: note: Condition 'symsect_endianness>-1' is always false gdb-13.2/libctf/ctf-open-bfd.c:234:1: style: Label 'err' is not used. [unusedLabel] gdb-13.2/libctf/ctf-open-bfd.c:234:6: warning: Unused variable value '_libctf_unused_' [constStatement] gdb-13.2/libctf/ctf-open-bfd.c:99:9: style: Variable 'strtab_alloc' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-qsort_r.c:99:25: style:inconclusive: Function 'ctf_qsort_r' argument 1 names different: declaration 'base' definition 'pbase'. [funcArgNamesDifferent] gdb-13.2/libctf/ctf-decls.h:61:25: note: Function 'ctf_qsort_r' argument 1 names different: declaration 'base' definition 'pbase'. gdb-13.2/libctf/ctf-qsort_r.c:99:25: note: Function 'ctf_qsort_r' argument 1 names different: declaration 'base' definition 'pbase'. gdb-13.2/libctf/ctf-qsort_r.c:99:39: style:inconclusive: Function 'ctf_qsort_r' argument 2 names different: declaration 'nmemb' definition 'total_elems'. [funcArgNamesDifferent] gdb-13.2/libctf/ctf-decls.h:61:38: note: Function 'ctf_qsort_r' argument 2 names different: declaration 'nmemb' definition 'total_elems'. gdb-13.2/libctf/ctf-qsort_r.c:99:39: note: Function 'ctf_qsort_r' argument 2 names different: declaration 'nmemb' definition 'total_elems'. gdb-13.2/libctf/ctf-qsort_r.c:218:11: style: Variable 'thresh' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:3093:39: style: Redundant condition: cu_mapped. '!cu_mapped || (cu_mapped && num_outputs==1)' is equivalent to '!cu_mapped || num_outputs==1' [redundantCondition] gdb-13.2/libctf/ctf-dedup.c:1850:23: style: Condition 'conflicting<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-dedup.c:1848:21: note: Assignment 'conflicting=!ctf_dedup_multiple_input_dicts(output,inputs,hval)', assigned value is greater than -1 gdb-13.2/libctf/ctf-dedup.c:1850:23: note: Condition 'conflicting<0' is always false gdb-13.2/libctf/ctf-dedup.c:1389:30: style: Parameter 'key_' can be declared as pointer to const. However it seems that 'ctf_dedup_count_types' is a callback function, if 'key_' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libctf/ctf-dedup.c:1450:35: note: You might need to cast the function pointer here gdb-13.2/libctf/ctf-dedup.c:1389:30: note: Parameter 'key_' can be declared as pointer to const gdb-13.2/libctf/ctf-dedup.c:1515:10: style: Variable 'max_gid' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:1534:11: style: Variable 'gid' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:1740:15: style: Variable 'found' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:1740:30: style: Variable 'relative_found' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:2301:9: style: Variable 'one_gid' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:2301:19: style: Variable 'two_gid' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:2304:15: style: Variable 'one_fp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:2305:15: style: Variable 'two_fp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-dedup.c:2494:14: style: Parameter 'parents' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-sha1.c:33:14: style: union member 'Anonymous0::align' is never used. [unusedStructMember] gdb-13.2/libctf/ctf-string.c:244:19: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-string.c:262:19: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-string.c:280:19: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-string.c:377:34: style: Parameter '_libctf_unused_' can be declared as pointer to const. However it seems that 'ctf_str_rollback_atom' is a callback function, if '_libctf_unused_' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libctf/ctf-string.c:390:47: note: You might need to cast the function pointer here gdb-13.2/libctf/ctf-string.c:377:34: note: Parameter '_libctf_unused_' can be declared as pointer to const gdb-13.2/libctf/ctf-string.c:379:19: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-string.c:380:22: style: Variable 'id' can be declared as pointer to const [constVariablePointer] gdb-13.2/libbacktrace/dwarf.c:3566:14: style: Condition 'pc+1==0' is always false [knownConditionTrueFalse] gdb-13.2/libbacktrace/dwarf.c:3653:46: style: Condition 'pc+1==0' is always false [knownConditionTrueFalse] gdb-13.2/libbacktrace/dwarf.c:3920:14: style: Condition 'ddata==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/dwarf.c:3919:12: note: Assignment 'ddata=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/dwarf.c:3920:14: note: Condition 'ddata==NULL' is always true gdb-13.2/libbacktrace/dwarf.c:4042:14: style: Condition 'p==NULL' is always true [knownConditionTrueFalse] gdb-13.2/libbacktrace/dwarf.c:4040:12: note: Assignment 'p=(abort(),(void*)NULL)', assigned value is 0 gdb-13.2/libbacktrace/dwarf.c:4042:14: note: Condition 'p==NULL' is always true gdb-13.2/libbacktrace/dwarf.c:3770:4: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] gdb-13.2/libbacktrace/dwarf.c:877:11: style: Local variable 'form' shadows outer argument [shadowArgument] gdb-13.2/libbacktrace/dwarf.c:754:33: note: Shadowed declaration gdb-13.2/libbacktrace/dwarf.c:877:11: note: Shadow variable gdb-13.2/libbacktrace/dwarf.c:2742:17: style: Local variable 'advance' shadows outer function [shadowFunction] gdb-13.2/libbacktrace/dwarf.c:444:1: note: Shadowed declaration gdb-13.2/libbacktrace/dwarf.c:2742:17: note: Shadow variable gdb-13.2/libbacktrace/dwarf.c:2844:12: style: Local variable 'advance' shadows outer function [shadowFunction] gdb-13.2/libbacktrace/dwarf.c:444:1: note: Shadowed declaration gdb-13.2/libbacktrace/dwarf.c:2844:12: note: Shadow variable gdb-13.2/libbacktrace/dwarf.c:2880:16: style: Local variable 'advance' shadows outer function [shadowFunction] gdb-13.2/libbacktrace/dwarf.c:444:1: note: Shadowed declaration gdb-13.2/libbacktrace/dwarf.c:2880:16: note: Shadow variable gdb-13.2/libbacktrace/dwarf.c:3803:16: style: Local variable 'filename' shadows outer variable [shadowVariable] gdb-13.2/libbacktrace/dwarf.c:3644:15: note: Shadowed declaration gdb-13.2/libbacktrace/dwarf.c:3803:16: note: Shadow variable gdb-13.2/libbacktrace/dwarf.c:1505:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gdb-13.2/libbacktrace/dwarf.c:1614:20: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:1663:18: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:2280:61: style: Parameter 'ddata' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:2333:60: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:2467:18: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:2556:26: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:3009:18: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:3552:58: style: Parameter 'function' can be declared as pointer to const [constParameterPointer] gdb-13.2/libbacktrace/dwarf.c:3916:10: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/dwarf.c:3928:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/dwarf.c:4034:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libbacktrace/dwarf.c:4045:11: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libctf/ctf-serialize.c:570:51: style: Condition 'symtypetab_delete_nonstatics(fp,s->symfp)<0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-serialize.c:570:36: note: Calling function 'symtypetab_delete_nonstatics' returns 0 gdb-13.2/libctf/ctf-serialize.c:570:51: note: Condition 'symtypetab_delete_nonstatics(fp,s->symfp)<0' is always false gdb-13.2/libctf/ctf-serialize.c:870:15: style: Local variable 'name' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-serialize.c:804:19: note: Shadowed declaration gdb-13.2/libctf/ctf-serialize.c:870:15: note: Shadow variable gdb-13.2/libctf/ctf-serialize.c:903:15: style: Local variable 'name' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-serialize.c:804:19: note: Shadowed declaration gdb-13.2/libctf/ctf-serialize.c:903:15: note: Shadow variable gdb-13.2/libctf/ctf-serialize.c:381:13: style: Variable 'type' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/testsuite/libctf-lookup/ambiguous-struct-A.c:2:22: style: struct member 'B::a' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-lookup/ambiguous-struct-A.c:3:29: style: struct member 'A::foo' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-lookup/ambiguous-struct-A.c:3:39: style: struct member 'A::bar' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-lookup/ambiguous-struct-B.c:2:22: style: struct member 'B::a' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-lookup/ambiguous-struct-B.c:3:28: style: struct member 'A::foo' is never used. [unusedStructMember] gdb-13.2/libctf/ctf-util.c:87:31: style: Parameter 'lp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/testsuite/libctf-lookup/conflicting-type-syms.c:14:9: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/testsuite/libctf-lookup/enum.c:6:46: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'print_enum' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libctf/testsuite/libctf-lookup/enum.c:51:33: note: You might need to cast the function pointer here gdb-13.2/libctf/testsuite/libctf-lookup/enum.c:6:46: note: Parameter 'unused' can be declared as pointer to const gdb-13.2/libctf/testsuite/libctf-lookup/struct-iteration-ctf.c:11:12: style: union member 'Anonymous0::should_not_appear' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-lookup/struct-iteration-ctf.c:12:11: style: union member 'Anonymous0::nor_should_this' is never used. [unusedStructMember] gdb-13.2/libctf/ctf-types.c:50:22: style: Variable 'lmp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:111:20: style: Variable 'dtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:279:20: style: Variable 'dtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:994:15: style: Variable 'dtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:1117:15: style: Variable 'dtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:1175:16: style: Variable 'dtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:1377:16: style: Variable 'dtd' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-types.c:737:8: warning: Size of pointer 'argv' used instead of size of its data. [pointerSize] gdb-13.2/libctf/testsuite/libctf-regression/type-add-unnamed-struct-ctf.c:7:11: style: struct member 'foo::bar' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-regression/type-add-unnamed-struct-ctf.c:14:11: style: struct member 'foo::baz' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-regression/type-add-unnamed-struct-ctf.c:15:19: style: struct member 'foo::foo' is never used. [unusedStructMember] gdb-13.2/libctf/testsuite/libctf-writable/pptrtab-writable-page-deep-lookup.c:46:13: style: Variable 'type' is assigned a value that is never used. [unreadVariable] gdb-13.2/libctf/testsuite/libctf-writable/symtypetab-nonlinker-writeout.c:251:23: style: Parameter 'argv' can be declared as const array [constParameter] gdb-13.2/libdecnumber/decBasic.c:47:0: error: #error decBasic.c must be included after decCommon.c [preprocessorErrorDirective] gdb-13.2/libdecnumber/decCommon.c:67:0: error: #error Unexpected DECPMAX value [preprocessorErrorDirective] gdb-13.2/libdecnumber/decContext.c:393:10: style: Condition 'dle>1' is always false [knownConditionTrueFalse] gdb-13.2/libdecnumber/decContext.c:392:12: note: Assignment 'dle=(uint32_t)1', assigned value is 1 gdb-13.2/libdecnumber/decContext.c:393:10: note: Condition 'dle>1' is always false gdb-13.2/libdecnumber/decContext.c:150:49: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decContext.c:162:38: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decContext.c:195:39: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decContext.c:434:39: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-open.c:701:43: style: Condition '(err=upgrade_types(fp,cth))!=0' is always false [knownConditionTrueFalse] gdb-13.2/libctf/ctf-open.c:701:32: note: Calling function 'upgrade_types' returns 0 gdb-13.2/libctf/ctf-open.c:701:43: note: Condition '(err=upgrade_types(fp,cth))!=0' is always false gdb-13.2/libctf/ctf-open.c:1447:7: error: Memory leak: fp [memleak] gdb-13.2/libctf/ctf-open.c:1459:7: error: Memory leak: fp [memleak] gdb-13.2/libctf/ctf-open.c:1469:7: error: Memory leak: fp [memleak] gdb-13.2/libctf/ctf-open.c:1483:7: error: Memory leak: fp [memleak] gdb-13.2/libctf/ctf-open.c:1496:7: error: Memory leak: fp [memleak] gdb-13.2/libctf/ctf-open.c:700:11: style: Local variable 'err' shadows outer variable [shadowVariable] gdb-13.2/libctf/ctf-open.c:694:7: note: Shadowed declaration gdb-13.2/libctf/ctf-open.c:700:11: note: Shadow variable gdb-13.2/libctf/ctf-open.c:241:13: style: Variable 'xend' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-open.c:401:20: style: Variable 'oldhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-open.c:1215:41: style: Parameter 'cth' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-open.c:1279:15: style: Variable 'ctfsectp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-open.c:1280:15: style: Variable 'symsectp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-open.c:1281:15: style: Variable 'strsectp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libctf/ctf-open.c:1909:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-open.c:1923:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-open.c:1945:25: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libctf/ctf-open.c:2074:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decPacked.c:167:7: style: Redundant initialization for 'last'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/libdecnumber/decPacked.c:159:20: note: last is initialized gdb-13.2/libdecnumber/decPacked.c:167:7: note: last is overwritten gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:90:46: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:129:46: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:171:46: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:227:46: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:281:49: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:353:49: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/bid/bid2dpd_dpd2bid.c:297:7: style: Variable 'exp' is assigned a value that is never used. [unreadVariable] gdb-13.2/libdecnumber/decCommon.c:483:14: error: Using pointer to local variable 'buffer' that is out of scope. [invalidLifetime] gdb-13.2/libdecnumber/decCommon.c:474:16: note: Array decayed to pointer here. gdb-13.2/libdecnumber/decCommon.c:471:10: note: Variable created here. gdb-13.2/libdecnumber/decCommon.c:483:14: note: Using pointer to local variable 'buffer' that is out of scope. gdb-13.2/libdecnumber/decCommon.c:495:47: error: Using pointer to local variable 'buffer' that is out of scope. [invalidLifetime] gdb-13.2/libdecnumber/decCommon.c:474:16: note: Array decayed to pointer here. gdb-13.2/libdecnumber/decCommon.c:471:10: note: Variable created here. gdb-13.2/libdecnumber/decCommon.c:495:47: note: Using pointer to local variable 'buffer' that is out of scope. gdb-13.2/libdecnumber/decCommon.c:467:11: style: Condition 'shift>0' is always true [knownConditionTrueFalse] gdb-13.2/libdecnumber/decCommon.c:429:22: note: Assuming that condition 'num->exponent>96-(7-1)' is not redundant gdb-13.2/libdecnumber/decCommon.c:466:25: note: Assignment 'shift=num->exponent-(96-(7-1))', assigned value is greater than 0 gdb-13.2/libdecnumber/decCommon.c:467:11: note: Condition 'shift>0' is always true gdb-13.2/libdecnumber/decCommon.c:1346:10: style: Condition 'e!=0' is always true [knownConditionTrueFalse] gdb-13.2/libdecnumber/decCommon.c:1343:19: note: Assuming that condition 'pre<-5' is not redundant gdb-13.2/libdecnumber/decCommon.c:1344:10: note: Assignment 'e=pre-1', assigned value is less than -6 gdb-13.2/libdecnumber/decCommon.c:1346:10: note: Condition 'e!=0' is always true gdb-13.2/libdecnumber/dpd/decimal128.c:395:11: style: Variable 'dotat' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/dpd/decimal128.c:88:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal128.c:201:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal128.c:293:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal32.c:332:11: style: Variable 'dotat' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/dpd/decimal32.c:88:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal32.c:191:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal32.c:264:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal64.c:393:11: style: Variable 'dotat' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/dpd/decimal64.c:746:9: style: Variable 'last' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/dpd/decimal64.c:94:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal64.c:218:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libdecnumber/dpd/decimal64.c:309:8: style: Unused variable: uiwork [unusedVariable] gdb-13.2/libiberty/_doprnt.c:87:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/libiberty/_doprnt.c:194:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/libiberty/_doprnt.c:188:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/_doprnt.c:191:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/alloca.c:108:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/alloca.c:142:8: style: union member 'hdr::align' is never used. [unusedStructMember] gdb-13.2/libiberty/argv.c:515:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/libiberty/calloc.c:31:12: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gdb-13.2/libiberty/choose-temp.c:71:7: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] gdb-13.2/libdecnumber/decBasic.c:389:12: style: Local variable 'div' shadows outer variable [shadowVariable] gdb-13.2/libdecnumber/decBasic.c:182:9: note: Shadowed declaration gdb-13.2/libdecnumber/decBasic.c:389:12: note: Shadow variable gdb-13.2/libdecnumber/decBasic.c:3708:14: style: Variable 'upend' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decBasic.c:3742:14: style: Variable 'upend' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decCommon.c:693:7: warning: Uninitialized variable: *op [uninitvar] gdb-13.2/libdecnumber/decCommon.c:686:6: note: Assignment 'op=bcdar', assigned value is gdb-13.2/libdecnumber/decCommon.c:688:21: note: Assuming condition is false gdb-13.2/libdecnumber/decCommon.c:693:7: note: Uninitialized variable: *op gdb-13.2/libdecnumber/decCommon.c:742:7: warning: Uninitialized variable: *op [uninitvar] gdb-13.2/libdecnumber/decCommon.c:731:6: note: Assignment 'op=bcdar', assigned value is gdb-13.2/libdecnumber/decCommon.c:733:21: note: Assuming condition is false gdb-13.2/libdecnumber/decCommon.c:742:7: note: Uninitialized variable: *op gdb-13.2/libiberty/d-demangle.c:109:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/d-demangle.c:339:74: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/d-demangle.c:437:62: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/cp-demangle.c:4961:6: error: Address of local auto-variable assigned to a function parameter. [autoVariables] gdb-13.2/libiberty/cp-demangle.c:4999:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] gdb-13.2/libiberty/cp-demangle.c:5020:6: error: Address of local auto-variable assigned to a function parameter. [autoVariables] gdb-13.2/libiberty/cp-demangle.c:5457:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] gdb-13.2/libiberty/cp-demangle.c:6410:7: error: Address of local auto-variable assigned to a function parameter. [autoVariables] gdb-13.2/libiberty/cp-demangle.c:4089:30: style: Parameter 'di' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/cp-demangle.c:4098:59: style: Parameter 'checkpoint' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/cp-demangle.c:4379:41: style: Parameter 'dpi' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/cp-demangle.c:4431:35: style: Parameter 'dpi' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/cp-demangle.c:4632:34: style: Variable 'elt' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/cp-demangle.c:4637:31: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/cp-demangle.c:5641:33: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/cp-demangle.c:5913:29: style: Variable 'a' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/cp-demangle.c:2877:10: warning: Uninitialized variable: pret [uninitvar] gdb-13.2/libiberty/cp-demangle.c:1511:31: note: Calling function 'd_cv_qualifiers', 2nd argument '&ret' value is gdb-13.2/libiberty/cp-demangle.c:2784:28: note: Assuming condition is false gdb-13.2/libiberty/cp-demangle.c:2877:10: note: Uninitialized variable: pret gdb-13.2/libiberty/cp-demangle.c:5027:21: error: Uninitialized struct member: dpt.next [uninitStructMember] gdb-13.2/libiberty/cp-demangle.c:6418:19: error: Uninitialized struct member: dpt.next [uninitStructMember] gdb-13.2/libiberty/cp-demangle.c:6428:19: error: Uninitialized struct member: dpt.next [uninitStructMember] gdb-13.2/libiberty/fnmatch.c:148:17: style: Redundant initialization for 'cend'. The initialized value is overwritten before it is read. [redundantInitialization] gdb-13.2/libiberty/fnmatch.c:143:43: note: cend is initialized gdb-13.2/libiberty/fnmatch.c:148:17: note: cend is overwritten gdb-13.2/libiberty/floatformat.c:70:57: style:inconclusive: Function 'floatformat_always_valid' argument 1 names different: declaration 'fmt' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/libiberty/floatformat.c:66:64: note: Function 'floatformat_always_valid' argument 1 names different: declaration 'fmt' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/libiberty/floatformat.c:70:57: note: Function 'floatformat_always_valid' argument 1 names different: declaration 'fmt' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/libiberty/floatformat.c:71:44: style:inconclusive: Function 'floatformat_always_valid' argument 2 names different: declaration 'from' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/libiberty/floatformat.c:67:50: note: Function 'floatformat_always_valid' argument 2 names different: declaration 'from' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/libiberty/floatformat.c:71:44: note: Function 'floatformat_always_valid' argument 2 names different: declaration 'from' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/libiberty/fopen_unlocked.c:85:26: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/getcwd.c:46:12: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] gdb-13.2/libiberty/getcwd.c:44:9: style: Variable 'result' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/gettimeofday.c:22:41: style: Parameter 'tz' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/hashtab.c:187:20: error: Array 'prime_tab[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] gdb-13.2/libiberty/hashtab.c:175:41: note: Assignment 'high=sizeof(prime_tab)/sizeof(prime_tab[0])', assigned value is 30 gdb-13.2/libiberty/hashtab.c:180:13: note: Assuming condition is true gdb-13.2/libiberty/hashtab.c:177:14: note: Assuming that condition 'low!=high' is not redundant gdb-13.2/libiberty/hashtab.c:187:20: note: Array index out of bounds gdb-13.2/libiberty/hashtab.c:772:13: style: Variable 'x' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/getopt.c:777:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/hex.c:28:0: error: #error "hex.c requires EOF == -1" [preprocessorErrorDirective] gdb-13.2/libiberty/md5.c:91:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:115:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:121:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:123:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:215:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:222:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:245:6: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/md5.c:262:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/make-relative-prefix.c:263:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/make-relative-prefix.c:252:10: style: Variable 'startp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/memcpy.c:24:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/memmove.c:24:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/msdos.c:2:1: portability: Omitted return type of function 'vfork' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/libiberty/msdos.c:7:1: portability: Omitted return type of function 'sigsetmask' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/libiberty/msdos.c:12:1: portability: Omitted return type of function 'waitpid' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdb-13.2/libiberty/obstack.c:247:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/obstack.c:247:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/obstack.c:298:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/objalloc.c:200:30: style: Variable 'small' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/pex-djgpp.c:82:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_djgpp_open_read' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-djgpp.c:58:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-djgpp.c:82:42: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-djgpp.c:91:43: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_djgpp_open_write' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-djgpp.c:59:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-djgpp.c:91:43: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-djgpp.c:107:38: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_djgpp_close' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-djgpp.c:61:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-djgpp.c:107:38: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-djgpp.c:286:8: style: Variable 'statuses' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/pex-msdos.c:129:38: style: Parameter 'ms' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/pex-msdos.c:166:9: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/pex-msdos.c:168:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/pex-msdos.c:307:21: style: Variable 'ms' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/pex-msdos.c:144:7: style: Unused variable: fdinex [unusedVariable] gdb-13.2/libiberty/pex-msdos.c:310:6: style: Variable 'ms' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/pex-unix.c:620:13: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] gdb-13.2/libiberty/pex-unix.c:647:6: style: Condition '!failed.fn' is always true [knownConditionTrueFalse] gdb-13.2/libiberty/pex-unix.c:643:14: note: Assignment 'failed.fn=NULL', assigned value is 0 gdb-13.2/libiberty/pex-unix.c:647:6: note: Condition '!failed.fn' is always true gdb-13.2/libiberty/pex-unix.c:341:41: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_unix_open_read' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-unix.c:319:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-unix.c:341:41: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-unix.c:350:42: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_unix_open_write' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-unix.c:320:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-unix.c:350:42: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-unix.c:362:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_unix_close' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-unix.c:322:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-unix.c:362:37: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-unix.c:566:38: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'pex_unix_exec_child' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-unix.c:321:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-unix.c:566:38: note: Parameter 'obj' can be declared as pointer to const gdb-13.2/libiberty/pex-unix.c:801:39: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'pex_unix_fdopenr' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/pex-unix.c:325:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/pex-unix.c:801:39: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/pex-win32.c:606:32: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/pex-win32.c:794:16: style: Variable 'stdin_handle' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/libiberty/pex-win32.c:790:16: note: stdin_handle is assigned gdb-13.2/libiberty/pex-win32.c:794:16: note: stdin_handle is overwritten gdb-13.2/libiberty/pex-win32.c:795:17: style: Variable 'stdout_handle' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/libiberty/pex-win32.c:791:17: note: stdout_handle is assigned gdb-13.2/libiberty/pex-win32.c:795:17: note: stdout_handle is overwritten gdb-13.2/libiberty/pex-win32.c:797:19: style: Variable 'stderr_handle' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/libiberty/pex-win32.c:792:17: note: stderr_handle is assigned gdb-13.2/libiberty/pex-win32.c:797:19: note: stderr_handle is overwritten gdb-13.2/libiberty/pex-win32.c:593:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/libiberty/pex-win32.c:701:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gdb-13.2/libiberty/random.c:240:2: warning: Return value of function random() is not used. [ignoredReturnValue] gdb-13.2/libiberty/rust-demangle.c:317:17: style: Variable 'lo_nibble' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/rust-demangle.c:317:33: style: Variable 'hi_nibble' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/safe-ctype.c:122:0: error: #error " requires EOF == -1" [preprocessorErrorDirective] gdb-13.2/libdecnumber/decQuad.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gdb-13.2/libdecnumber/decNumber.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gdb-13.2/libdecnumber/decNumber.c:3671:18: style: Condition 'e!=0' is always true [knownConditionTrueFalse] gdb-13.2/libdecnumber/decNumber.c:3668:22: note: Assuming that condition 'pre<-5' is not redundant gdb-13.2/libdecnumber/decNumber.c:3666:6: note: pre is assigned 'dn->digits+exp' here. gdb-13.2/libdecnumber/decNumber.c:3669:21: note: Assignment 'e=exp+dn->digits-1', assigned value is less than -6 gdb-13.2/libdecnumber/decNumber.c:3671:18: note: Condition 'e!=0' is always true gdb-13.2/libdecnumber/decNumber.c:6125:20: style: Condition 'srhs' is always true [knownConditionTrueFalse] gdb-13.2/libdecnumber/decNumber.c:6125:12: note: Assuming that condition 'slhs' is not redundant gdb-13.2/libdecnumber/decNumber.c:6121:10: note: Assuming that condition 'slhs!=srhs' is not redundant gdb-13.2/libdecnumber/decNumber.c:6125:20: note: Condition 'srhs' is always true gdb-13.2/libdecnumber/decNumber.c:6563:20: style: Condition '(add-carry-1)!=0' is always true [knownConditionTrueFalse] gdb-13.2/libdecnumber/decNumber.c:6547:7: note: Assignment 'add=1', assigned value is 1 gdb-13.2/libdecnumber/decNumber.c:6548:17: note: Assuming condition is false gdb-13.2/libdecnumber/decNumber.c:6540:12: note: Assuming that condition 'carry==0' is not redundant gdb-13.2/libdecnumber/decNumber.c:6541:12: note: Assuming condition is false gdb-13.2/libdecnumber/decNumber.c:6563:20: note: Condition '(add-carry-1)!=0' is always true gdb-13.2/libdecnumber/decNumber.c:800:15: style: Variable 'msuc' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:1197:14: style: Variable 'msuc' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:1809:14: style: Variable 'msuc' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:3232:14: style: Variable 'msuc' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:3510:56: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:3530:59: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:4875:12: style: Variable 'lmsi' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:4875:19: style: Variable 'rmsi' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:6585:55: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:6883:52: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:7388:55: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:7422:56: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:7508:60: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:7685:41: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gdb-13.2/libdecnumber/decNumber.c:7703:16: style: Variable 'uresp1' can be declared as pointer to const [constVariablePointer] gdb-13.2/libdecnumber/decNumber.c:3868:11: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] gdb-13.2/libdecnumber/decNumber.c:3904:11: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] gdb-13.2/libdecnumber/decNumber.c:4636:14: style: Variable 'accunits' is assigned a value that is never used. [unreadVariable] gdb-13.2/libdecnumber/decNumber.c:4762:14: style: Variable 'accunits' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/simple-object-coff.c:765:33: warning: Either the condition 'namelen>8' is redundant or the array 'syms.sym.e.e_name[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] gdb-13.2/libiberty/simple-object-coff.c:750:19: note: Assuming that condition 'namelen>8' is not redundant gdb-13.2/libiberty/simple-object-coff.c:744:15: note: namelen is assigned 'strlen(section->name)' here. gdb-13.2/libiberty/simple-object-coff.c:765:33: note: Array index out of bounds gdb-13.2/libiberty/simple-object-coff.c:228:41: style: Parameter 'header' can be declared as const array. However it seems that 'simple_object_coff_match' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/simple-object-coff.c:795:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/simple-object-coff.c:228:41: note: Parameter 'header' can be declared as const array gdb-13.2/libiberty/simple-object-coff.c:372:22: style: Variable 'scnname' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-coff.c:438:35: style: Variable 'ocr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-coff.c:462:41: style: Variable 'to' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-coff.c:464:41: style: Variable 'from' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-coff.c:490:41: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-coff.c:605:32: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-coff.c:136:21: style: struct member 'Anonymous3::x_zeroes' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-coff.c:144:19: style: struct member 'Anonymous4::x_nreloc' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-coff.c:145:19: style: struct member 'Anonymous4::x_nlinno' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-coff.c:146:19: style: struct member 'Anonymous4::x_checksum' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-coff.c:147:19: style: struct member 'Anonymous4::x_associated' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-coff.c:148:19: style: struct member 'Anonymous4::x_comdat' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-mach-o.c:374:15: error: Null pointer dereference: fetch_64 [nullPointer] gdb-13.2/libiberty/simple-object-mach-o.c:356:14: note: Assignment 'fetch_64=NULL', assigned value is 0 gdb-13.2/libiberty/simple-object-mach-o.c:374:15: note: Null pointer dereference gdb-13.2/libiberty/simple-object-mach-o.c:1083:15: style: Variable '*nsects' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/libiberty/simple-object-mach-o.c:1072:11: note: *nsects is assigned gdb-13.2/libiberty/simple-object-mach-o.c:1083:15: note: *nsects is overwritten gdb-13.2/libiberty/simple-object-mach-o.c:241:19: style: Parameter 'header' can be declared as const array. However it seems that 'simple_object_mach_o_match' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/simple-object-mach-o.c:1374:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/simple-object-mach-o.c:241:19: note: Parameter 'header' can be declared as const array gdb-13.2/libiberty/simple-object-mach-o.c:814:37: style: Variable 'omr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-mach-o.c:845:43: style: Variable 'to' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-mach-o.c:847:43: style: Variable 'from' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-mach-o.c:875:43: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-mach-o.c:1044:32: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-mach-o.c:1169:10: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-mach-o.c:1256:15: style: Variable 'secaddr' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/simple-object-xcoff.c:844:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gdb-13.2/libiberty/simple-object-xcoff.c:1022:43: warning: Either the condition 'namelen>8' is redundant or the array 'syms.sym.u.xcoff32.n.n_name[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] gdb-13.2/libiberty/simple-object-xcoff.c:1007:19: note: Assuming that condition 'namelen>8' is not redundant gdb-13.2/libiberty/simple-object-xcoff.c:1001:15: note: namelen is assigned 'strlen(section->name)' here. gdb-13.2/libiberty/simple-object-xcoff.c:1022:43: note: Array index out of bounds gdb-13.2/libiberty/simple-object-xcoff.c:298:42: style: Parameter 'header' can be declared as const array. However it seems that 'simple_object_xcoff_match' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/simple-object-xcoff.c:1052:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/simple-object-xcoff.c:298:42: note: Parameter 'header' can be declared as const array gdb-13.2/libiberty/simple-object-xcoff.c:367:36: style: Variable 'ocr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:437:22: style: Variable 'scnname' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:669:36: style: Variable 'ocr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:692:42: style: Variable 'to' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:694:42: style: Variable 'from' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:720:42: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:795:36: style: Variable 'ocr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:861:36: style: Variable 'ocr' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:865:32: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-xcoff.c:94:21: style: struct member 'Anonymous4::s_paddr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:95:21: style: struct member 'Anonymous4::s_vaddr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:98:21: style: struct member 'Anonymous4::s_relptr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:99:21: style: struct member 'Anonymous4::s_lnnoptr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:100:21: style: struct member 'Anonymous4::s_nreloc' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:101:21: style: struct member 'Anonymous4::s_nlnno' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:106:21: style: struct member 'Anonymous5::s_paddr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:107:21: style: struct member 'Anonymous5::s_vaddr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:110:21: style: struct member 'Anonymous5::s_relptr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:111:21: style: struct member 'Anonymous5::s_lnnoptr' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:112:21: style: struct member 'Anonymous5::s_nreloc' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:113:21: style: struct member 'Anonymous5::s_nlnno' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:244:5: style: union member 'external_auxent::x_sect' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:194:21: style: struct member 'Anonymous12::x_zeroes' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:196:21: style: struct member 'Anonymous12::x_pad' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:197:21: style: struct member 'Anonymous12::x_ftype' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:204:19: style: struct member 'Anonymous13::x_nreloc' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:205:19: style: struct member 'Anonymous13::x_nlinno' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:215:16: style: struct member 'Anonymous16::x_parmhash' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:216:16: style: struct member 'Anonymous16::x_snhash' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:219:16: style: struct member 'Anonymous16::x_stab' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:220:16: style: struct member 'Anonymous16::x_snstab' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:228:16: style: struct member 'Anonymous18::x_parmhash' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:229:16: style: struct member 'Anonymous18::x_snhash' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:233:16: style: struct member 'Anonymous18::pad' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:234:16: style: struct member 'Anonymous18::x_auxtype' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:242:19: style: struct member 'Anonymous19::pad1' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:243:19: style: struct member 'Anonymous19::x_nreloc' is never used. [unusedStructMember] gdb-13.2/libiberty/simple-object-xcoff.c:844:11: style: Variable 'align' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/sort.c:87:16: style: Variable 'top' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object.c:295:19: error: Returning pointer to local variable 'newname' that will be invalid when returning. [returnDanglingLifetime] gdb-13.2/libiberty/simple-object.c:295:20: note: Passed to 'strcpy'. gdb-13.2/libiberty/simple-object.c:265:9: note: Variable created here. gdb-13.2/libiberty/simple-object.c:295:19: note: Returning pointer to local variable 'newname' that will be invalid when returning. gdb-13.2/libiberty/simple-object.c:298:19: error: Returning pointer to local variable 'newname' that will be invalid when returning. [returnDanglingLifetime] gdb-13.2/libiberty/simple-object.c:298:20: note: Passed to 'strcpy'. gdb-13.2/libiberty/simple-object.c:265:9: note: Variable created here. gdb-13.2/libiberty/simple-object.c:298:19: note: Returning pointer to local variable 'newname' that will be invalid when returning. gdb-13.2/libiberty/simple-object.c:303:19: error: Returning pointer to local variable 'newname' that will be invalid when returning. [returnDanglingLifetime] gdb-13.2/libiberty/simple-object.c:303:20: note: Passed to 'strcpy'. gdb-13.2/libiberty/simple-object.c:265:9: note: Variable created here. gdb-13.2/libiberty/simple-object.c:303:19: note: Returning pointer to local variable 'newname' that will be invalid when returning. gdb-13.2/libiberty/simple-object.c:306:19: error: Returning pointer to local variable 'newname' that will be invalid when returning. [returnDanglingLifetime] gdb-13.2/libiberty/simple-object.c:306:20: note: Passed to 'strcpy'. gdb-13.2/libiberty/simple-object.c:265:9: note: Variable created here. gdb-13.2/libiberty/simple-object.c:306:19: note: Returning pointer to local variable 'newname' that will be invalid when returning. gdb-13.2/libiberty/simple-object.c:309:19: error: Returning pointer to local variable 'newname' that will be invalid when returning. [returnDanglingLifetime] gdb-13.2/libiberty/simple-object.c:309:20: note: Passed to 'strcpy'. gdb-13.2/libiberty/simple-object.c:265:9: note: Variable created here. gdb-13.2/libiberty/simple-object.c:309:19: note: Returning pointer to local variable 'newname' that will be invalid when returning. gdb-13.2/libiberty/simple-object.c:312:19: error: Returning pointer to local variable 'newname' that will be invalid when returning. [returnDanglingLifetime] gdb-13.2/libiberty/simple-object.c:312:20: note: Passed to 'strcpy'. gdb-13.2/libiberty/simple-object.c:265:9: note: Variable created here. gdb-13.2/libiberty/simple-object.c:312:19: note: Returning pointer to local variable 'newname' that will be invalid when returning. gdb-13.2/libiberty/regex.c:289:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gdb-13.2/libiberty/regex.c:3130:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gdb-13.2/libiberty/regex.c:4588:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gdb-13.2/libiberty/regex.c:4796:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/regex.c:4796:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:6757:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/regex.c:6757:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:6822:23: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] gdb-13.2/libiberty/regex.c:6911:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/regex.c:6911:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:6968:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/regex.c:6968:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:7197:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/regex.c:7197:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:7210:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gdb-13.2/libiberty/regex.c:7210:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:8103:18: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/regex.c:8108:16: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gdb-13.2/libiberty/splay-tree.c:257:51: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const. However it seems that 'splay_tree_xmalloc_allocate' is a callback function, if 'ATTRIBUTE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/splay-tree.c:281:12: note: You might need to cast the function pointer here gdb-13.2/libiberty/splay-tree.c:257:51: note: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const gdb-13.2/libiberty/splay-tree.c:58:26: style: Variable 'active' is assigned a value that is never used. [unreadVariable] gdb-13.2/libiberty/regex.c:2444:33: error: Memory leak: compile_stack.stack [memleak] gdb-13.2/libiberty/regex.c:7154:13: style: Variable 'reg_dummy[this_reg]' is reassigned a value before the old one has been used. [redundantAssignment] gdb-13.2/libiberty/regex.c:7154:13: note: reg_dummy[this_reg] is assigned gdb-13.2/libiberty/regex.c:7154:13: note: reg_dummy[this_reg] is overwritten gdb-13.2/libiberty/strsignal.c:554:27: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] gdb-13.2/libiberty/testsuite/test-demangle.c:226:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/libiberty/testsuite/test-demangle.c:259:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/libiberty/testsuite/test-demangle.c:277:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/libiberty/testsuite/test-demangle.c:235:10: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/testsuite/test-demangle.c:56:23: warning: Uninitialized variable: buf->alloced [uninitvar] gdb-13.2/libiberty/testsuite/test-demangle.c:203:17: note: Calling function 'get_line', 1st argument '&format' value is gdb-13.2/libiberty/testsuite/test-demangle.c:56:23: note: Uninitialized variable: buf->alloced gdb-13.2/libiberty/testsuite/test-strtol.c:158:11: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/libiberty/testsuite/test-strtol.c:165:11: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/libiberty/testsuite/test-strtol.c:170:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gdb-13.2/libiberty/testsuite/test-pexecute.c:317:7: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] gdb-13.2/libiberty/testsuite/test-pexecute.c:335:7: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] gdb-13.2/libiberty/testsuite/test-pexecute.c:381:7: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] gdb-13.2/libiberty/vprintf-support.c:52:21: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] gdb-13.2/libiberty/vprintf-support.c:64:36: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] gdb-13.2/libiberty/vprintf-support.c:74:33: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] gdb-13.2/libiberty/vprintf-support.c:92:23: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] gdb-13.2/libiberty/regex.c:4448:34: style:inconclusive: Function 'byte_compile_range' argument 1 names different: declaration 'range_start' definition 'range_start_char'. [funcArgNamesDifferent] gdb-13.2/libiberty/regex.c:1871:55: note: Function 'byte_compile_range' argument 1 names different: declaration 'range_start' definition 'range_start_char'. gdb-13.2/libiberty/regex.c:4448:34: note: Function 'byte_compile_range' argument 1 names different: declaration 'range_start' definition 'range_start_char'. gdb-13.2/libiberty/regex.c:4320:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/libiberty/regex.c:4323:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/libiberty/regex.c:4471:37: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/libiberty/regex.c:2472:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:2487:16: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:2581:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:2609:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:2623:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:2634:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3113:6: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3119:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3127:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3693:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3725:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3771:21: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3787:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3816:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3895:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:3916:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4014:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4022:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4029:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4035:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4041:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4047:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4053:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4059:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4077:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4138:8: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4143:4: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:4161:5: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:5019:18: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/regex.c:5587:12: style: Variable 'just_past_start_mem' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe-dump.c:51:21: style: Local variable 'flags' shadows outer variable [shadowVariable] gdb-13.2/libsframe/sframe-dump.c:43:17: note: Shadowed declaration gdb-13.2/libsframe/sframe-dump.c:51:21: note: Shadow variable gdb-13.2/libsframe/sframe-dump.c:88:29: style: Variable 'fre_start_pc_vma' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/sframe-dump.c:90:22: style: Variable 'cfa_offset' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/sframe-dump.c:91:21: style: Variable 'fp_offset' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/sframe-dump.c:92:21: style: Variable 'ra_offset' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/sframe-dump.c:93:28: style: Variable 'base_reg_id' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/testsuite/libsframe.encode/encode-1.c:114:30: style: Condition 'sf_buf==NULL' is always false [knownConditionTrueFalse] gdb-13.2/libsframe/testsuite/libsframe.encode/encode-1.c:110:7: error: Resource leak: fp [resourceLeak] gdb-13.2/libsframe/testsuite/libsframe.encode/encode-1.c:120:5: error: Memory leak: sf_buf [memleak] gdb-13.2/libsframe/testsuite/libsframe.encode/encode-1.c:89:19: style: Parameter 'sframe_buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/libsframe/sframe.c:1536:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gdb-13.2/libsframe/sframe.c:814:2: error: Memory leak: dctx [memleak] gdb-13.2/libsframe/sframe.c:824:4: error: Memory leak: dctx [memleak] gdb-13.2/libsframe/sframe.c:1350:7: error: Common realloc mistake: 'fre_tbl' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/libsframe/sframe.c:1439:7: error: Common realloc mistake: 'fd_info' nulled but not freed upon failure [memleakOnRealloc] gdb-13.2/libsframe/sframe.c:1664:4: warning: Either the condition 'encoded_size==NULL' is redundant or there is possible null pointer dereference: encoded_size. [nullPointerRedundantCheck] gdb-13.2/libsframe/sframe.c:1666:39: note: Assuming that condition 'encoded_size==NULL' is not redundant gdb-13.2/libsframe/sframe.c:1664:4: note: Null pointer dereference gdb-13.2/libsframe/sframe.c:159:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:205:46: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] gdb-13.2/libsframe/sframe.c:288:52: style: Parameter 'frep' can be declared as pointer to const [constParameterPointer] gdb-13.2/libsframe/sframe.c:335:48: style: Parameter 'frep' can be declared as pointer to const [constParameterPointer] gdb-13.2/libsframe/sframe.c:593:53: style: Parameter 'fre' can be declared as pointer to const [constParameterPointer] gdb-13.2/libsframe/sframe.c:618:18: style: Variable 'dhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:639:18: style: Variable 'dhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:662:83: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] gdb-13.2/libsframe/sframe.c:691:16: style: Variable 'uc' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:696:17: style: Variable 'ust' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:705:17: style: Variable 'uit' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:730:9: style: Variable 'stack_offsets' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:897:18: style: Variable 'sframe_header' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:906:18: style: Variable 'dhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:915:18: style: Variable 'dhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:927:18: style: Variable 'dhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:1058:18: style: Variable 'dhp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:1079:27: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:1195:22: style: Variable 'func_tbl' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:1280:18: style: Variable 'ehp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:1294:18: style: Variable 'ehp' can be declared as pointer to const [constVariablePointer] gdb-13.2/libsframe/sframe.c:158:16: style: Variable 'ui' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/sframe.c:984:15: style: Variable 'size' is assigned a value that is never used. [unreadVariable] gdb-13.2/libsframe/sframe.c:1601:22: style: Variable 'fre_index' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/aarch64-asm.c:853:26: warning: Result of operator '|' is always true if one operand is non-zero. Did you intend to use '&'? [badBitmaskCheck] gdb-13.2/opcodes/aarch64-asm.c:85:24: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-asm.c:87:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-dis.c:3132:33: warning: Either the condition 'opcode' is redundant or there is possible null pointer dereference: opcode. [nullPointerRedundantCheck] gdb-13.2/opcodes/aarch64-dis.c:3134:11: note: Assuming that condition 'opcode' is not redundant gdb-13.2/opcodes/aarch64-dis.c:3132:33: note: Null pointer dereference gdb-13.2/opcodes/aarch64-dis.c:62:64: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-dis.c:267:29: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-dis.c:270:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-dis.c:257:14: error: Uninitialized variable: qualifiers [uninitvar] gdb-13.2/opcodes/aarch64-dis.c:3930:11: style: Variable 'found' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/aarch64-gen.c:1317:7: style: The if condition is the same as the previous if condition [duplicateCondition] gdb-13.2/opcodes/aarch64-gen.c:1313:7: note: First condition gdb-13.2/opcodes/aarch64-gen.c:1317:7: note: Second condition gdb-13.2/opcodes/aarch64-gen.c:293:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/aarch64-gen.c:162:37: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-gen.c:1154:26: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/alpha-opc.c:159:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/alpha-opc.c:175:44: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/alpha-opc.c:191:49: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arc-dis.c:1637:34: style:inconclusive: Function 'arc_insn_decode' argument 2 names different: declaration 'di' definition 'info'. [funcArgNamesDifferent] gdb-13.2/opcodes/arc-dis.h:168:34: note: Function 'arc_insn_decode' argument 2 names different: declaration 'di' definition 'info'. gdb-13.2/opcodes/arc-dis.c:1637:34: note: Function 'arc_insn_decode' argument 2 names different: declaration 'di' definition 'info'. gdb-13.2/opcodes/arc-dis.c:1638:28: style:inconclusive: Function 'arc_insn_decode' argument 3 names different: declaration 'func' definition 'disasm_func'. [funcArgNamesDifferent] gdb-13.2/opcodes/arc-dis.h:169:28: note: Function 'arc_insn_decode' argument 3 names different: declaration 'func' definition 'disasm_func'. gdb-13.2/opcodes/arc-dis.c:1638:28: note: Function 'arc_insn_decode' argument 3 names different: declaration 'func' definition 'disasm_func'. gdb-13.2/opcodes/arc-dis.c:1428:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/opcodes/arc-dis.c:496:27: style: Parameter 'insn' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arc-dis.c:645:71: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arc-dis.c:976:26: style: Variable 'header' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/arc-dis.c:1642:32: style: Variable 'arc_infop' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/arc-dis.c:826:15: style: struct member 'cpu_type::isa' is never used. [unusedStructMember] gdb-13.2/opcodes/arc-ext.c:144:14: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/arc-ext.c:161:18: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-elf.c:424:40: style: Parameter 'header' can be declared as const array. However it seems that 'simple_object_elf_match' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/libiberty/simple-object-elf.c:1598:3: note: You might need to cast the function pointer here gdb-13.2/libiberty/simple-object-elf.c:424:40: note: Parameter 'header' can be declared as const array gdb-13.2/libiberty/simple-object-elf.c:665:34: style: Variable 'eor' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-elf.c:694:40: style: Variable 'from' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-elf.c:754:40: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-elf.c:904:32: style: Variable 'section' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-elf.c:1406:23: style: Variable 'st_info' can be declared as pointer to const [constVariablePointer] gdb-13.2/libiberty/simple-object-elf.c:1407:23: style: Variable 'st_other' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/avr-dis.c:77:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:83:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:85:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:90:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:96:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:98:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:104:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:106:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:168:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:244:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:262:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:268:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:273:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:284:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:295:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:301:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/avr-dis.c:112:8: style: Variable 'xyz' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/aarch64-opc.c:5620:61: warning: Possible null pointer dereference: inst [nullPointer] gdb-13.2/opcodes/aarch64-opc.c:5788:22: note: Calling function 'init_insn_sequence', 1st argument 'NULL' value is 0 gdb-13.2/opcodes/aarch64-opc.c:5653:29: note: Calling function 'add_insn_to_sequence', 1st argument 'inst' value is 0 gdb-13.2/opcodes/aarch64-opc.c:5620:61: note: Null pointer dereference gdb-13.2/opcodes/aarch64-opc.c:5910:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/opcodes/aarch64-opc.c:5537:47: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-opc.c:5538:46: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-opc.c:5669:30: style: Parameter 'insn_sequence' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/aarch64-opc.c:1046:11: error: Uninitialized variable: qualifiers [uninitvar] gdb-13.2/opcodes/aarch64-opc.c:1280:13: warning: Uninitialized variable: &imm_enc.encoding [uninitvar] gdb-13.2/opcodes/aarch64-opc.c:1792:8: style: Variable 'imm' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/bpf-desc.c:179:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:210:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:243:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:263:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:267:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:279:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1097:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1102:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1107:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1112:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1117:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1122:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1127:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1132:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1137:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1142:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1147:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1152:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1157:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1162:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1167:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1172:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1177:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1182:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1187:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1192:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1197:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1202:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1207:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1212:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1217:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1222:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1227:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1232:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1237:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1242:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1247:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1252:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1257:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1262:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1267:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1272:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1277:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1282:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1287:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1292:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1297:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1302:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1307:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1312:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1317:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1322:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1327:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1332:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1337:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1342:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1347:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1352:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1357:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1362:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1367:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1372:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1377:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1382:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1387:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1392:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1397:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1402:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1407:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1412:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1417:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1422:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1427:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1432:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1437:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1442:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1447:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1452:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1457:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1462:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1467:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1472:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1477:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1482:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1487:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1492:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1497:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1502:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1507:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1512:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1517:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1522:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1527:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1532:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-desc.c:1557:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-dis.c:170:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-dis.c:173:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-dis.c:185:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-dis.c:188:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-dis.c:191:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-dis.c:160:20: style: Parameter 'fields' can be declared as pointer to const. However it seems that 'bpf_cgen_print_operand' is a callback function, if 'fields' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gdb-13.2/opcodes/bpf-dis.c:221:23: note: You might need to cast the function pointer here gdb-13.2/opcodes/bpf-dis.c:160:20: note: Parameter 'fields' can be declared as pointer to const gdb-13.2/opcodes/bpf-dis.c:517:21: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/bpf-ibld.c:582:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:585:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:594:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:597:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:618:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:671:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:674:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:683:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:686:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-ibld.c:702:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/bpf-opc.c:1829:18: style: Condition 'num_macros>=1' is always true [knownConditionTrueFalse] gdb-13.2/opcodes/bpf-opc.c:1821:56: note: Assignment 'num_macros=sizeof(bpf_cgen_macro_insn_table)/sizeof(bpf_cgen_macro_insn_table[0])', assigned value is 1 gdb-13.2/opcodes/bpf-opc.c:1829:18: note: Condition 'num_macros>=1' is always true gdb-13.2/opcodes/cgen-asm.c:124:20: style: Variable 'insn_table' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/cgen-asm.c:125:20: style: Variable 'macro_insn_table' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/cgen-bitset.c:111:36: style: Parameter 'mask1' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cgen-bitset.c:111:57: style: Parameter 'mask2' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cgen-bitset.c:146:33: style: Parameter 'mask' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cgen-dis.c:183:20: style: Variable 'insn_table' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/cgen-dis.c:184:20: style: Variable 'macro_insn_table' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/cgen-opc.c:333:19: style: Variable 'rt_insns' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/cgen-opc.c:348:19: style: Variable 'rt_insns' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/cr16-dis.c:124:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gdb-13.2/opcodes/cris-desc.c:717:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:718:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:719:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:720:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:721:82: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:723:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:725:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:726:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:732:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:734:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:735:63: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:736:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:738:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:739:63: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:740:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:742:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:743:63: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:744:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:746:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:747:63: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:748:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:750:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:754:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:763:69: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:765:75: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:767:61: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:791:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:799:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:800:40: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:801:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:802:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:803:79: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:804:69: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:805:81: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:844:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:848:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:852:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:856:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:860:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:864:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:868:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:872:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:876:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:880:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:884:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:888:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:892:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:896:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:900:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:904:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:908:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:912:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:916:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:952:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:960:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:964:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:968:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:972:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:976:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:980:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:992:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:996:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:1012:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:1056:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:1306:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:1616:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:1671:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:1706:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2196:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2201:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2206:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2211:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2216:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2221:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2226:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2231:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2236:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2241:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2246:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2251:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2256:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2261:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2266:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2271:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2336:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2346:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2426:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2431:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2436:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/cris-desc.c:2441:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/arm-dis.c:12378:15: style: Redundant condition: found. '!found || (found && type==MAP_THUMB)' is equivalent to '!found || type==MAP_THUMB' [redundantCondition] gdb-13.2/opcodes/arm-dis.c:5553:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:5555:28: style: Variable 'private_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/arm-dis.c:5945:50: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:6953:48: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7146:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7234:51: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7305:53: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7355:51: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7431:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7583:44: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7626:55: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:7638:42: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:8001:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:9123:42: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/arm-dis.c:12699:28: style: Variable 'private_data' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/arm-dis.c:12835:24: style: Variable 'asym' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/arm-dis.c:11710:38: warning: Expression 'U?1:-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] gdb-13.2/opcodes/arm-dis.c:11723:38: warning: Expression 'U?1:-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] gdb-13.2/opcodes/arm-dis.c:8872:21: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/opcodes/arm-dis.c:10706:21: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/opcodes/arm-dis.c:11710:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/opcodes/arm-dis.c:11723:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/opcodes/arm-dis.c:7073:12: style: Variable 'size' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/arm-dis.c:9703:34: style: Variable 'size' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/crx-dis.c:602:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gdb-13.2/opcodes/cris-dis.c:561:31: style: Parameter 'disdata' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cris-dis.c:594:38: style: Parameter 'disdata' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cris-dis.c:706:39: style: Parameter 'disdata' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cris-dis.c:735:23: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cris-dis.c:743:23: style: Parameter 'prefix_buffer' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/cris-dis.c:476:12: style: Variable 'prefix_ok' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/cris-dis.c:1489:20: style: Variable 'prefix_size' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/d10v-dis.c:31:37: style: Parameter 'oper' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/d10v-dis.c:33:29: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/d10v-dis.c:117:8: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gdb-13.2/opcodes/d30v-dis.c:51:10: warning: Either the condition '!op' is redundant or there is possible null pointer dereference: op. [nullPointerRedundantCheck] gdb-13.2/opcodes/d30v-dis.c:53:7: note: Assuming that condition '!op' is not redundant gdb-13.2/opcodes/d30v-dis.c:51:10: note: Null pointer dereference gdb-13.2/opcodes/dis-buf.c:32:32: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/dis-buf.c:89:37: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/dis-buf.c:97:40: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/dis-buf.c:98:35: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/disassemble.c:132:18: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/disassemble.c:562:34: style: Parameter 'ATTRIBUTE_UNUSED' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/disassemble.c:602:56: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/disassemble.c:558:10: error: Uninitialized variable: disassemble [uninitvar] gdb-13.2/opcodes/disassemble.c:134:22: style: Variable 'disassemble' is not assigned a value. [unassignedVariable] gdb-13.2/opcodes/dlx-dis.c:90:59: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/epiphany-asm.c:57:11: style:inconclusive: Function 'parse_shortregs' argument 4 names different: declaration 'valuep' definition 'regno'. [funcArgNamesDifferent] gdb-13.2/opcodes/epiphany-opc.h:74:17: note: Function 'parse_shortregs' argument 4 names different: declaration 'valuep' definition 'regno'. gdb-13.2/opcodes/epiphany-asm.c:57:11: note: Function 'parse_shortregs' argument 4 names different: declaration 'valuep' definition 'regno'. gdb-13.2/opcodes/epiphany-asm.c:250:17: style:inconclusive: Function 'parse_branch_addr' argument 4 names different: declaration 'opinfo' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/opcodes/epiphany-opc.h:79:16: note: Function 'parse_branch_addr' argument 4 names different: declaration 'opinfo' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/opcodes/epiphany-asm.c:250:17: note: Function 'parse_branch_addr' argument 4 names different: declaration 'opinfo' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/opcodes/epiphany-asm.c:251:47: style:inconclusive: Function 'parse_branch_addr' argument 5 names different: declaration 'resultp' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/opcodes/epiphany-opc.h:80:45: note: Function 'parse_branch_addr' argument 5 names different: declaration 'resultp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/opcodes/epiphany-asm.c:251:47: note: Function 'parse_branch_addr' argument 5 names different: declaration 'resultp' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/opcodes/epiphany-asm.c:252:22: style:inconclusive: Function 'parse_branch_addr' argument 6 names different: declaration 'valuep' definition 'ATTRIBUTE_UNUSED'. [funcArgNamesDifferent] gdb-13.2/opcodes/epiphany-opc.h:81:21: note: Function 'parse_branch_addr' argument 6 names different: declaration 'valuep' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/opcodes/epiphany-asm.c:252:22: note: Function 'parse_branch_addr' argument 6 names different: declaration 'valuep' definition 'ATTRIBUTE_UNUSED'. gdb-13.2/opcodes/csky-dis.c:1170:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gdb-13.2/opcodes/csky-dis.c:1165:41: note: outer condition: info->endian==BFD_ENDIAN_LITTLE gdb-13.2/opcodes/csky-dis.c:1170:21: note: identical inner condition: info->endian==BFD_ENDIAN_LITTLE gdb-13.2/opcodes/csky-dis.c:853:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/csky-dis.c:853:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/csky-dis.c:861:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/csky-dis.c:861:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gdb-13.2/opcodes/csky-dis.c:139:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gdb-13.2/opcodes/csky-dis.c:271:9: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/csky-dis.c:954:9: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/csky-dis.c:955:9: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] gdb-13.2/opcodes/epiphany-desc.c:324:89: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:325:93: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:380:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:381:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:412:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:413:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:428:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:436:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:437:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:440:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:441:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:442:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:443:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:444:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:445:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:446:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:447:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:448:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:449:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:450:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:451:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:452:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:453:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:454:48: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:455:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:456:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:457:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:458:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:459:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:540:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:544:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:548:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:552:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:556:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:560:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:564:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:568:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:572:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:576:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:580:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:584:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:588:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:592:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:596:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:600:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:604:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:608:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:612:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:616:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:620:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:624:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:628:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:632:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:636:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:640:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:644:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:648:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:652:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:656:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:660:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:664:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:668:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:672:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:676:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:680:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:684:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:688:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:692:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:696:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:700:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:704:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:708:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:712:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:716:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:720:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:724:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:728:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:732:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:736:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:740:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:744:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:748:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:752:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:756:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:760:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:764:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:768:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:796:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:800:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:804:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:808:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:812:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:816:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:828:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:832:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:836:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:840:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:844:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:848:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:852:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:856:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:860:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:864:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:880:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:888:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:892:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:924:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:929:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:934:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:939:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:944:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:949:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:954:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:959:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:964:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:969:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:974:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:979:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:984:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:989:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:994:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:999:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1004:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1009:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1014:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1019:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1024:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1029:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1034:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1039:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1044:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1049:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1054:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1059:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1064:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1069:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1074:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1079:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1084:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1089:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1094:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1099:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1104:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1109:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1114:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1119:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1124:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1129:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1134:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1139:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1144:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1149:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1154:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1159:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1164:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1169:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1174:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1179:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1184:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1189:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1194:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1199:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1204:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1209:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1214:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1219:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1224:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1229:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1234:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1239:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1244:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1249:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1254:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1259:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1264:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1269:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1274:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1279:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1284:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1289:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1294:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1299:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1304:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1309:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1314:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1319:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1324:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1329:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1334:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1339:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1344:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1349:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1354:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1359:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1364:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1369:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1374:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1379:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1384:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1389:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1394:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1399:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1404:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1409:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1414:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1419:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1424:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1429:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1434:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1439:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1444:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1449:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1454:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1459:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1464:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1469:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1474:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1479:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1484:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1489:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1494:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1499:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1504:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1509:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1514:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1519:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1524:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1529:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1534:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1539:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1544:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1549:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1554:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1559:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1564:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1569:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1574:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1579:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1584:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1589:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1594:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1599:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1604:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1609:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1614:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1624:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1629:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1634:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1639:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1644:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1649:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1654:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1659:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1664:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1669:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1674:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1679:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1684:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1689:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1694:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1699:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1704:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1709:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1714:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1719:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1724:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1729:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1734:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1739:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1744:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1749:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1754:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1759:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1764:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1769:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1774:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1779:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1784:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1789:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1794:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1799:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1804:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1809:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1814:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1819:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1824:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1829:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1834:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1839:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1844:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1849:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1854:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1859:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1864:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1869:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1874:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1879:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1884:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1889:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1894:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1899:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1904:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1909:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1914:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1919:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1924:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-desc.c:1929:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/csky-opc.h:956:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/csky-dis.c:953:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/csky-dis.c:987:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/epiphany-dis.c:174:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:186:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:192:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:198:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:201:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:204:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:210:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:216:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:222:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:228:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:231:83: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:234:83: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:237:84: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:243:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:246:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:249:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:252:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:258:80: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:261:83: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:264:83: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:267:84: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-dis.c:593:21: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/csky-dis.c:1145:14: style: Variable 'status' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/epiphany-ibld.c:803:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-ibld.c:807:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-ibld.c:813:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-ibld.c:1107:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-ibld.c:1113:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-ibld.c:1118:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-ibld.c:931:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:930:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:930:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,9,3,32,total_length,pc,&fields->f_disp3)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:931:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:933:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:932:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:932:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,23,8,32,total_length,pc,&fields->f_disp8)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:933:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:951:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:950:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:950:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,31,3,32,total_length,pc,&fields->f_rd_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:951:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:953:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:952:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:952:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,15,3,32,total_length,pc,&fields->f_rd)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:953:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:965:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:964:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:964:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,25,3,32,total_length,pc,&fields->f_rm_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:965:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:967:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:966:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:966:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,9,3,32,total_length,pc,&fields->f_rm)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:967:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:979:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:978:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:978:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,28,3,32,total_length,pc,&fields->f_rn_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:979:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:981:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:980:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:980:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,3,32,total_length,pc,&fields->f_rn)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:981:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:990:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:989:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:989:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,8,32,total_length,pc,&fields->f_imm8)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:990:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:992:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:991:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:991:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,27,8,32,total_length,pc,&fields->f_imm_27_8)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:992:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1007:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1006:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1006:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,31,3,32,total_length,pc,&fields->f_rd_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1007:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1009:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1008:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1008:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,15,3,32,total_length,pc,&fields->f_rd)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1009:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1021:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1020:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1020:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,25,3,32,total_length,pc,&fields->f_rm_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1021:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1023:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1022:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1022:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,9,3,32,total_length,pc,&fields->f_rm)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1023:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1035:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1034:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1034:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,28,3,32,total_length,pc,&fields->f_rn_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1035:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1037:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1036:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1036:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,3,32,total_length,pc,&fields->f_rn)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1037:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1049:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1048:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1048:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,31,3,32,total_length,pc,&fields->f_sd_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1049:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1051:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1050:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1050:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,15,3,32,total_length,pc,&fields->f_sd)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1051:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1060:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1059:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1059:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,31,3,32,total_length,pc,&fields->f_sd_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1060:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1062:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1061:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1061:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,15,3,32,total_length,pc,&fields->f_sd)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1062:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1071:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1070:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1070:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,31,3,32,total_length,pc,&fields->f_sd_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1071:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1073:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1072:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1072:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,15,3,32,total_length,pc,&fields->f_sd)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1073:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1082:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1081:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1081:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,31,3,32,total_length,pc,&fields->f_sd_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1082:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1084:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1083:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1083:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,15,3,32,total_length,pc,&fields->f_sd)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1084:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1096:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1095:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1095:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,9,3,32,total_length,pc,&fields->f_disp3)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1096:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1098:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1097:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1097:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,23,8,32,total_length,pc,&fields->f_disp8)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1098:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1129:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1128:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1128:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,28,3,32,total_length,pc,&fields->f_sn_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1129:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1131:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1130:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1130:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,3,32,total_length,pc,&fields->f_sn)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1131:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1140:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1139:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1139:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,28,3,32,total_length,pc,&fields->f_sn_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1140:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1142:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1141:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1141:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,3,32,total_length,pc,&fields->f_sn)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1142:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1151:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1150:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1150:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,28,3,32,total_length,pc,&fields->f_sn_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1151:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1153:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1152:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1152:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,3,32,total_length,pc,&fields->f_sn)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1153:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1162:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1161:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1161:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,28,3,32,total_length,pc,&fields->f_sn_x)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1162:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-ibld.c:1164:20: style: Condition 'length<=0' is always false [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-ibld.c:1163:33: note: Calling function 'extract_normal' returns 1 gdb-13.2/opcodes/epiphany-ibld.c:1163:33: note: Assignment 'length=extract_normal(cd,ex_info,insn_value,0,0,12,3,32,total_length,pc,&fields->f_sn)', assigned value is 1 gdb-13.2/opcodes/epiphany-ibld.c:1164:20: note: Condition 'length<=0' is always false gdb-13.2/opcodes/epiphany-opc.c:2111:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2116:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2121:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2126:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2131:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2136:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2141:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2146:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2151:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2156:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2161:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2166:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2171:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2176:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2181:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2186:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2191:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2196:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2201:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2206:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2211:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2216:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2221:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2226:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2231:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2236:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2241:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2246:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2251:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2256:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2261:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2266:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2271:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2276:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2281:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2286:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2291:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2296:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2301:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2306:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2311:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2316:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2321:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2326:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2331:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2336:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2341:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2346:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2351:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2356:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2361:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2366:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2371:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2376:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2381:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2386:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2391:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2396:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2401:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2406:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2411:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2416:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2421:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2426:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2431:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2436:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2441:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2446:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2451:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2456:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2461:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2466:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2471:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2476:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2481:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2486:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2491:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2496:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2501:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2506:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2511:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2516:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2521:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2526:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2531:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2536:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2541:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2546:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2551:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2556:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2561:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2566:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2571:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2576:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2581:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2586:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2591:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2596:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2601:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2606:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2611:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2616:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2621:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2626:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2631:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2636:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2641:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2646:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2651:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2656:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2661:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2666:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2671:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2676:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2681:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2686:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2691:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2696:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2701:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2706:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2711:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2716:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2721:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2726:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2731:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2736:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2741:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2746:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2751:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2756:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2761:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2766:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2771:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2776:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2781:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2786:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2791:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2796:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2801:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2806:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2811:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2816:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2821:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2826:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2831:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2836:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2841:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2846:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2851:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2856:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2861:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2866:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2871:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2876:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2881:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2886:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2891:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2896:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2901:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2906:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2911:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2916:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:2921:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/epiphany-opc.c:4002:18: style: Condition 'num_macros>=1' is always true [knownConditionTrueFalse] gdb-13.2/opcodes/epiphany-opc.c:3994:61: note: Assignment 'num_macros=sizeof(epiphany_cgen_macro_insn_table)/sizeof(epiphany_cgen_macro_insn_table[0])', assigned value is 163 gdb-13.2/opcodes/epiphany-opc.c:4002:18: note: Condition 'num_macros>=1' is always true gdb-13.2/opcodes/fr30-desc.c:265:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:266:71: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:322:40: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:323:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:330:44: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:334:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:370:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:422:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:426:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:430:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:434:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:438:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:442:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:446:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:450:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:454:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:458:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:462:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:466:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:470:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:486:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:490:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:514:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:518:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:522:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:526:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:530:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:534:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:538:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:542:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:546:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:550:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:554:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:558:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:562:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:666:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:671:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:676:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:681:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:686:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:691:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:696:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:701:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:706:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:711:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:716:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:721:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:726:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:731:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:736:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:741:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:746:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:751:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:756:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:761:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:766:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:851:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:856:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:921:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1016:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1021:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1026:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1031:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1036:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1041:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1046:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1051:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1056:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1061:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1066:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1071:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1076:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1081:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1086:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1091:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1096:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1101:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1106:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1111:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1116:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1121:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1126:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1131:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1136:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1141:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1146:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1151:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1156:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1161:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1166:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1171:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1176:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1181:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1186:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1191:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1196:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1201:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1206:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1211:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1216:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1221:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1226:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1246:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1251:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1256:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1261:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1281:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1286:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1291:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1296:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1311:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1316:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1321:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1326:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1376:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1381:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1386:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1391:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1396:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-desc.c:1406:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:225:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:237:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:240:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:243:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:246:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:249:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:252:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:255:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:258:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:261:42: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:279:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:282:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:285:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:288:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:291:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:294:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-dis.c:614:21: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/fr30-ibld.c:638:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:642:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:648:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:666:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:675:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:682:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:710:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:838:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:844:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:849:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:866:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:874:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:882:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-ibld.c:912:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-opc.c:1208:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-opc.c:1213:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-opc.c:1218:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/fr30-opc.c:1339:18: style: Condition 'num_macros>=1' is always true [knownConditionTrueFalse] gdb-13.2/opcodes/fr30-opc.c:1331:57: note: Assignment 'num_macros=sizeof(fr30_cgen_macro_insn_table)/sizeof(fr30_cgen_macro_insn_table[0])', assigned value is 3 gdb-13.2/opcodes/fr30-opc.c:1339:18: note: Condition 'num_macros>=1' is always true gdb-13.2/opcodes/frv-dis.c:307:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:313:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:316:48: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:319:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:322:49: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:328:48: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:337:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:340:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:349:48: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:355:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:358:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:361:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:364:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:367:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:370:48: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:373:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:376:72: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:379:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:382:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:385:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-dis.c:711:21: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] gdb-13.2/opcodes/frv-desc.c:1854:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1872:70: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1873:84: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1874:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1875:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1876:70: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1877:84: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1878:78: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1879:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1880:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1881:74: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1882:74: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1883:74: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1884:74: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1885:73: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1886:87: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1887:73: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1888:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1889:79: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1890:79: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1891:79: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1892:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1893:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1894:76: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1958:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1971:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1972:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1975:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1981:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1982:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1983:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1984:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1985:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1986:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1987:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1988:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1989:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1990:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1991:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1992:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1993:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1994:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1995:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1996:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1997:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1998:61: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:1999:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2000:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2001:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2002:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2003:59: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2004:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2005:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2006:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2007:57: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2008:60: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2009:59: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2010:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2011:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2012:48: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2013:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2060:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2232:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2236:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2240:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2244:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2248:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2252:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2256:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2260:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2264:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2268:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2284:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2288:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2292:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2296:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2344:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2348:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2352:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2368:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2372:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2376:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2380:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2384:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2388:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2392:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2396:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2400:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2471:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2481:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2496:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2501:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2506:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2526:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2531:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2541:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2546:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2551:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2556:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2561:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2566:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2571:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2576:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2581:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2586:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2591:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2596:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2601:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2656:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2661:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2666:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2671:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2676:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2681:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2686:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2691:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2696:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2721:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2726:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2761:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2771:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2926:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2931:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2936:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2946:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2951:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2956:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2961:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2966:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2971:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2976:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2981:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:2991:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3001:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3006:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3016:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3026:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3031:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3061:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3066:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3071:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3076:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3081:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3086:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3091:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3096:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3106:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3111:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3116:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3126:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3131:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3141:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3151:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3156:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3166:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3196:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3201:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3206:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3211:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3216:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3221:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3226:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3231:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3236:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3241:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3246:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3256:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gdb-13.2/opcodes/frv-desc.c:3261: