This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]