mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2004-07-26 Andrew Cagney <cagney@gnu.org>
Problem reported by Ashley Pittman <ashley@quadrics.com>. * main.c (captured_main): When in batch mode always detach.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-07-26 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
|
Problem reported by Ashley Pittman <ashley@quadrics.com>.
|
||||||
|
* main.c (captured_main): When in batch mode always detach.
|
||||||
|
|
||||||
2004-07-26 Andrew Cagney <cagney@gnu.org>
|
2004-07-26 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
* MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
|
* MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
|
||||||
|
@ -729,6 +729,13 @@ extern int gdbtk_test (char *);
|
|||||||
|
|
||||||
if (batch)
|
if (batch)
|
||||||
{
|
{
|
||||||
|
if (attach_flag)
|
||||||
|
/* Either there was a problem executing the command in the
|
||||||
|
batch file aborted early, or the batch file forgot to do an
|
||||||
|
explicit detach. Explicitly detach the inferior ensuring
|
||||||
|
that there are no zombies. */
|
||||||
|
target_detach (NULL, 0);
|
||||||
|
|
||||||
/* We have hit the end of the batch file. */
|
/* We have hit the end of the batch file. */
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user