gdb 6.6 sim/erc32 does not parse -E option
Joel Sherrill
joel.sherrill@oarcorp.com
Thu Feb 22 18:46:00 GMT 2007
Daniel Jacobowitz wrote:
> On Thu, Feb 22, 2007 at 12:26:25PM -0600, Joel Sherrill wrote:
>
>> Daniel Jacobowitz wrote:
>>
>>> On Thu, Feb 22, 2007 at 11:28:38AM -0600, Joel Sherrill wrote:
>>>
>>>
>>>> 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.
>>>>
>>>>
>>> It shouldn't do that. If it does, please show me a complete GDB
>>> session.
>>>
>>>
>>>
>> I double checked that the patch is applied and
>> had made clean before the last email. Here is
>> the user's view:
>>
>
> Oh sorry for making you run around in circles. I knew I needed to fix
> something, that's why I hadn't applied it yet. It was pointed out
> that it needs:
>
> - if (target_byte_order_user)
> + if (target_byte_order_user != BFD_ENDIAN_UNKNOWN)
>
> That ought to help!
>
I assumed this went in arch-utils.c and resulted in the attached updated
version of your patch.
It does seem to work now.
If you are happy with the attached patch, then we will make it part of
the RTEMS gdb 6.6 patch.
Thanks.
--joel
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new.diff
Type: text/x-patch
Size: 1875 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070222/ef17b933/attachment.bin>
More information about the Gdb-patches
mailing list