[objdump] Add doit() function
[objdump] Add doit() function

This fuction allows a better separation of the code and it is
a first step to centralize the error handle code.

k0gaMSX/scc,k0gaMSX/scc,k0gaMSX/scc