8077648: ARM: BREAKPOINT is wrong for thumb
Reviewed-by: dlong
This commit is contained in:
parent
45b28571f0
commit
f16c6f2d9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user