summaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2001-02-20 18:07:17 +0000
committerMartin Hunt <hunt@redhat.com>2001-02-20 18:07:17 +0000
commitbe4382b600db00c07caa9d787b984f9754f10d7c (patch)
treed92454f24120c9c4ae6e06755b44b33d67fba8a2 /gdb/solib.c
parentd189982c402d3ceaa93936eb73acdc22f6e52059 (diff)
downloadgdb-be4382b600db00c07caa9d787b984f9754f10d7c.tar.gz
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 5fdb9a1d148..07d72ec121e 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");