@@ -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 */
@@ -23,8 +23,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 <dlfcn.h>
#include <string.h>
#include <unistd.h>
@@ -67,5 +65,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
return elf_map_image (ei, path);
}
-
-#endif /* UNW_REMOTE_ONLY */
@@ -23,8 +23,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 <limits.h>
#include <stdio.h>
@@ -63,5 +61,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
maps_close (&mi);
return rc;
}
-
-#endif /* UNW_REMOTE_ONLY */
Because it gets used by libunwind-ptrace. Signed-off-by: Ken Werner <ken.werner@linaro.org> --- src/os-freebsd.c | 4 ---- src/os-hpux.c | 4 ---- src/os-linux.c | 4 ---- 3 files changed, 0 insertions(+), 12 deletions(-)