Tue Sep 28 09:45:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
[deliverable/binutils-gdb.git] / gdb / maint.c
index bc73bdc4c7399c695a29ce63d0ac5c9d75b5a50e..b5334512ab48a4d0c0726ce2cfa8b617cda743b4 100644 (file)
@@ -136,13 +136,16 @@ print_section_table (abfd, asect, ignore)
   flags = bfd_get_section_flags (abfd, asect);
 
   printf_filtered ("    %s",
-                  local_hex_string_custom (bfd_section_vma (abfd, asect),
-                                           "08"));
+                  local_hex_string_custom
+                    ((unsigned long) bfd_section_vma (abfd, asect), "08l"));
   printf_filtered ("->%s",
-                  local_hex_string_custom ((bfd_section_vma (abfd, asect)
-                                            + bfd_section_size (abfd, asect)),
-                                           "08"));
-  printf_filtered (" at %s", local_hex_string_custom (asect->filepos, "08"));
+                  local_hex_string_custom
+                    ((unsigned long) (bfd_section_vma (abfd, asect)
+                                      + bfd_section_size (abfd, asect)),
+                     "08l"));
+  printf_filtered (" at %s",
+                  local_hex_string_custom
+                    ((unsigned long) asect->filepos, "08l"));
   printf_filtered (": %s", bfd_section_name (abfd, asect));
 
   if (flags & SEC_ALLOC)
This page took 0.023541 seconds and 4 git commands to generate.