This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
insight/149: Connection to remote (serial) target fails if target selection dialog is not displayed.
- From: craig at triscend dot com
- To: insight-gnats at sources dot redhat dot com
- Date: 7 May 2002 18:35:35 -0000
- Subject: insight/149: Connection to remote (serial) target fails if target selection dialog is not displayed.
- Reply-to: craig at triscend dot com
>Number: 149
>Category: insight
>Synopsis: Connection to remote (serial) target fails if target selection dialog is not displayed.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 07 11:43:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: craig@triscend.com
>Release: unknown-1.0
>Organization:
>Environment:
Windows 2000/Cygwin
>Description:
There has been a change in Insight where the target selection window is only displayed if Target Settings is selected by the user or no target is set.
This causes problems for serial remote targets like Cygmon, because if the target selection window is not displayed, the the remote serial baudrate is not set.
>How-To-Repeat:
>Fix:
Sorry no patch file, but...
In interface.tcl, add a line that calls set_baud just before the remote connection is made, see below...
debug "CONNECTING TO TARGET: $gdb_target_cmd"
#
# If the target selection windows was not displayed because
# the target was already configured, the baud rate will not
# be set correctly, so call set_baud.
#
set_baud
set err [catch {gdb_immediate "target $gdb_target_cmd"} msg ]
$srcWin set_status
>Release-Note:
>Audit-Trail:
>Unformatted: