equal
deleted
inserted
replaced
104 |
104 |
105 void os::initialize_thread(Thread* thr) { |
105 void os::initialize_thread(Thread* thr) { |
106 // Nothing to do. |
106 // Nothing to do. |
107 } |
107 } |
108 |
108 |
109 address os::Bsd::ucontext_get_pc(ucontext_t* uc) { |
109 address os::Bsd::ucontext_get_pc(const ucontext_t* uc) { |
110 ShouldNotCallThis(); |
110 ShouldNotCallThis(); |
111 return NULL; |
111 return NULL; |
112 } |
112 } |
113 |
113 |
114 void os::Bsd::ucontext_set_pc(ucontext_t * uc, address pc) { |
114 void os::Bsd::ucontext_set_pc(ucontext_t * uc, address pc) { |
115 ShouldNotCallThis(); |
115 ShouldNotCallThis(); |
116 } |
116 } |
117 |
117 |
118 ExtendedPC os::fetch_frame_from_context(void* ucVoid, |
118 ExtendedPC os::fetch_frame_from_context(const void* ucVoid, |
119 intptr_t** ret_sp, |
119 intptr_t** ret_sp, |
120 intptr_t** ret_fp) { |
120 intptr_t** ret_fp) { |
121 ShouldNotCallThis(); |
121 ShouldNotCallThis(); |
122 return ExtendedPC(); |
122 return ExtendedPC(); |
123 } |
123 } |
124 |
124 |
125 frame os::fetch_frame_from_context(void* ucVoid) { |
125 frame os::fetch_frame_from_context(const void* ucVoid) { |
126 ShouldNotCallThis(); |
126 ShouldNotCallThis(); |
127 return frame(); |
127 return frame(); |
128 } |
128 } |
129 |
129 |
130 extern "C" JNIEXPORT int |
130 extern "C" JNIEXPORT int |
372 } |
372 } |
373 |
373 |
374 ///////////////////////////////////////////////////////////////////////////// |
374 ///////////////////////////////////////////////////////////////////////////// |
375 // helper functions for fatal error handler |
375 // helper functions for fatal error handler |
376 |
376 |
377 void os::print_context(outputStream* st, void* context) { |
377 void os::print_context(outputStream* st, const void* context) { |
378 ShouldNotCallThis(); |
378 ShouldNotCallThis(); |
379 } |
379 } |
380 |
380 |
381 void os::print_register_info(outputStream *st, void *context) { |
381 void os::print_register_info(outputStream *st, const void *context) { |
382 ShouldNotCallThis(); |
382 ShouldNotCallThis(); |
383 } |
383 } |
384 |
384 |
385 ///////////////////////////////////////////////////////////////////////////// |
385 ///////////////////////////////////////////////////////////////////////////// |
386 // Stubs for things that would be in bsd_zero.s if it existed. |
386 // Stubs for things that would be in bsd_zero.s if it existed. |