[PATCH] Use read_memory_unsigned_integer when reading to CORE_ADDR
Andrew Cagney
ac131313@redhat.com
Wed Nov 6 14:37:00 GMT 2002
> I used extract_type_address to honor the comment about not causing a memory_error.
>
> I'll check in the change from builtin_type_void_data_ptr to builtin_type_void_code_ptr.
Thanks!
> Unless someone objects, I'll also change
>
> int ptrbytes = TARGET_PTR_BIT / TARGET_CHAR_BIT;
>
> to
>
> int ptrbytes = TYPE_LENGTH (builtin_type_void_code_ptr);
Now this I like so much, I'm going to add it to the ARI as a recommendation.
Andrew
More information about the Gdb-patches
mailing list