Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / casts.exp
index ca605dcc5ff18e3cd3b6114ca0993d07dd5c5bb2..34a24920604f3b88dc0c489e68a6d02dad75af20 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -30,7 +30,7 @@ if { [skip_cplus_tests] } { continue }
 standard_testfile .cc
 
 if [get_compiler_info "c++"] {
-    return -1;
+    return -1
 }
 
 if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
@@ -42,6 +42,9 @@ if ![runto_main] then {
     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 .*" \
     ""
This page took 0.024331 seconds and 4 git commands to generate.