8077648: ARM: BREAKPOINT is wrong for thumb

Reviewed-by: dlong
This commit is contained in:
David Holmes 2016-01-14 01:25:30 -05:00
parent 45b28571f0
commit f16c6f2d9f

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -212,16 +212,8 @@ extern "C" {
#define DEBUG_EXCEPTION ::abort();
#ifdef ARM32
#ifdef SOLARIS
#define BREAKPOINT __asm__ volatile (".long 0xe1200070")
#else
#define BREAKPOINT __asm__ volatile (".long 0xe7f001f0")
#endif
#else
extern "C" void breakpoint();
#define BREAKPOINT ::breakpoint()
#endif
// checking for nanness
#ifdef SOLARIS