mercredi 25 mars 2015

How to print content of a list of pointers in gdb?

I have the following list of pointers:


(here is a simple example, but in reality, my list could be componed by hundreds of entries)



{0xae5c4e8, 0xa09d4e8, 0xa753458, 0xae554e8}


I successfully print pointers content, one by one, by using :



p *(const Point *) 0xae5c4e8


How can I print contents of the preceding list in one command ?


Aucun commentaire:

Enregistrer un commentaire