S.9(1)(b) having entered any building or part of building as a trespasser, he steals or attempts to steal anything in the building, or inflicts or attempts to inflict on any person therein GBH. The D must go on to commit, or to attempt, either theft or GBH.