From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elena Zannoni To: insight@sources.redhat.com Subject: [RFA] target selection dialog fix Date: Tue, 04 Sep 2001 14:58:00 -0000 Message-id: <15253.20453.449161.840015@krustylu.cygnus.com> X-SW-Source: 2001-q3/msg00231.html The target selection dialog doesn't come up on HPUX11.00, because the names of the ports are not known. Don't know if a 'default' clause is a better fix. Elena 2001-09-04 Elena Zannoni * library/targetselection.itb (build_win, default_port): Handle hpux 11.00. Index: library/targetselection.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/targetselection.itb,v retrieving revision 1.8 diff -u -p -r1.8 targetselection.itb --- targetselection.itb 2001/08/23 16:35:34 1.8 +++ targetselection.itb 2001/09/04 21:53:46 @@ -270,7 +270,8 @@ body TargetSelection::default_port {} { # Special case... switch -regexp $tcl_platform(osVersion) { A.09 { set port /dev/tty00 } - B.10 { set port /dev/tty0p0 } + B.10 - + B.11 { set port /dev/tty0p0 } } } default { set port /dev/ttya } @@ -436,7 +437,8 @@ body TargetSelection::build_win {} { # Special case... switch -regexp $tcl_platform(osVersion) { A.09 { set ports [list /dev/tty00 /dev/tty01] } - B.10 { set ports [list /dev/tty0p0 /dev/tty1p0] } + B.10 - + B.11 { set ports [list /dev/tty0p0 /dev/tty1p0] } } } default { set ports [list UNKNOWN UNKNOWN] }