[PATCH,tests] Run to main before doing any tests in structs3.exp

Luis Machado lgustavo@codesourcery.com
Wed Nov 14 19:22:00 GMT 2012


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



More information about the Gdb-patches mailing list