* gdbtypes.c (make_pointer_type): Remove redundant setting of
TYPE_POINTER_TYPE (type).
This commit is contained in:
parent
e56f7f42e4
commit
4cf93a03ff
|
@ -1,3 +1,8 @@
|
|||
2012-08-14 Doug Evans <dje@google.com>
|
||||
|
||||
* gdbtypes.c (make_pointer_type): Remove redundant setting of
|
||||
TYPE_POINTER_TYPE (type).
|
||||
|
||||
2012-08-14 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* solib-svr4.c (svr4_free_library_list): Use free_so.
|
||||
|
|
|
@ -324,9 +324,6 @@ make_pointer_type (struct type *type, struct type **typeptr)
|
|||
gdbarch_address_to_pointer. */
|
||||
TYPE_UNSIGNED (ntype) = 1;
|
||||
|
||||
if (!TYPE_POINTER_TYPE (type)) /* Remember it, if don't have one. */
|
||||
TYPE_POINTER_TYPE (type) = ntype;
|
||||
|
||||
/* Update the length of all the other variants of this type. */
|
||||
chain = TYPE_CHAIN (ntype);
|
||||
while (chain != ntype)
|
||||
|
|
Loading…
Reference in New Issue