mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-01 18:57:38 +01:00
Minor whitespace fixes.
(Logical change 1.202)
This commit is contained in:
parent
b15a2bd5ef
commit
471e4e5fa6
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* libunwind - a platform-independent unwind library
|
/* libunwind - a platform-independent unwind library
|
||||||
Copyright (C) 2003 Hewlett-Packard Co
|
Copyright (C) 2003-2004 Hewlett-Packard Co
|
||||||
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
@ -52,15 +52,15 @@ handler (int sig)
|
||||||
unw_cursor_t c;
|
unw_cursor_t c;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
unw_getcontext(&uc);
|
unw_getcontext (&uc);
|
||||||
unw_init_local(&c, &uc);
|
unw_init_local (&c, &uc);
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
unw_get_reg(&c, UNW_REG_IP, &ip);
|
unw_get_reg (&c, UNW_REG_IP, &ip);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf ("%lx: IP=%lx\n", (long) pthread_self (), (unsigned long) ip);
|
printf ("%lx: IP=%lx\n", (long) pthread_self (), (unsigned long) ip);
|
||||||
}
|
}
|
||||||
while ((ret = unw_step(&c)) > 0);
|
while ((ret = unw_step (&c)) > 0);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
panic ("unw_step() returned %d\n", ret);
|
panic ("unw_step() returned %d\n", ret);
|
||||||
|
|
Loading…
Reference in a new issue