[PATCH] Handle reference types in agent expressions
Wed Dec 30 00:00:00 GMT 2009
Another beefing-up of C++ support in tracepoint agent expressions -
reference types. At this level in GDB they are basically identical to
pointers, and in fact there was a long-commented-out routine in
language.c that's perfect for the task! Committed to trunk.
2009-12-29 Stan Shebs <email@example.com>
* language.c (pointer_type): Un-comment out.
* ax-gdb.c: Include language.h, use pointer_type throughout
instead of testing TYPE_CODE_PTR.
(gen_fetch): Include TYPE_CODE_REF.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gdb-patches