GNU Binutils with patches for OS216
リビジョン | 0155cc767d61af1d5bd6745f00af79eabea6c72d (tree) |
---|---|
日時 | 2006-07-24 23:20:50 |
作者 | Nathan Sidwell <nathan@code...> |
コミッター | Nathan Sidwell |
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
@@ -1,3 +1,8 @@ | ||
1 | +2006-07-24 Nathan Sidwell <nathan@codesourcery.com> | |
2 | + | |
3 | + * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. | |
4 | + * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load. | |
5 | + | |
1 | 6 | 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com> |
2 | 7 | |
3 | 8 | * gdb.base/default.exp: Update source command error message. |
@@ -23,6 +23,11 @@ | ||
23 | 23 | # This file is based on corefile.exp which was written by Fred |
24 | 24 | # Fish. (fnf@cygnus.com) |
25 | 25 | |
26 | +if { ! [istarget "*-*-linux*"] && ! [istarget "*-*-solaris*"] } { | |
27 | + verbose "Skipping auxv.exp because of lack of support." | |
28 | + return | |
29 | +} | |
30 | + | |
26 | 31 | if $tracelevel then { |
27 | 32 | strace $tracelevel |
28 | 33 | } |
@@ -34,8 +34,7 @@ if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug | ||
34 | 34 | gdb_exit |
35 | 35 | gdb_start |
36 | 36 | gdb_reinitialize_dir $srcdir/$subdir |
37 | -gdb_load ${binfile} | |
38 | - | |
37 | +gdb_file_cmd ${binfile} | |
39 | 38 | gdb_test "set listsize 1" \ |
40 | 39 | ".*" |
41 | 40 |
@@ -43,7 +42,7 @@ gdb_test "set listsize 1" \ | ||
43 | 42 | gdb_test "list" \ |
44 | 43 | "v0 = 0;" \ |
45 | 44 | "list before run" |
46 | - | |
45 | +gdb_load | |
47 | 46 | if {! [runto_main]} { |
48 | 47 | return -1 |
49 | 48 | } |