OSDN Git Service

2000-08-10 Fernando Nasser <fnasser@cygnus.com>
authorFernando Nasser <fnasser@redhat.com>
Thu, 10 Aug 2000 16:02:52 +0000 (16:02 +0000)
committerFernando Nasser <fnasser@redhat.com>
Thu, 10 Aug 2000 16:02:52 +0000 (16:02 +0000)
* targetselection.itb (change_baud): Don't set baud for ETX.

gdb/gdbtk/library/ChangeLog
gdb/gdbtk/library/targetselection.itb

index 940544b..698faf4 100644 (file)
@@ -1,5 +1,9 @@
 2000-08-10  Fernando Nasser  <fnasser@cygnus.com>
 
+       * targetselection.itb (change_baud): Don't set baud for ETX.
+
+2000-08-10  Fernando Nasser  <fnasser@cygnus.com>
+
        * srctextwin.itb (jump_to_here): New method. Implements the
        "Jump to Here" popup menu option.
        (build_popups): Add the "Jump to Here" option to the popup menu.
index f763087..0fe9df1 100644 (file)
@@ -769,7 +769,8 @@ body TargetSelection::change_target {w {name ""}} {
 # ------------------------------------------------------------------
 body TargetSelection::change_baud {w {baud ""}} {
   if {$baud != ""} {
-    if {[string compare $baud "TCP"] != 0} {
+    if {([string compare $baud "TCP"] != 0)
+        && ([string compare $baud "ETX"] != 0)} {
       gdb_cmd "set remotebaud $baud"
       if {[catch {gdb_cmd "show remotebaud"} res]} {
        set newbaud 0