mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
|
||||
|
||||
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2002 Free Software Foundation, Inc.
|
||||
# Copyright 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -62,7 +62,7 @@ gdb_continue_to_breakpoint "end of constructors"
|
||||
|
||||
# The first of these is for PR gdb/653.
|
||||
|
||||
gdb_test "print theA->virt" "\\$\[0-9\]* = &A::virt\\(\\)" "print virtual method."
|
||||
gdb_test "print theA->virt" "\\$\[0-9\]* = &A::virt\\((void|)\\)" "print virtual method."
|
||||
gdb_test "print theA->nonvirt" "Cannot take address of a method" "print nonvirtual method."
|
||||
|
||||
gdb_exit
|
||||
|
||||
Reference in New Issue
Block a user