gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 29 Sep 2010 22:32:52 +0000 (22:32 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 29 Sep 2010 22:32:52 +0000 (22:32 +0000)
commitbceffbf360f8a475b17761c996966bae1467b311
tree72b94e27014548b53ccaec9b6666f4bf1b15582c
parentabc72ce4c676be2f368fa0ace766ed29cd444020
gdb/
Fix GDB crash on inferior calls with self-referencing classes.
* gnu-v3-abi.c (gnuv3_pass_by_reference): Do not call itself on static
member fields.

gdb/testsuite/
Fix GDB crash on inferior calls with self-referencing classes.
* gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
* gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
* gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
gdb/ChangeLog
gdb/gnu-v3-abi.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static-main.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static.exp [new file with mode: 0644]