[RFA] findvar.c: support LOC_BASEREG[_ARG] on Harvard archs

Nick Duffek nsd@redhat.com
Mon Jul 16 16:13:00 GMT 2001


On 16-Jul-2001, Andrew Cagney wrote:

>value_ptr is really ``struct value *'' so ...

>I suspect you need xfree() or the like.

Nope, the value_ptr gets garbage-collected.  value_from_register()
allocates the value_ptr using allocate_value(), which stores the pointer
in all_values to be freed later by free_all_values().

Nick



More information about the Gdb-patches mailing list