aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-15 11:27:08 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-15 11:27:08 +0000
commit966ed0b4d804bb98a0a6d531298f693861e58f45 (patch)
tree076a50adf9f4b18e05926ffa1d160ec978fc4788 /gas/dwarf2dbg.c
parent6e2bf930a090b0676148d9d908a672fbbf787edd (diff)
downloadgdb-966ed0b4d804bb98a0a6d531298f693861e58f45.zip
gdb-966ed0b4d804bb98a0a6d531298f693861e58f45.tar.gz
gdb-966ed0b4d804bb98a0a6d531298f693861e58f45.tar.bz2
* dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
or %llx work.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index a148972..5e447ab 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -409,8 +409,8 @@ dwarf2_gen_line_info (addr, l)
segT saved_seg;
if (flag_debug)
- fprintf (stderr, "line: addr %llx file `%s' line %u col %u flags %x\n",
- (long long) addr, l->filename, l->line, l->column, l->flags);
+ fprintf (stderr, "line: addr %lx file `%s' line %u col %u flags %x\n",
+ (unsigned long) addr, l->filename, l->line, l->column, l->flags);
if (filenum > 0 && !l->filename)
{