1
0
Fork 0
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:
mostang.com!davidm 2004-04-01 06:27:06 +00:00
parent b15a2bd5ef
commit 471e4e5fa6

View file

@ -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);