2001-06-07 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / gprof / utils.c
index e1f031d5e8ddf2fb18732dac0198ae2a810d2900..c18f83342efa42375b13d383e35fc849458fd66a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1983, 1998 Regents of the University of California.
+ * Copyright (c) 1983, 1998, 2001 Regents of the University of California.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted
@@ -68,8 +68,9 @@ DEFUN (print_name_only, (self), Sym * self)
                  filename = self->file->name;
                }
            }
-         sprintf (buf, " (%s:%d)", filename, self->line_num);
-         printf (buf);
+         sprintf (buf, " (%s:%d @ %lx)", filename, self->line_num,
+                  (unsigned long) self->addr);
+         printf ("%s", buf);
          size += strlen (buf);
        }
       if (demangled)
This page took 0.022404 seconds and 4 git commands to generate.