* target.c (find_default_run_target): Allow a NULL `do_mesg'
authorPedro Alves <palves@redhat.com>
Fri, 28 Mar 2008 16:37:08 +0000 (16:37 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 28 Mar 2008 16:37:08 +0000 (16:37 +0000)
commit5f667f2da0743a684b20714b4c72da4696ff1c22
tree4f9c8bee91b5a92ca7931e286ba6bf9ba6a168db
parent79732189eab6d6b62f90de4836693c0590fd5d12
* target.c (find_default_run_target): Allow a NULL `do_mesg'
parameter.  If it is NULL, don't call error.
(find_default_can_async_p, find_default_is_async_p): Pass NULL as
`do_mesg' parameter to find_default_run_target.  If no target was
found, return 0.
gdb/ChangeLog
gdb/target.c