dbg: add new db_unknown_command function to reduce redundand code