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]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]