Re: [RFAv2] Show locno for 'multi location' breakpoint hit msg+conv var $bkptno $locno.

Eli Zaretskii via Gdb-patches
2022-06-07T13:06:07Z

> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: gdb-patches@sourceware.org
> Date: Sun, 05 Jun 2022 21:44:27 +0200
>
> To test, I have started
> emacs -Q # emacs 27.1
> M-x gdb
> /absolute/path/to/gdb --nh -i=mi ~/gdb/littleprogs/zeoes
>  b some_func # this adds a breakpoint with 2 code locations
> M-x gdb-many-windows
>
> And the breakpoint window shows:
> Num Type Disp Enb Addr Hits What
> 1 breakpoint keep y <MULTIPLE> 1 in unknown
>
> Note that I have the same behavior with GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
>
> When I create a breakpoint with one code location, this breakpoint is properly shown:
> Disp Enb Addr Hits What
> 1 breakpoint keep y <MULTIPLE> 1 in unknown
> 2 breakpoint keep y 0x00005555555551c6 0 in main of zeoes.c:24

Thanks, this should now be fixed for the upcoming Emacs 28.2.