RE: [PATCH v4 0/2] Breakpoint conditions at locations with differing contexts

Aktemur, Tankut Baris via Gdb-patches
2020-10-29T07:43:25Z

On Wednesday, October 28, 2020 5:57 PM, Gary Benson wrote:
> Hi Baris,
>
> Tankut Baris Aktemur wrote:
> > create mode 100644 gdb/testsuite/gdb.base/condbreak-multi-context.exp
>
> This test fails if you build the test executable with Clang. I've
> inlined a full diff of the gdb.log files below, but I think the
> issue is that Clang and GCC are writing the code or the debuginfo
> in a different order, so where the test expects to see breakpoints
> like:
>
> 1.1 Base::func()
> 1.2 A::func()
> 1.3 C::func()
>
> but what it gets with Clang is:
>
> 1.1 A::func()
> 1.2 Base::func()
> 1.3 C::func()
>
> Are you able to update the test to handle this?

Hi Gary,

Thanks for notifying. Yes, I'll work on it.

-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