From: Pierre Muller Date: Tue, 21 Aug 2012 16:05:46 +0000 (+0000) Subject: * symfile.c (allocate_symtab): Use host_address_to_string X-Git-Tag: gdb_7_5_1-2012-11-29-release~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf54cde147a1be6a7c029bdafdd625f7bf12680c;p=thirdparty%2Fbinutils-gdb.git * symfile.c (allocate_symtab): Use host_address_to_string function instead of cast of pointer to long which is not compatible with x86_64-w64-mingw32 build. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1af737c7482..0b635c62562 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-08-21 Pierre Muller + + * symfile.c (allocate_symtab): Use host_address_to_string + function instead of cast of pointer to long which is not + compatible with x86_64-w64-mingw32 build. + 2012-08-17 Joel Brobecker * version.in: Set version to 7.5.0.20120817-cvs. diff --git a/gdb/symfile.c b/gdb/symfile.c index 01252e2964e..175d61c2a88 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -2889,8 +2889,8 @@ allocate_symtab (const char *filename, struct objfile *objfile) last_objfile_name); } fprintf_unfiltered (gdb_stdlog, - "Created symtab 0x%lx for module %s.\n", - (long) symtab, filename); + "Created symtab %s for module %s.\n", + host_address_to_string (symtab), filename); } return (symtab);