Re: [PATCH 18/23] Add multi-target tests

Aktemur, Tankut Baris
2019-10-09T16:01:53Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1908 bytes --]

* On September 7, 2019 1:28 AM, Pedro Alves wrote:
>
> This adds a testcase exercising multi-target features. It spawns 6
> inferiors, like this:
>
> inferior 1 -> native
> inferior 2 -> extended-remote 1
> inferior 3 -> core
> inferior 4 -> native
> inferior 5 -> extended-remote 2
> inferior 6 -> core
>
> and then tests various details, including:
>
> - running to breakpoints
>
> - interrupting with Ctrl-C and "interrupt -a"
>
> - "next" bouncing between two breakpoints in two threads running in
> different targets.
>
> - since we have cores and live inferiors mixed in the same session,
> this makes sure that gdb doesn't try to remove a core dump's
> threads.
>
> - all-stop and non-stop modes.
>
> This testcase caught a _lot_ of bugs in development.
>
> diff --git a/gdb/testsuite/gdb.multi/multi-target.c b/gdb/testsuite/gdb.multi/multi-target.c
> new file mode 100644
> index 0000000000..856226e6b9
> --- /dev/null
> +++ b/gdb/testsuite/gdb.multi/multi-target.c
> @@ -0,0 +1,100 @@
> +/* This testcase is part of GDB, the GNU debugger.
> +
> + Copyright 2017-2019 Free Software Foundation, Inc.
> +

The year should be just 2019. Right?

> diff --git a/gdb/testsuite/gdb.multi/multi-target.exp b/gdb/testsuite/gdb.multi/multi-target.exp
> new file mode 100644
> index 0000000000..3b71e7446b
> --- /dev/null
> +++ b/gdb/testsuite/gdb.multi/multi-target.exp
> @@ -0,0 +1,361 @@
> +# Copyright 2017-2019 Free Software Foundation, Inc.
> +

Same here.

Regards,
-Baris

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\x16º&Öéj×!zÊÞ¶êç×Ÿx×Ùb²Ö«r\x18\x1dn–­r\x17¬