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]

regression: FYI: fix 'this' lookup for lambdas


On Fri, 17 Jun 2011 22:46:19 +0200, Tom Tromey wrote:
> I'm checking this in on the trunk.

73020efaf1860119c3775d1efd3e896ef0da2753 is the first bad commit
commit 73020efaf1860119c3775d1efd3e896ef0da2753
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 17 20:46:46 2011 +0000

        * valops.c (value_of_this): Use lookup_language_this.
        * symtab.h (lookup_language_this): Declare.
        * symtab.c (lookup_language_this): New function.
        (lookup_symbol_aux): Use lookup_language_this.
        * ax-gdb.c (gen_expr) <OP_THIS>: Use lookup_language_this.

at least for:
-PASS: gdb.dwarf2/dw2-cp-infcall-ref-static.exp: p f()
+ERROR: Process no longer exists
+UNRESOLVED: gdb.dwarf2/dw2-cp-infcall-ref-static.exp: p f()

at least on:
x86_64-fedora15-linux-gnu.

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000577f38 in lookup_block_symbol ()
(gdb) bt
#0  0x0000000000577f38 in lookup_block_symbol ()
#1  0x0000000000576ea0 in lookup_language_this ()
(sorry, I did not have symbols)


Regards,
Jan


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