X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Finclude%2Frte_debug.h;h=c4bc71ce28f52518f9b92b34f463df8d087f439e;hb=8d63961fc7137cab823f85a50ee82779792f21e4;hp=7edd4b89ccd163060d5306ec06bc85ac23a496c6;hpb=9c1e0dc39a03c95447095241eaf3764d2e0dd003;p=dpdk.git diff --git a/lib/librte_eal/include/rte_debug.h b/lib/librte_eal/include/rte_debug.h index 7edd4b89cc..c4bc71ce28 100644 --- a/lib/librte_eal/include/rte_debug.h +++ b/lib/librte_eal/include/rte_debug.h @@ -26,13 +26,6 @@ extern "C" { */ void rte_dump_stack(void); -/** - * Dump the registers of the calling core to the console. - * - * Note: Not implemented in a userapp environment; use gdb instead. - */ -void rte_dump_registers(void); - /** * Provide notification of a critical non-recoverable error and terminate * execution abnormally. @@ -69,10 +62,10 @@ void rte_dump_registers(void); void __rte_panic(const char *funcname , const char *format, ...) #ifdef __GNUC__ #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) - __attribute__((cold)) + __rte_cold #endif #endif - __attribute__((noreturn)) + __rte_noreturn __rte_format_printf(2, 3); #ifdef __cplusplus