[Guardsoft-cvs] guard/src/dbgsrv dbgsrv_proto.c,1.11,1.12
Brought to you by:
jarrah
|
From: Greg W. <ja...@us...> - 2005-05-01 16:28:17
|
Update of /cvsroot/guardsoft/guard/src/dbgsrv In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26160 Modified Files: dbgsrv_proto.c Log Message: Added GDB MI support. Index: dbgsrv_proto.c =================================================================== RCS file: /cvsroot/guardsoft/guard/src/dbgsrv/dbgsrv_proto.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** dbgsrv_proto.c 7 Jan 2004 02:29:47 -0000 1.11 --- dbgsrv_proto.c 1 May 2005 16:28:06 -0000 1.12 *************** *** 56,61 **** extern dbgsrv_proto DbgSrvSocProtoSW; #ifdef GDB extern dbgbackend_sw DbgBackendGDB; ! #endif /* IDB */ #ifdef IDB extern dbgbackend_sw DbgBackendIDB; --- 56,65 ---- extern dbgsrv_proto DbgSrvSocProtoSW; #ifdef GDB + #ifdef LIBMIGDB + extern dbgbackend_sw DbgBackendGDBMI; + #else /* LIBMIGDB */ extern dbgbackend_sw DbgBackendGDB; ! #endif /* LIBMIGDB */ ! #endif /* GDB */ #ifdef IDB extern dbgbackend_sw DbgBackendIDB; *************** *** 74,78 **** --- 78,86 ---- { #ifdef GDB + #ifdef LIBMIGDB + { "gdbmi", &DbgBackendGDBMI }, + #else /* LIBMIGDB */ { "gdb", &DbgBackendGDB }, + #endif /* LIBMIGDB */ #endif /* GDB */ #ifdef IDB *************** *** 91,95 **** --- 99,107 ---- #endif /* SUN_RPC */ #ifdef GDB + #ifdef LIBMIGDB + dbgbackend_sw * DbgBackendSW = &DbgBackendGDBMI; /* Default to GDBMI */ + #else /* LIBMIGDB */ dbgbackend_sw * DbgBackendSW = &DbgBackendGDB; /* Default to GDB */ + #endif /* LIBMIGDB */ #elif defined(IDB) dbgbackend_sw * DbgBackendSW = &DbgBackendIDB; /* Default to IDB */ |