* [RFA] target selection dialog fix
@ 2001-09-04 14:58 Elena Zannoni
2001-09-04 15:14 ` Keith Seitz
2001-09-27 9:23 ` Elena Zannoni
0 siblings, 2 replies; 3+ messages in thread
From: Elena Zannoni @ 2001-09-04 14:58 UTC (permalink / raw)
To: insight
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 <ezannoni@redhat.com>
* 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] }
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] target selection dialog fix
2001-09-04 14:58 [RFA] target selection dialog fix Elena Zannoni
@ 2001-09-04 15:14 ` Keith Seitz
2001-09-27 9:23 ` Elena Zannoni
1 sibling, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2001-09-04 15:14 UTC (permalink / raw)
To: Elena Zannoni; +Cc: insight
On Tue, 4 Sep 2001, Elena Zannoni wrote:
>
> The target selection dialog doesn't come up on HPUX11.00, because the
> names of the ports are not known.
Approved!
> Don't know if a 'default' clause is a better fix.
Yeah, I don't know, either. (Imagine that!)
Looking over some of the targets in there, there are a lot of "/dev/foo1"
ports. I probably did this so that SOMEONE would report what the proper
thing is. Unfortunately, it looks like no one has ever used a serial port
on many machines...
Maybe a default of "/dev/foo1" or some nonesense would be appropriate,
after all. At least the dialog would come up, then...
Keith
> 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
>
> * 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] }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] target selection dialog fix
2001-09-04 14:58 [RFA] target selection dialog fix Elena Zannoni
2001-09-04 15:14 ` Keith Seitz
@ 2001-09-27 9:23 ` Elena Zannoni
1 sibling, 0 replies; 3+ messages in thread
From: Elena Zannoni @ 2001-09-27 9:23 UTC (permalink / raw)
To: insight
Elena Zannoni writes:
>
> 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
>
Committed.
Elena
>
> 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
>
> * 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] }
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-27 9:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 14:58 [RFA] target selection dialog fix Elena Zannoni
2001-09-04 15:14 ` Keith Seitz
2001-09-27 9:23 ` Elena Zannoni
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).