diff options
author | Pedro Alves <palves@redhat.com> | 2010-07-28 19:04:08 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-07-28 19:04:08 +0000 |
commit | 3ce3b1ba3153a2fc9265ba78cc25acaa7db127ba (patch) | |
tree | cd0924e857600e96284efa3193a9c1ead08599b6 /gdb/testsuite/gdb.cp/printmethod.exp | |
parent | 2bb4f988e5ec9ab6c7adc9c9eb8cc6b8f56491a4 (diff) | |
download | gdb-3ce3b1ba3153a2fc9265ba78cc25acaa7db127ba.zip gdb-3ce3b1ba3153a2fc9265ba78cc25acaa7db127ba.tar.gz gdb-3ce3b1ba3153a2fc9265ba78cc25acaa7db127ba.tar.bz2 |
2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
gdb/
* dwarf2read.c (read_subroutine_type): Improve THIS detection,
handling DW_AT_object_pointer, and workaround GCC PR 43053.
gdb/testsuite/
* gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
Diffstat (limited to 'gdb/testsuite/gdb.cp/printmethod.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/printmethod.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/printmethod.exp b/gdb/testsuite/gdb.cp/printmethod.exp index 12c9ca8..16cd752 100644 --- a/gdb/testsuite/gdb.cp/printmethod.exp +++ b/gdb/testsuite/gdb.cp/printmethod.exp @@ -62,10 +62,10 @@ gdb_continue_to_breakpoint "end of constructors" # The first of these is for PR gdb/653. gdb_test "print theA->virt" \ - "\\$\[0-9\]* = {void \\(A \\*\\)} $hex <A::virt\\((void|)\\)>" \ + "\\$\[0-9\]* = {void \\(A \\* const\\)} $hex <A::virt\\((void|)\\)>" \ "print virtual method." gdb_test "print theA->nonvirt" \ - "\\$\[0-9\]* = {void \\(A \\*\\)} $hex <A::nonvirt\\((void|)\\)>" \ + "\\$\[0-9\]* = {void \\(A \\* const\\)} $hex <A::nonvirt\\((void|)\\)>" \ "print nonvirtual method." gdb_exit |