« first day (2963 days earlier)      last day (653 days later) » 

8:28 AM
2
Q: Null pointer dereference not leading to seg-fault in C

Naman SharmaI am working on a router crash where the GDB decode shows - 1184 static void 1185 xyz_delete (<struct type1> *c, <struct type2> **a) 1186 { ... ... ... ... 1196 b = *a; 1197 if (!b) { 1198 return; 1199 } ... ... ... ... 1245 free_timer(b->active_timer); ... ... ... } If y...

 
9:22 AM
0
Q: ICC compile options for evaluating macros in GDB while debugging

subject-qI would like to evaluate and print the macro while debugging using GDB. While the GDB documentation has steps to do that by compiling using -g3 flag in gcc compiler, I am using Intel Icc compiler. Their debugging compilation options seem to have no information about macros. Is it possible to do t...

 

« first day (2963 days earlier)      last day (653 days later) »