]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove gdb/python/python.c code that handles strlen failing with -1
authorPedro Alves <palves@redhat.com>
Tue, 3 May 2016 11:16:55 +0000 (12:16 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 3 May 2016 11:18:50 +0000 (12:18 +0100)
commitaaa3178dfb979f8ec476a326aca273125a1e3ee9
tree28e2ad3ee95166cf08bc36fb41a1b976fb9b0c58
parent386c90348551eb089124d64c9bc6ab17cbefb016
Remove gdb/python/python.c code that handles strlen failing with -1

This makes no sense -- strlen doesn't really ever fail with -1.

gdb/ChangeLog:
2016-05-03  Pedro Alves <palves@redhat.com>

* python/python.c (_initialize_python) [IS_PY3K]: Remove dead
code.
gdb/ChangeLog
gdb/python/python.c