diff options
author | Pierre Muller <muller@sourceware.org> | 2012-08-21 15:43:46 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2012-08-21 15:43:46 +0000 |
commit | b3dbbd6f401aeeef1980269e0d03bcf2a62dd461 (patch) | |
tree | 170b3cc8de13f08f8c94bb1b7ea53d489c4ae1b2 /gdb/symfile.c | |
parent | 3c65f4f9ffb22360755f1604a27865df6b1bbef3 (diff) | |
download | gdb-b3dbbd6f401aeeef1980269e0d03bcf2a62dd461.zip gdb-b3dbbd6f401aeeef1980269e0d03bcf2a62dd461.tar.gz gdb-b3dbbd6f401aeeef1980269e0d03bcf2a62dd461.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index da068a1..d070e48 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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); |