mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01:00
HPPA: fix tdep_put_unwind_info() macro
In file included from mi/Lput_dynamic_unwind_info.c:4: mi/Gput_dynamic_unwind_info.c:48:40: error: macro "tdep_put_unwind_info" passed 3 arguments, but takes just 2
This commit is contained in:
parent
201bb8733d
commit
971216f8d4
1 changed files with 4 additions and 4 deletions
|
@ -242,14 +242,14 @@ dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val)
|
||||||
# define tdep_find_proc_info(c,ip,n) \
|
# define tdep_find_proc_info(c,ip,n) \
|
||||||
dwarf_find_proc_info((c)->as, (ip), &(c)->pi, (n), \
|
dwarf_find_proc_info((c)->as, (ip), &(c)->pi, (n), \
|
||||||
(c)->as_arg)
|
(c)->as_arg)
|
||||||
# define tdep_put_unwind_info(c,pi) \
|
# define tdep_put_unwind_info(as,pi,arg) \
|
||||||
dwarf_put_unwind_info((c)->as, (pi), (c)->as_arg)
|
dwarf_put_unwind_info((as), (pi), (arg))
|
||||||
#else
|
#else
|
||||||
# define tdep_find_proc_info(c,ip,n) \
|
# define tdep_find_proc_info(c,ip,n) \
|
||||||
(*(c)->as->acc.find_proc_info)((c)->as, (ip), &(c)->pi, (n), \
|
(*(c)->as->acc.find_proc_info)((c)->as, (ip), &(c)->pi, (n), \
|
||||||
(c)->as_arg)
|
(c)->as_arg)
|
||||||
# define tdep_put_unwind_info(c,pi) \
|
# define tdep_put_unwind_info(as,pi,arg) \
|
||||||
(*(c)->as->acc.put_unwind_info)((c)->as, (pi), (c)->as_arg)
|
(*(as)->acc.put_unwind_info)((as), (pi), (arg))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define tdep_get_as(c) ((c)->dwarf.as)
|
#define tdep_get_as(c) ((c)->dwarf.as)
|
||||||
|
|
Loading…
Reference in a new issue