* 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.
This commit is contained in:
parent
3c65f4f9ff
commit
b3dbbd6f40
|
@ -1,3 +1,9 @@
|
|||
2012-08-21 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* 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-19 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* mips-tdep.c (is_octeon): New function.
|
||||
|
|
|
@ -2883,8 +2883,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);
|
||||
|
|
Loading…
Reference in New Issue