This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Patch: ETX fix
- To: insight at sourceware dot cygnus dot com
- Subject: Patch: ETX fix
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 10 Aug 2000 12:11:36 -0400
- Organization: Red Hat , Inc. - Toronto
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 <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: 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