* core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
to proper type of "unsigned int *".
This commit is contained in:
parent
032f80d8d4
commit
643f17d21f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Jul 19 18:46:13 1995 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
|
||||||
|
to proper type of "unsigned int *".
|
||||||
|
|
||||||
Fri Jun 16 15:29:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
|
Fri Jun 16 15:29:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
|
||||||
|
|
||||||
* configure.in: Use changequote around use of [].
|
* configure.in: Use changequote around use of [].
|
||||||
|
|
|
@ -196,7 +196,7 @@ DEFUN (get_src_info, (addr, filename, name, line_num),
|
||||||
|
|
||||||
if (bfd_find_nearest_line (core_bfd, core_text_sect, core_syms,
|
if (bfd_find_nearest_line (core_bfd, core_text_sect, core_syms,
|
||||||
addr - core_text_sect->vma,
|
addr - core_text_sect->vma,
|
||||||
&fname, &func_name, &l)
|
&fname, &func_name, (unsigned int *) &l)
|
||||||
&& fname && func_name && l)
|
&& fname && func_name && l)
|
||||||
{
|
{
|
||||||
DBG (AOUTDEBUG, printf ("[get_src_info] 0x%lx -> %s:%d (%s)\n",
|
DBG (AOUTDEBUG, printf ("[get_src_info] 0x%lx -> %s:%d (%s)\n",
|
||||||
|
|
Loading…
Reference in a new issue