2012年6月8日
摘要: 原文地址:http://www.cnblogs.com/feisky/archive/2009/10/23/1588771.htmlLinux 操作系统从一开始就对串行口提供了很好的支持,本文就 Linux 下的串行口通讯编程进行简单的介绍。串口简介串行口是计算机一种常用的接口,具有连接线少,通讯简单,得到广泛的使用。常用的串口是 RS-232-C 接口(又称 EIA RS-232-C)它是在 1970 年由美国电子工业协会(EIA)联合贝尔系统、 调制解调器厂家及计算机终端生产厂家共同制定的用于串行通讯的标准。它的全名是"数据终端设备(DTE)和数据通讯设备(DCE)之间串行二进制 阅读全文
posted @ 2012-06-08 08:21 spinsoft 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cppblog.com/liu1061/articles/53762.html如果在Linux平台可以用gdb进行反汇编和调试。(转)2. 最简C代码分析 为简化问题,来分析一下最简的c代码生成的汇编代码: # vi test1.c int main() { return 0; } 编译该程序,产生二进制文件: # gcc test1.c -o test1 # file test1 test1: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped te... 阅读全文
posted @ 2012-06-08 08:19 spinsoft 阅读(416) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wangkangluo1/archive/2012/02/04/2337696.htmlHere are a list of various useful commands that come in handy Command / Option descriptionGDB CommandWinDbg Command / GUI operation descriptionsEnablingpost-mortem default debuggerNotapplicable on any Unix/Linux OSToregister as th... 阅读全文
posted @ 2012-06-08 08:14 spinsoft 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 原文链接IPC进程间通信(Inter-Process Communication)就是指多个进程之间相互通信,交换信息的方法。Linux IPC基本上都是从Unix平台上继承而来的。主要包括最初的Unix IPC,System V IPC以及基于Socket的IPC。另外,Linux也支持POSIX IPC。System V,BSD,POSIX System V是Unix操作系统最早的商业发行版之一。它最初由AT&T(American Telephone & Telegraph)开发,最早在1983年发布。System V主要发行了4个版本,其中SVR4(System V Re 阅读全文
posted @ 2012-06-08 08:07 spinsoft 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 原文链接 阅读全文
posted @ 2012-06-08 08:05 spinsoft 阅读(0) 评论(0) 推荐(0) 编辑
  2012年6月6日
该文被密码保护。 阅读全文
posted @ 2012-06-06 14:15 spinsoft 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-06 11:32 spinsoft 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-06 11:16 spinsoft 阅读(0) 评论(0) 推荐(0) 编辑
  2012年6月5日
该文被密码保护。 阅读全文
posted @ 2012-06-05 13:20 spinsoft 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-05 10:56 spinsoft 阅读(0) 评论(0) 推荐(0) 编辑