[patch] Can't connect to simulator that doesn't have bi-endian

Masaki Muranaka monaka@monami-software.com
Tue Feb 13 01:13:00 GMT 2007


Hello Daniel,

Thanks for your patch. I've tried it.

On 2007/02/09, at 0:01, Daniel Jacobowitz wrote:
> +enum bfd_endian
> +selected_byte_order (void)
> +{
> +  if (target_byte_order_user)
> +    return TARGET_BYTE_ORDER;
> +  else
> +    return BFD_ENDIAN_UNKNOWN;
> +}
> +

I think it should be:
- if (target_byte_order_user)
+ if (target_byte_order_user != BFD_ENDIAN_UNKNOWN)

Others nice to me.

--
Masaki Muranaka
Monami software




More information about the Gdb-patches mailing list