diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-02-04 17:16:37 -0700 |
---|---|---|
committer | David Mosberger-Tang <davidm@koala.mostang.com> | 2008-02-04 17:16:37 -0700 |
commit | 3842dac7333e42aa44531eda34ba55200b99ccf8 (patch) | |
tree | 409f22e4ddf1c4711c106e88f529764420d7d89e /src/arm/Gis_signal_frame.c | |
parent | 5ed2da2a403fe091d953183449003c9df861c289 (diff) | |
download | libunwind-3842dac7333e42aa44531eda34ba55200b99ccf8.tar.gz |
Add initial ARM and MIPS support. To support this, also enable the
reading of .debug_frame sections (used in lieu of .eh_frame sections
when they're not available).
Diffstat (limited to 'src/arm/Gis_signal_frame.c')
-rw-r--r-- | src/arm/Gis_signal_frame.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/arm/Gis_signal_frame.c b/src/arm/Gis_signal_frame.c new file mode 100644 index 00000000..77548d5c --- /dev/null +++ b/src/arm/Gis_signal_frame.c @@ -0,0 +1,35 @@ +/* libunwind - a platform-independent unwind library + Copyright (C) 2008 CodeSourcery + +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: + +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 <stdio.h> +#include "unwind_i.h" + +/* FIXME for ARM. */ + +PROTECTED int +unw_is_signal_frame (unw_cursor_t *cursor) +{ + printf ("%s: implement me\n", __FUNCTION__); + return -UNW_ENOINFO; +} |