ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
אורח · ·
 

הודעה פורסם: 23/06/2019 - 00:12
נושא ההודעה: read data to gdb conveniance var

קוד:

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
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
הצגת הודעות מלפני:     
מעבר אל:  
כל הזמנים הם GMT + 2 שעות
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
PNphpBB2 © 2003-2004 

תוכן הדיון

  1. אורח