2001-02-20 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().
This commit is contained in:
parent
58bc91c9c3
commit
a43ad351c8
|
@ -1,5 +1,8 @@
|
|||
2001-02-20 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().
|
||||
|
||||
* solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
|
||||
extract_signed_integer() should be called instead of
|
||||
extract_address().
|
||||
|
|
|
@ -638,14 +638,14 @@ info_sharedlibrary_command (char *ignore, int from_tty)
|
|||
|
||||
printf_unfiltered ("%-*s", addr_width,
|
||||
so->textsection != NULL
|
||||
? local_hex_string_custom (
|
||||
(unsigned long) so->textsection->addr,
|
||||
? longest_local_hex_string_custom (
|
||||
(LONGEST) so->textsection->addr,
|
||||
addr_fmt)
|
||||
: "");
|
||||
printf_unfiltered ("%-*s", addr_width,
|
||||
so->textsection != NULL
|
||||
? local_hex_string_custom (
|
||||
(unsigned long) so->textsection->endaddr,
|
||||
? longest_local_hex_string_custom (
|
||||
(LONGEST) so->textsection->endaddr,
|
||||
addr_fmt)
|
||||
: "");
|
||||
printf_unfiltered ("%-12s", so->symbols_loaded ? "Yes" : "No");
|
||||
|
|
Loading…
Reference in New Issue