diff options
author | Martin Hunt <hunt@redhat.com> | 2001-02-20 18:07:17 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2001-02-20 18:07:17 +0000 |
commit | a43ad351c8feab741f0f8228ce9699ac50387200 (patch) | |
tree | 8fbd2317faa6ef458c765194050eb4cf74ef3116 /gdb/solib.c | |
parent | 58bc91c9c3941cbd51b66f24243ee55b26ee7d41 (diff) | |
download | gdb-a43ad351c8feab741f0f8228ce9699ac50387200.zip gdb-a43ad351c8feab741f0f8228ce9699ac50387200.tar.gz gdb-a43ad351c8feab741f0f8228ce9699ac50387200.tar.bz2 |
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().
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 5fdb9a1..07d72ec 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -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"); |