This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH,tests] Run to main before doing any tests in structs3.exp
> 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.
--
Joel