This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to access files (open/read/close) from gdb script ?


Hello,

Does anyone of you know how to perform file operations
(open/read/close) from a GDB script ?

Each time GDB stops on a breakpoint I read a value from memory and then
I want to open a file on the host and search for the value in this
file ? any hints ?

Thanks,
David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]