From Brad Lucier <lucier@math.purdue.edu>:

* corefile.c (core_create_line_syms): Add cast for printf.
This commit is contained in:
Ian Lance Taylor 1999-08-06 18:57:53 +00:00
parent 0741736bf6
commit 4a607dcc2c
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
1999-08-06 Ian Lance Taylor <ian@zembu.com>
From Brad Lucier <lucier@math.purdue.edu>:
* corefile.c (core_create_line_syms): Add cast for printf.
1999-07-21 Ian Lance Taylor <ian@zembu.com> 1999-07-21 Ian Lance Taylor <ian@zembu.com>
From Mark Elbrecht: From Mark Elbrecht:

View file

@ -723,8 +723,9 @@ DEFUN (core_create_line_syms, (core_bfd), bfd * core_bfd)
discard_underscores = 0; discard_underscores = 0;
} }
DBG (AOUTDEBUG, printf ("[core_create_line_syms] %d %s 0x%lx\n", DBG (AOUTDEBUG, printf ("[core_create_line_syms] %lu %s 0x%lx\n",
ltab.limit - ltab.base, ltab.limit->name, (unsigned long) (ltab.limit - ltab.base),
ltab.limit->name,
(unsigned long) ltab.limit->addr)); (unsigned long) ltab.limit->addr));
++ltab.limit; ++ltab.limit;
} }