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


Hey Keith,

I did a quick testing session of those patches. First of all, it passes
our internal testsuite on x86_64-linux :). But more interestingly, you
asked me if I could try it out with some of operators, whose name have
double-quotes in them. It seems to be working pretty well, for instance:

    (gdb) break -f "+"
    Breakpoint 1 at 0x401d8a: -f "+". (2 locations)

Or using the fully-qualified symbol name:

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

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...

-- 
Joel


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