mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-05 09:19:27 +01:00
(create_state_record_for): Check tdep_debug_level instead of
unw.debug_level. (Logical change 1.154)
This commit is contained in:
parent
9099235bd7
commit
fa1e694c0a
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* libunwind - a platform-independent unwind library
|
/* libunwind - a platform-independent unwind library
|
||||||
Copyright (C) 2001-2003 Hewlett-Packard Co
|
Copyright (C) 2001-2004 Hewlett-Packard Co
|
||||||
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
||||||
|
|
||||||
This file is part of libunwind.
|
This file is part of libunwind.
|
||||||
|
@ -1010,7 +1010,7 @@ create_state_record_for (struct cursor *c, struct ia64_state_record *sr,
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
#if UNW_DEBUG
|
#if UNW_DEBUG
|
||||||
if (unw.debug_level > 0)
|
if (tdep_debug_level > 0)
|
||||||
{
|
{
|
||||||
dprintf ("libunwind: state record for func 0x%lx, t=%u (flags=0x%lx):\n",
|
dprintf ("libunwind: state record for func 0x%lx, t=%u (flags=0x%lx):\n",
|
||||||
(long) c->pi.start_ip, sr->when_target, (long) c->pi.flags);
|
(long) c->pi.start_ip, sr->when_target, (long) c->pi.flags);
|
||||||
|
|
Loading…
Reference in a new issue