Add GPL copyright notices to uncopyrighted files.
[deliverable/binutils-gdb.git] / gdb / symtab.c
index 5f0e84aeefe2c6288f8af3ad6c83d011be36ead1..4e15cbcb35ccab6ed7bd39e3b7d7542f7f7ec433 100644 (file)
@@ -77,9 +77,9 @@ char *operator_chars (char *, char **);
 
 static int find_line_common (struct linetable *, int, int *);
 
-static struct partial_symbol *lookup_partial_symbol PARAMS
-  ((struct partial_symtab *, const char *,
-    int, namespace_enum));
+static struct partial_symbol *lookup_partial_symbol (struct partial_symtab *,
+                                                    const char *, int,
+                                                    namespace_enum);
 
 static struct partial_symbol *fixup_psymbol_section (struct
                                                     partial_symbol *,
@@ -1472,10 +1472,9 @@ find_pc_sect_symtab (pc, section)
        /* Might want to error() here (in case symtab is corrupt and
           will cause a core dump), but maybe we can successfully
           continue, so let's not.  */
-       /* FIXME-32x64: assumes pc fits in a long */
        warning ("\
-(Internal error: pc 0x%lx in read in psymtab, but not in symtab.)\n",
-                (unsigned long) pc);
+(Internal error: pc 0x%s in read in psymtab, but not in symtab.)\n",
+                paddr_nz (pc));
       s = PSYMTAB_TO_SYMTAB (ps);
     }
   return (s);
This page took 0.024444 seconds and 4 git commands to generate.