This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] psymtab.c (allocate_psymtab): Use host_address_to_string.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Mon, 9 Jul 2012 18:12:05 -0700 (PDT)
- Subject: [commit] psymtab.c (allocate_psymtab): Use host_address_to_string.
Hi.
This patch is a minor cleanup.
committed.
2012-07-09 Doug Evans <dje@google.com>
* psymtab.c (allocate_psymtab): Use host_address_to_string.
Index: psymtab.c
===================================================================
RCS file: /cvs/src/src/gdb/psymtab.c,v
retrieving revision 1.48
diff -u -p -r1.48 psymtab.c
--- psymtab.c 26 Jun 2012 20:14:02 -0000 1.48
+++ psymtab.c 10 Jul 2012 00:47:23 -0000
@@ -1747,8 +1770,8 @@ allocate_psymtab (const char *filename,
last_objfile_name);
}
fprintf_unfiltered (gdb_stdlog,
- "Created psymtab 0x%lx for module %s.\n",
- (long) psymtab, filename);
+ "Created psymtab %s for module %s.\n",
+ host_address_to_string (psymtab), filename);
}
return (psymtab);