Hi,
I have a shell script wherein i am doing some file operations and storing the data in some variables. I am exporting these variables as i need to use them outside shell. Then within the shell i am launching GDB session hoping that i will be able to access the exported variables in the GDB session.
I could launch the GDB session after doing the file operation but i am unable to access the exported variables. Is there any way to access the variables outside the shell?
I need to use the variables in the GDB session spawned by the shell. In GDB i cant do cat operation.I am looking for a mechanism to access those variables straightway .