
linux工具源码
文章平均质量分 51
HugoVus
这个作者很懒,什么都没留下…
展开
-
vim + ctags + cscope
vim + ctags + cscope转载 2022-06-27 10:19:47 · 1779 阅读 · 1 评论 -
gdbServer编译及使用
GDB调试主要有两种方法:(1)直接在目标板上通过gdb调试程序(2)在目标板上通过gdbserver运行程序,在宿主机上通过gdb调试程序这两种方法中的gdb编译方法是不同的。(1)中的gdb是运行在目标板上,其elf文件应该是目标板芯片架构(如ARM aarch64等);(2)中的gdb运行于宿主机上,其elf文件应该是宿主机架构(如x86-64等)。其中,(1)的编译方法在gdb源码下载及编译已经有介绍了,本文主要介绍(2)中gdb的编译方法及gdbserver的编译方法一 gd.原创 2021-10-15 19:43:12 · 4175 阅读 · 0 评论 -
gdb源码下载及编译
(1)平台:ubuntu 16.04LTS(2)源码路径:http://ftp.gnu.org/gnu/gdb/我这里下载的版本是gdb-8.2.tar.gz(3)解压后,进入gdb-8.2顶层目录如下:/home/share/gdb-8.2(4)创建bin目录,用于存放编译产物mkdir -p bin(5) 配置configure./configure --prefix=/home/shar...原创 2021-09-03 18:43:19 · 8503 阅读 · 0 评论 -
linux代码在线查看网址
1.https://elixir.bootlin.com (只能搜索函数和宏定义,功能单一)2.https://lxr.missinglinkelectronics.com (比第一个功能多一些,可以搜索内核中的字符串)原创 2021-08-23 09:43:17 · 822 阅读 · 0 评论 -
i2c访问工具源码
#include <unistd.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/ioctl.h>#include <fcntl.h>#include <ctype.h>#include <li.原创 2021-06-10 20:20:34 · 422 阅读 · 0 评论