- 博客(4)
- 收藏
- 关注
原创 gdb
ps./gdbattach (LLT_SEND)b xxx 打断点i b 查看断点call function(attr1,attr2,...)bt 显示堆栈 c continue running your programlist 显示程序第linenum行周围的源程序
2012-05-17 20:01:36 145
原创 linux常见操作
chmod -R 777 xxx tar -zcf xxx.tgz xxxtar -zxf xxx.tgz 进入Dshellpsdshellattach (LLT_SEND) 退出Dshellctrl + z 重新进入dshellfg回车回车 在tshell下显示内存 system "/root/himd 0x200010
2012-05-16 09:53:01 263
原创 linux字符设备
1、cdev结构体struct cdev { struct kobject kobj; struct module *owner; const struct file_operations *ops; struct list_head list; dev_t dev; unsigned int count;}; static struct char_devi
2012-04-25 12:43:47 152
原创 linux信号量
1、初始化信号量static inline void sema_init(struct semaphore *sem, int val)#define init_MUTEX(sem) sema_init(sem, 1)#define init_MUTEX_LOCKED(sem) sema_init(sem, 0)2、获得信号量void down(struct semaphor
2012-04-24 13:54:12 191
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人