diff options
author | Ken Werner <ken.werner@linaro.org> | 2011-09-09 09:32:54 +0000 |
---|---|---|
committer | Arun Sharma <asharma@fb.com> | 2011-10-15 23:10:28 -0700 |
commit | 7f41e701e34353baa975f5b471a9343aee2e488e (patch) | |
tree | db275f92ff2dadf9686ee56d7699d30cb15ef1ce /src/os-freebsd.c | |
parent | da4743f52a577c9bf005a23b39b021238763e5ee (diff) | |
download | libunwind-7f41e701e34353baa975f5b471a9343aee2e488e.tar.gz |
Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY
Because it gets used by libunwind-ptrace.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
Diffstat (limited to 'src/os-freebsd.c')
-rw-r--r-- | src/os-freebsd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/os-freebsd.c b/src/os-freebsd.c index a3151886..64fc9338 100644 --- a/src/os-freebsd.c +++ b/src/os-freebsd.c @@ -22,8 +22,6 @@ 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. */ -#ifndef UNW_REMOTE_ONLY - #include <sys/param.h> #include <sys/types.h> #include <sys/mman.h> @@ -97,5 +95,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, free_mem(buf, len1); return (ret); } - -#endif /* UNW_REMOTE_ONLY */ |