-# Copyright 2002-2013 Free Software Foundation, Inc.
+# Copyright 2002-2016 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
standard_testfile .cc
if [get_compiler_info "c++"] {
- return -1;
+ return -1
}
if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
continue
}
+# Prevent symbol on address 0x0 being printed.
+gdb_test_no_output "set print symbol off"
+
gdb_test "break [gdb_get_line_number "casts.exp: 1"]" \
"Breakpoint.*at.* file .*" \
""