From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: insight@sourceware.cygnus.com Subject: Patch: ETX fix Date: Thu, 10 Aug 2000 09:11:00 -0000 Message-id: <3992D438.7C3A5AE5@cygnus.com> X-SW-Source: 2000-q3/msg00149.html I could never reproduce this problem and the person who asked for it never gave me any feedback. But the change looks right, in a paranoiac all-deffensive programming way, so I am incorporating it. -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@cygnus.com Index: ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/ChangeLog,v retrieving revision 1.27 diff -c -p -r1.27 ChangeLog *** ChangeLog 2000/08/10 15:59:55 1.27 --- ChangeLog 2000/08/10 16:02:10 *************** *** 1,5 **** --- 1,9 ---- 2000-08-10 Fernando Nasser + * targetselection.itb (change_baud): Don't set baud for ETX. + + 2000-08-10 Fernando Nasser + * 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: targetselection.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/targetselection.itb,v retrieving revision 1.1.1.1 diff -c -p -r1.1.1.1 targetselection.itb *** targetselection.itb 2000/02/07 00:19:42 1.1.1.1 --- targetselection.itb 2000/08/10 16:02:11 *************** body TargetSelection::change_target {w { *** 769,775 **** # ------------------------------------------------------------------ body TargetSelection::change_baud {w {baud ""}} { if {$baud != ""} { ! if {[string compare $baud "TCP"] != 0} { gdb_cmd "set remotebaud $baud" if {[catch {gdb_cmd "show remotebaud"} res]} { set newbaud 0 --- 769,776 ---- # ------------------------------------------------------------------ body TargetSelection::change_baud {w {baud ""}} { if {$baud != ""} { ! 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