[PATCH v3 4/7] kdb: Merge identical case statements in kdb_read()