mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +08:00
* ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
error () so that we abort out of bdm_ppc_open.
This commit is contained in:
parent
6ba4c1539f
commit
17772016ca
@ -1,3 +1,8 @@
|
||||
Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com>
|
||||
|
||||
* ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
|
||||
error () so that we abort out of bdm_ppc_open.
|
||||
|
||||
Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
|
||||
|
||||
* serial.c (_initialize_serial): Add a description of
|
||||
|
@ -332,7 +332,10 @@ device the OCD device is attached to (e.g. /dev/ttya).");
|
||||
if (!catch_errors (ocd_start_remote, (char *)target_type,
|
||||
"Couldn't establish connection to remote target\n",
|
||||
RETURN_MASK_ALL))
|
||||
pop_target();
|
||||
{
|
||||
pop_target();
|
||||
error ("Failed to connect to OCD.");
|
||||
}
|
||||
}
|
||||
|
||||
/* This takes a program previously attached to and detaches it. After
|
||||
|
Loading…
Reference in New Issue
Block a user