OSDN Git Service

2001-01-03 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Thu, 4 Jan 2001 00:59:47 +0000 (00:59 +0000)
committerjjohnstn <jjohnstn>
Thu, 4 Jan 2001 00:59:47 +0000 (00:59 +0000)
        * configrun-sid.in: Imply --persistent if --gdb=xxxx specified.
        Also set gdb "exit-on-detach" setting if gdb specified and
        connect gdb restart pin to hw-reset-net.  This will cause hw reset
        if gdb restarts a program or if gdb terminates and is run again.

sid/bsp/ChangeLog
sid/bsp/configrun-sid.in

index 49799df..6a8d0bb 100644 (file)
@@ -1,3 +1,10 @@
+2001-01-03  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * configrun-sid.in: Imply --persistent if --gdb=xxxx specified.
+        Also set gdb "exit-on-detach" setting if gdb specified and
+        connect gdb restart pin to hw-reset-net.  This will cause hw reset
+        if gdb restarts a program or if gdb terminates and is run again.
+
 2000-12-15  Frank Ch. Eigler  <fche@redhat.com>
 
        * configrun-sid.in: Add support for default endianness for --gdb runs.
index 11e5273..e172bb5 100644 (file)
@@ -231,6 +231,11 @@ if ($opt_no_run && (! $opt_save_temps))
     $opt_save_temps = 1;
   }
 
+# infer --persistent from --gdb=xxxx
+if ($opt_gdb)
+  {
+    $opt_persistent = 1;
+  }
 
 # complete component library list
 %component_libs=(
@@ -770,6 +775,8 @@ connect-pin init-sequence output-3 -> gdb init
 connect-pin deinit-sequence output-5 -> gdb deinit
 connect-pin gdb yield -> yield-net input
 connect-pin gdb flush-icache -> cpu flush-icache
+connect-pin gdb restart -> hw-reset-net input
+set gdb exit-on-detach? 1
 set gdb trace-gdbsid? $opt_verbose
 set gdb trace-gdbserv? $opt_verbose
 # gdb-socket