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] |
On Thu, Feb 22, 2007 at 11:02:38AM -0600, Joel Sherrill wrote:
Hi,
Apparently gdb 6.6 passes a -E endian option to the sim_open hook. The erc32 simulator does not parse this option and produces a error message like this:
(gdb) tar sim unknown option -E open of big failed Connected to the simulator.
The attached patch is in the style of the
existing code and silently eats the -E option
if the endian value is big or little.
Could you try this instead?
http://sourceware.org/ml/gdb-patches/2007-02/msg00078.html
With this patch, gdb still passes a -E big to sim_open in the erc32 simulator code and there is nothing to parse it at that level.
AFAIK the erc32 simulator is big endian only and should just eat the option for at least endian == big. My patch just ate the option if it was either big or little and gave an error on any other value.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |