8328589: unify os::breakpoint among posix platforms
Reviewed-by: lucy, asteiner, dholmes
This commit is contained in:
parent
a5a2eca155
commit
93d1700f23
@ -621,17 +621,6 @@ void os::init_system_properties_values() {
|
||||
#undef EXTENSIONS_DIR
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// breakpoint support
|
||||
|
||||
void os::breakpoint() {
|
||||
BREAKPOINT;
|
||||
}
|
||||
|
||||
extern "C" void breakpoint() {
|
||||
// use debugger to set breakpoint here
|
||||
}
|
||||
|
||||
// retrieve memory information.
|
||||
// Returns false if something went wrong;
|
||||
// content of pmi undefined in this case.
|
||||
|
@ -535,17 +535,6 @@ void os::init_system_properties_values() {
|
||||
#undef EXTENSIONS_DIR
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// breakpoint support
|
||||
|
||||
void os::breakpoint() {
|
||||
BREAKPOINT;
|
||||
}
|
||||
|
||||
extern "C" void breakpoint() {
|
||||
// use debugger to set breakpoint here
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// create new thread
|
||||
|
||||
|
@ -640,17 +640,6 @@ void os::init_system_properties_values() {
|
||||
#undef EXTENSIONS_DIR
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// breakpoint support
|
||||
|
||||
void os::breakpoint() {
|
||||
BREAKPOINT;
|
||||
}
|
||||
|
||||
extern "C" void breakpoint() {
|
||||
// use debugger to set breakpoint here
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// detecting pthread library
|
||||
|
||||
|
@ -187,6 +187,17 @@ size_t os::lasterror(char *buf, size_t len) {
|
||||
return n;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// breakpoint support
|
||||
|
||||
void os::breakpoint() {
|
||||
BREAKPOINT;
|
||||
}
|
||||
|
||||
extern "C" void breakpoint() {
|
||||
// use debugger to set breakpoint here
|
||||
}
|
||||
|
||||
// Return true if user is running as root.
|
||||
bool os::have_special_privileges() {
|
||||
static bool privileges = (getuid() != geteuid()) || (getgid() != getegid());
|
||||
|
Loading…
x
Reference in New Issue
Block a user