1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 16:47:38 +01:00

(main): If HAVE_TTRACE is defined, fail unconditionally.

(Logical change 1.222)
This commit is contained in:
mostang.com!davidm 2004-05-04 22:19:18 +00:00
parent 6cc7f0a9a8
commit ba424722db

View file

@ -23,6 +23,19 @@ 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 <config.h>
#ifdef HAVE_TTRACE
int
main (int argc, char **argv)
{
printf ("FAILURE: ttrace() not supported yet\n");
return -1;
}
#else /* !HAVE_TTRACE */
#include <errno.h>
#include <fcntl.h>
#include <libunwind-ptrace.h>
@ -250,3 +263,5 @@ main (int argc, char **argv)
return 0;
}
#endif /* !HAVE_TTRACE */