* dwarf.c (dwarf_fileline): Add cast to avoid warning.
(backtrace_dwarf_add): Likewise.
From-SVN: r192288
2012-10-09 Ian Lance Taylor <iant@google.com>
+ * dwarf.c (dwarf_fileline): Add cast to avoid warning.
+ (backtrace_dwarf_add): Likewise.
+
+2012-10-09 Ian Lance Taylor <iant@google.com>
+
Add support for tracing through shared libraries.
* configure.ac: Check for link.h and dl_iterate_phdr.
* elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
{
struct dwarf_data **pp;
- pp = (struct dwarf_data **) &state->fileline_data;
+ pp = (struct dwarf_data **) (void *) &state->fileline_data;
while (1)
{
ddata = *pp;
{
struct dwarf_data **pp;
- for (pp = (struct dwarf_data **) &state->fileline_data;
+ for (pp = (struct dwarf_data **) (void *) &state->fileline_data;
*pp != NULL;
pp = &(*pp)->next)
;
{
struct dwarf_data **pp;
- pp = (struct dwarf_data **) &state->fileline_data;
+ pp = (struct dwarf_data **) (void *) &state->fileline_data;
while (1)
{