From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: "Martin M. Hunt" , Subject: Re: [RFA] info_sharedlibrary_command patch Date: Mon, 19 Feb 2001 18:35:00 -0000 Message-id: <1010220023548.ZM24397@ocotillo.lan> References: X-SW-Source: 2001-02/msg00400.html 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 > > * 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