קוד: |
hello all i want to automate search in the heap through gdb i cant access the heap starting point so i save the info proc mappings to a file and i can grep +awk what i need and save it to a file now i need to read the file content to a conveniance var but have no luck the command:shell grep heap map.txt|awk '{print "set $a=(long)"$1}' not access the conveniance var apperently and i dont' know how to read a file and get the data to a conveniance var can someone assist |