GDB的功能 1.启动被调试程序 2.让被调试的程序在指定位置停住 3.当程序停住的时候,可以检查程序状态,变量值 用法: gcc -g test.c -o test gdb 命令: 查看源代码 list/l 空 or 行号 or 函数名 直接enter,重复执行上一命令 run/r 运行至下一个断 ...
分类:
数据库 时间:
2017-09-02 01:03:42
阅读次数:
318
Linux PC应用程序gdb调试: 1、查看core文件参数 yinkui@yinkui-desktop:~/File_unzip/cp_module$ ulimit -a core file size (blocks, -c) 0 //产生core文件数目,不会产生core文件 data seg ...
分类:
数据库 时间:
2017-09-01 17:55:22
阅读次数:
275
1. 看上图好像只有subset sum 符合条件采取增加节点:ite 而且直接return了,不再继续找子集? ...
分类:
编程语言 时间:
2017-08-26 12:37:20
阅读次数:
122
Giving a string with number from 1 to n in random order, but miss 1 number.Find that number. You can assume n <= 30 Giving a string with number from 1 ...
分类:
其他好文 时间:
2017-07-21 15:39:33
阅读次数:
173
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums ...
分类:
其他好文 时间:
2017-07-18 01:50:42
阅读次数:
224
typedef struct _SYSTEM_HANDLE_TABLE_ENTRY_INFO { USHORT UniqueProcessId; USHORT CreatorBackTraceIndex; UCHAR ObjectTypeIndex; UCHAR HandleAttributes; ...
分类:
其他好文 时间:
2017-06-11 20:13:59
阅读次数:
332
方(芳)格(哥)取数 Time Limit: 3000ms Memory Limit: 65536KB 64-bit integer IO format: %lld Java class name: Main Prev Submit Status Statistics Discuss Next Fo ...
分类:
其他好文 时间:
2017-06-07 12:52:19
阅读次数:
226
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums ...
分类:
其他好文 时间:
2017-06-07 00:49:00
阅读次数:
180
Given a set of distinct integers, nums, return all possible subsets.Note: The solution set must not contain duplicate subsets.For example,If nums = [1 ...
分类:
其他好文 时间:
2017-06-03 22:40:16
阅读次数:
171
【NE现场】 从调用栈来看,是SignalCacher线程在打印其他线程的调用栈时出现异常。 【问题分析】 先通过addr2line工具确定出问题的代码: 看起来是shstrndx太大,数组访问越界导致的。而 shstrndx = ehdr.e_shstrndx 这个值是从elfheader中获取的 ...
分类:
Web程序 时间:
2017-05-13 12:33:39
阅读次数:
625