gdb/
authorDaniel Jacobowitz <drow@false.org>
Tue, 21 Jul 2009 18:12:40 +0000 (18:12 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 21 Jul 2009 18:12:40 +0000 (18:12 +0000)
commit828d3400fb1a9914ab16ee05dfe2647af8c566c5
tree139f5ce0617cc046f8cbec6eb8a2381d838e80d0
parent711eedefee89e6a9cb45e4967a523a7f9d516751
gdb/
* value.c (struct value): Add reference_count field.
(allocate_value_lazy): Initialize reference_count.
(value_incref): New function.
(value_free): Check the reference count.
* value.h (value_incref): New prototype.
gdb/ChangeLog
gdb/value.c
gdb/value.h