This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 0/9] Explicit locations v2 - Introduction


On 05/15/2014 10:56 AM, Joel Brobecker wrote:

I did a quick testing session of those patches. First of all, it passes
our internal testsuite on x86_64-linux :).

Great news, thank you!

The only part that I found to be odd was that I tried to be a little
more selective in which operator I wanted to break on, by specifying
the line number:

     (gdb) b -f ops."-" -l 15
     Breakpoint 4 at 0x401da4: -f ops."-" -l 15. (2 locations)

I still got 2 locations, one of them not being at line 15:

     (gdb) info break
     4       breakpoint [...] <MULTIPLE>
     4.1                [...]   0x0000000000401da4 in ops."-" at ops.adb:15
     4.2                [...]   0x0000000000401ff3 in ops."-" at ops.adb:109

But maybe this part wasn't part of this patch's objectives yet...

Right. Linespecs don't support this yet, either. This patch was simply to be at parity with linespec. When linespecs gain the ability, explicit should, too.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]