[PATCH 2/2] Fix advance/until and multiple locations (PR gdb/26524)

Tom de Vries tdevries@suse.de
Fri Aug 28 08:31:07 GMT 2020


On 8/22/20 10:38 PM, Pedro Alves wrote:
> 	* gdb.base/advance-until-multiple-locations.cc: New.
> 	* gdb.base/advance-until-multiple-locations.exp: New.

Hi,

just to note that this fails for me with gcc 7, gcc 4.8 and clang 10:
...
Breakpoint 10, test () at advance-until-multiple-locations.cc:45^M
45        int i = 0;^M
(gdb) until ovld_func^M
main () at advance-until-multiple-locations.cc:61^M
61      }^M
(gdb) FAIL: gdb.base/advance-until-multiple-locations.exp:
until_overload: until ovld_func
...

It passes with gcc-8, gcc-9, gcc-10 and gcc-11.

Thanks,
- Tom


More information about the Gdb-patches mailing list