OSDN Git Service

2001-10-10 Frank Ch. Eigler <fche@redhat.com>
authorfche <fche>
Wed, 10 Oct 2001 19:08:45 +0000 (19:08 +0000)
committerfche <fche>
Wed, 10 Oct 2001 19:08:45 +0000 (19:08 +0000)
* config/sid.exp (set_host_info): New proc.  Call it to set
gdb,nointerrupt flag to work around framework problems.

dejagnu/ChangeLog
dejagnu/config/sid.exp

index 0ebc36a..d8b2f00 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-10  Frank Ch. Eigler  <fche@redhat.com>
+
+       * config/sid.exp (set_host_info): New proc.  Call it to set
+       gdb,nointerrupt flag to work around framework problems.
+
 2001-09-14  Eric Christopher  <echristo@redhat.com>
 
        * baseboards/mips-sim-idt64.exp: New file.
index 19ff729..8ace57f 100644 (file)
@@ -16,6 +16,19 @@ set_board_info needs_status_wrapper  1
 set_board_info gdb,nosignals 1
 set_board_info gdb,noresults 1
 
+# Don't expect interrupts to work in gdb testsuite
+proc set_host_info { entry value } {
+    global target_info board_info
+    verbose "set_host_info $entry $value" 3
+
+    set machine host
+    if [info exists target_info($machine,name)] {
+        set machine $target_info($machine,name);
+    }
+    set board_info($machine,$entry) $value
+}
+set_host_info gdb,nointerrupts 1
+
 # Cannot pass command line arguments
 set_board_info noargs 1