gdb/python: replace strlen call with std::string::size call
authorAndrew Burgess <aburgess@redhat.com>
Mon, 23 Jan 2023 15:21:05 +0000 (15:21 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 3 Mar 2023 09:56:21 +0000 (09:56 +0000)
commit6a208145d24c47912c8beb4f1f4b9abeb8d51134
tree1025b0a9db8cf372100a16bcfdf2337790c013cf
parent67748abf53b22fd0273bb374923c101c9d597094
gdb/python: replace strlen call with std::string::size call

Small cleanup to use std::string::size instead of calling strlen on
the result of std::string::c_str.

Should be no user visible changes after this call.
gdb/python/py-disasm.c