I am trying to print data as it is fetched from memory locations by Gem5 simulation. I am editing packet.hh for this purpose. The aim is to be able to edit data in transit.
But even adding cout statements to check the datapointer/data values lead to "internal compiler error".
Should I be using Debug flags instead ? Is this a cout/io-stream thing or does it have something to do with gem5 compilation ?
Circumvented this by using cprintf() statements available in Gem5 code.