* value.c (get_internalvar_integer): Also return the int value of
authorPedro Alves <palves@redhat.com>
Mon, 14 Feb 2011 11:25:12 +0000 (11:25 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 14 Feb 2011 11:25:12 +0000 (11:25 +0000)
commit3158c6ed12f939c10d31152fd3eb48ea0f8b8eaa
treec1810ccfaf512ad204ce15b72eb104fa94c42381
parent9fbdca0d6697412dee250b11fea99691673cd022
* value.c (get_internalvar_integer): Also return the int value of
TYPE_CODE_INT INTERNALVAR_VALUE values.
(set_internalvar): Don't special case TYPE_CODE_INT.
gdb/ChangeLog
gdb/value.c