1 /**[txh]********************************************************************
3 Copyright (c) 2004 by Salvador E. Tropea.
4 Covered by the GPL license.
8 Translates error numbers into messages.
10 ***************************************************************************/
15 const char *error_strs[]=
23 "Unknown asyn response",
24 "Unknown result response",
26 "Time out in gdb response",
28 "Can't execute X terminal",
29 "Failed to create temporal",
30 "Can't execute the debugger"
33 const char *mi_get_error_str()
35 if (mi_error<0 || mi_error>MI_LAST_ERROR)
37 return error_strs[mi_error];