[RFA] info_sharedlibrary_command patch
Kevin Buettner
kevinb@cygnus.com
Mon Feb 19 18:35:00 GMT 2001
On Feb 19, 4:52pm, Martin M. Hunt wrote:
> info_sharedlibrary_command() currently casts all addresses to long before
> printing them. Obviously this fails if pointers are larger than longs.
>
> 2001-02-19 Martin M. Hunt <hunt@redhat.com>
>
> * solib.c (info_sharedlibrary_command): Don't assume pointers
> are the same size of long, call longest_local_hex_string_custom().
Approved.
I was looking at this one myself a while back, but got bogged down on
whether to use longest_local_hex_string_custom() or paddr(). See
http://sources.redhat.com/ml/gdb/2000-10/msg00090.html . For now, your
change is fine.
Kevin
More information about the Gdb-patches
mailing list