]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
value_from_pointer: remove call to resolve_dynamic_type
authorJoel Brobecker <brobecker@adacore.com>
Tue, 19 Aug 2014 12:55:22 +0000 (14:55 +0200)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 19 Aug 2014 13:43:19 +0000 (15:43 +0200)
commitcb417230fb10c4f5b97cf8cffa973937f7bc8b6c
tree9d77480fef2c531c46e82fb4c7017bb4d3ee1092
parent13b448cdf796fdc4a92e37a6bc20ce785b7c65dd
value_from_pointer: remove call to resolve_dynamic_type

The given type is expected to always be a TYPE_CODE_PTR, for which
resolve_dynamic_type does nothing.  So this patch removes this call.

gdb/ChangeLog:

        * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
        Adjust code accordingly.  Adjust function description comment.
gdb/ChangeLog
gdb/value.c