I would like to analyse the sentence " They talked about what needed doing." You can see from my profile that I am 61 so this is new to me and confusing; because of threads of former teachings. To me "what needed doing" is a clause where 'what' is the subject,(being the relative pronoun) 'needed', the verb and 'doing' the gerund object of needed.