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]

Re: String argument within a gdb command file


>>>>> "NK" == First Last <nvk4444@yahoo.com> writes:

NK> I am trying to use add-symbol-file with arguments within a gdb command file.
NK> add-symbol-file $filename $load_addr
NK> I found that the $filename is not evaluated

NK> Any suggestions?

You can use 'eval', or Python scripting.

Tom


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