1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-03-31 19:42:17 +02:00

Switch to MIT license.

(Logical change 1.26)
This commit is contained in:
mostang.com!davidm 2002-11-16 03:25:36 +00:00
parent 445f16a033
commit aca3843d6f
28 changed files with 440 additions and 389 deletions

View file

@ -4,27 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
along with GNU CC; see the file COPYING. If not, write to EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
the Free Software Foundation, 59 Temple Place - Suite 330, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Boston, MA 02111-1307, USA. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
As a special exception, if you link this library with other files to OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
produce an executable, this library does not by itself cause the WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
resulting executable to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public
License. */
#define UNW_PASTE2(x,y) x##y #define UNW_PASTE2(x,y) x##y
#define UNW_PASTE(x,y) UNW_PASTE2(x,y) #define UNW_PASTE(x,y) UNW_PASTE2(x,y)

View file

@ -4,27 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
along with GNU CC; see the file COPYING. If not, write to EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
the Free Software Foundation, 59 Temple Place - Suite 330, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Boston, MA 02111-1307, USA. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
As a special exception, if you link this library with other files to OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
produce an executable, this library does not by itself cause the WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
resulting executable to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public
License. */
#ifndef LIBUNWIND_H #ifndef LIBUNWIND_H
#define LIBUNWIND_H #define LIBUNWIND_H

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define UNW_LOCAL_ONLY #define UNW_LOCAL_ONLY
#include <libunwind.h> #include <libunwind.h>

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "ucontext_i.h" #include "ucontext_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <stdlib.h> #include <stdlib.h>

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <assert.h> #include <assert.h>

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "offsets.h" #include "offsets.h"
#include "rse.h" #include "rse.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define IA64_LOG_UNW_CACHE_SIZE 7 #define IA64_LOG_UNW_CACHE_SIZE 7
#define IA64_UNW_CACHE_SIZE (1 << IA64_LOG_UNW_CACHE_SIZE) #define IA64_UNW_CACHE_SIZE (1 << IA64_LOG_UNW_CACHE_SIZE)

View file

@ -4,25 +4,8 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify This file is based on gcc/config/ia64/fde-glibc.c, which is copyright
it under the terms of the GNU General Public License as published by by:
the Free Software Foundation; either version 2, or (at your option)
any later version.
libunwind is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to
produce an executable, this library does not by itself cause the
resulting executable to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public
License. */
/* This file is bsed on gcc/config/ia64/fde-glibc.c, which is copyright
by:
Copyright (C) 2000, 2001 Free Software Foundation, Inc. Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@cygnus.com>. */ Contributed by Richard Henderson <rth@cygnus.com>. */

View file

@ -1,21 +1,26 @@
/* Copyright (C) 2001 Free Software Foundation, Inc. /* Copyright (C) 2002 Hewlett-Packard Co.
This file is part of the GNU C Library.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>. Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
The GNU C Library is free software; you can redistribute it and/or This file is part of libunwind.
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful, Permission is hereby granted, free of charge, to any person obtaining
but WITHOUT ANY WARRANTY; without even the implied warranty of a copy of this software and associated documentation files (the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "Software"), to deal in the Software without restriction, including
Lesser General Public License for more details. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
You should have received a copy of the GNU Lesser General Public The above copyright notice and this permission notice shall be
License along with the GNU C Library; if not, write to the Free included in all copies or substantial portions of the Software.
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* Constants shared between setcontext() and getcontext(). Don't /* Constants shared between setcontext() and getcontext(). Don't
install this header file. */ install this header file. */

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "init.h" #include "init.h"
#include "rse.h" #include "rse.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h" #include "unwind_i.h"

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "offsets.h" #include "offsets.h"
#include "rse.h" #include "rse.h"

View file

@ -4,27 +4,26 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* /*
* Copyright (C) 2000 Hewlett-Packard Co
* Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
*
* Generic IA-64 unwind info decoder. * Generic IA-64 unwind info decoder.
* *
* This file is used both by the Linux kernel and objdump. Please keep * This file is used both by the Linux kernel and objdump. Please keep

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#ifndef unwind_i_h #ifndef unwind_i_h
#define unwind_i_h #define unwind_i_h

View file

@ -4,22 +4,24 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Permission is hereby granted, free of charge, to any person obtaining
it under the terms of the GNU General Public License as published by a copy of this software and associated documentation files (the
the Free Software Foundation; either version 2, or (at your option) "Software"), to deal in the Software without restriction, including
any later version. without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is distributed in the hope that it will be useful, The above copyright notice and this permission notice shall be
but WITHOUT ANY WARRANTY; without even the implied warranty of included in all copies or substantial portions of the Software.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, if you link this library with other files to THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
produce an executable, this library does not by itself cause the EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
resulting executable to be covered by the GNU General Public License. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
This exception does not however invalidate any other reasons why the NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
executable file might be covered by the GNU General Public LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
License. */ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#ifndef mempool_h #ifndef mempool_h
#define mempool_h #define mempool_h

View file

@ -4,15 +4,26 @@
This file is part of libunwind. This file is part of libunwind.
libunwind is free software; you can redistribute it and/or modify Copyright (c) 2002 Hewlett-Packard Co.
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
libunwind is distributed in the hope that it will be useful, Permission is hereby granted, free of charge, to any person obtaining
but WITHOUT ANY WARRANTY; without even the implied warranty of a copy of this software and associated documentation files (the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "Software"), to deal in the Software without restriction, including
GNU General Public License for more details. */ without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <execinfo.h> #include <execinfo.h>
#include <signal.h> #include <signal.h>

View file

@ -2,17 +2,24 @@
Copyright (C) 2001-2002 Hewlett-Packard Co Copyright (C) 2001-2002 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. Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is free software; you can redistribute it and/or modify The above copyright notice and this permission notice shall be
it under the terms of the GNU General Public License as published by included in all copies or substantial portions of the Software.
the Free Software Foundation; either version 2, or (at your option)
any later version.
libunwind is distributed in the hope that it will be useful, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
but WITHOUT ANY WARRANTY; without even the implied warranty of EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
GNU General Public License for more details. */ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* This illustrates the basics of using the unwind interface for /* This illustrates the basics of using the unwind interface for
exception handling. */ exception handling. */

View file

@ -2,17 +2,24 @@
Copyright (C) 2001-2002 Hewlett-Packard Co Copyright (C) 2001-2002 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. Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is free software; you can redistribute it and/or modify The above copyright notice and this permission notice shall be
it under the terms of the GNU General Public License as published by included in all copies or substantial portions of the Software.
the Free Software Foundation; either version 2, or (at your option)
any later version.
libunwind is distributed in the hope that it will be useful, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
but WITHOUT ANY WARRANTY; without even the implied warranty of EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
GNU General Public License for more details. */ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* This shows how to use the unwind interface to modify any ancestor /* This shows how to use the unwind interface to modify any ancestor
frame while still returning to the parent frame. */ frame while still returning to the parent frame. */

View file

@ -2,17 +2,24 @@
Copyright (C) 2001-2002 Hewlett-Packard Co Copyright (C) 2001-2002 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. Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
libunwind is free software; you can redistribute it and/or modify The above copyright notice and this permission notice shall be
it under the terms of the GNU General Public License as published by included in all copies or substantial portions of the Software.
the Free Software Foundation; either version 2, or (at your option)
any later version.
libunwind is distributed in the hope that it will be useful, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
but WITHOUT ANY WARRANTY; without even the implied warranty of EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
GNU General Public License for more details. */ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>