public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Patch: ETX fix
@ 2000-08-10  9:11 Fernando Nasser
  0 siblings, 0 replies; only message in thread
From: Fernando Nasser @ 2000-08-10  9:11 UTC (permalink / raw)
  To: insight

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-10  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-10  9:11 Patch: ETX fix Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).