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, testsuite] Don't run SREC, IHEX and TEKHEX tests for MIPS N64.


On 07/02/2013 12:24 AM, Luis Machado wrote:
+# Since SREC, IHEX and TEKHEX cannot handle 64-bit addresses for
+# MIPS64, stop testing if we have a 64-bit MIPS program.
+if {[istarget "mips*-*-*"]} then {
+  send_gdb "show mips abi\n"
+  gdb_expect {
+      -re ".*n64.*$gdb_prompt $" {
+	  set is64bitonly "yes"
+      }
+  }
+}
+

Luis,
this patch looks reasonable to me. Probably, we should move the code to the place close to the existing code setting "is64bitonly" too.

--
Yao (éå)


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