This is the mail archive of the gdb-patches@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: [PATCH,tests] Run to main before doing any tests in structs3.exp


On 11/07/2012 01:08 PM, Joel Brobecker wrote:
Though "two" and "twop" have been properly relocated, the value of
"twop" is still pointing at the location before relocation, thus the
printed values are wrong.

Ha! I get it, now; thanks, Luis.


Pedro's suggestion of simply loading the binary via gdb_file_cmd
works for me though. So there is no need to effectively start the
inferior.

Like Pedro, I think we should try to be as standard as possible. Starting the inferior isn't a real issue.


Thanks. I've checked it in now.


Luis


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