[kgtp] r912 committed - Adding gtprb2rsp.c

  • From: kgtp@xxxxxxxxxxxxxx
  • To: kgtp@xxxxxxxxxxxxx
  • Date: Tue, 07 Feb 2012 01:29:06 +0000

Revision: 912
Author:   teawater
Date:     Mon Feb  6 17:28:08 2012
Log:      Adding gtprb2rsp.c

http://code.google.com/p/kgtp/source/detail?r=912

Added:
 /branches/hotcode/gtprb2rsp.c

=======================================
--- /dev/null
+++ /branches/hotcode/gtprb2rsp.c       Mon Feb  6 17:28:08 2012
@@ -0,0 +1,41 @@
+/*
+ * Translate gtpframe_pipe mmap to GDB rsp format.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Copyright(C) KGTP team (https://code.google.com/p/kgtp/), 2012
+ */
+
+#include <sys/types.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <stdint.h>
+#include <sys/vfs.h>
+#include <signal.h>
+
+#define GTP_FRAME_PIPE_DIR     "/sys/kernel/debug/gtpframe_pipe"
+
+int
+main(int argc,char *argv[],char *envp[])
+{
+
+
+       return 0;
+}

Other related posts:

  • » [kgtp] r912 committed - Adding gtprb2rsp.c - kgtp