From b5b97f20a8225e6aad593b2d8f8eb6c0ac34cefe Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 30 Oct 2013 14:32:42 -0700 Subject: [PATCH] Remove an obsolete ARM gdb hack. Experiment shows that the claim in the makefile was false: gdb works fine setting breakpoints in these functions when compiled without special treatment. Change-Id: Ibdf4dd5a14d171c954b8c2089daaf28e1c310be9 --- libc/Android.mk | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/libc/Android.mk b/libc/Android.mk index df9805ae5..116e08f19 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -414,23 +414,6 @@ libc_upstream_netbsd_src_files := \ upstream-netbsd/libc/string/strxfrm.c \ upstream-netbsd/libc/unistd/killpg.c \ -# These files need to be arm so that gdbserver -# can set breakpoints in them without messing -# up any thumb code. -# TODO: is this actually necessary? -ifeq ($(TARGET_ARCH),arm) -libc_common_src_files += \ - bionic/pthread-atfork.c.arm \ - bionic/pthread-rwlocks.c.arm \ - bionic/pthread-timers.c.arm \ - bionic/ptrace.c.arm \ - -libc_static_common_src_files += \ - bionic/pthread.c.arm \ - bionic/pthread_create.cpp.arm \ - bionic/pthread_key.cpp.arm \ - -else libc_common_src_files += \ bionic/pthread-atfork.c \ bionic/pthread-rwlocks.c \ @@ -442,9 +425,6 @@ libc_static_common_src_files += \ bionic/pthread_create.cpp \ bionic/pthread_key.cpp \ -endif # arm - - # Architecture specific source files go here # ========================================================= ifeq ($(TARGET_ARCH),arm)