forked from Imagelibrary/binutils-gdb
* 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user