1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-20 20:05:18 +02:00

PPC: add missing debug level in Debug() calls in Gstep.c

ppc32/Gstep.c:116: warning: comparison between pointer and integer
ppc32/Gstep.c:116: warning: comparison with string literal results in unspecified behavior
ppc32/Gstep.c:116: warning: initialization makes integer from pointer without a cast
ppc32/Gstep.c:116: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast
/usr/powerpc-linux-gnu/include/stdio.h:333: note: expected 'const char *__restrict__' but argument is of type 'int'
This commit is contained in:
Tommi Rantala 2012-08-24 12:45:16 +03:00
parent 7feb6b8575
commit 8f94f1e6c0
2 changed files with 8 additions and 8 deletions

View file

@ -99,8 +99,8 @@ unw_step (unw_cursor_t * cursor)
if ((ret =
dwarf_get (&c->dwarf, back_chain_loc, &c->dwarf.cfa)) < 0)
{
Debug
("Unable to retrieve CFA from back chain in stack frame - %d\n",
Debug (2,
"Unable to retrieve CFA from back chain in stack frame - %d\n",
ret);
return ret;
}
@ -113,8 +113,8 @@ unw_step (unw_cursor_t * cursor)
if ((ret = dwarf_get (&c->dwarf, lr_save_loc, &c->dwarf.ip)) < 0)
{
Debug
("Unable to retrieve IP from lr save in stack frame - %d\n",
Debug (2,
"Unable to retrieve IP from lr save in stack frame - %d\n",
ret);
return ret;
}

View file

@ -100,8 +100,8 @@ unw_step (unw_cursor_t * cursor)
if ((ret =
dwarf_get (&c->dwarf, back_chain_loc, &c->dwarf.cfa)) < 0)
{
Debug
("Unable to retrieve CFA from back chain in stack frame - %d\n",
Debug (2,
"Unable to retrieve CFA from back chain in stack frame - %d\n",
ret);
return ret;
}
@ -114,8 +114,8 @@ unw_step (unw_cursor_t * cursor)
if ((ret = dwarf_get (&c->dwarf, lr_save_loc, &c->dwarf.ip)) < 0)
{
Debug
("Unable to retrieve IP from lr save in stack frame - %d\n",
Debug (2,
"Unable to retrieve IP from lr save in stack frame - %d\n",
ret);
return ret;
}