Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(990)

Side by Side Diff: gdb/testsuite/gdb.base/solib-disc.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/solib-disc.c ('k') | gdb/testsuite/gdb.base/solib-display.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2007-2012 Free Software Foundation, Inc. 1 # Copyright 2007-2013 Free Software Foundation, Inc.
2 2
3 # This program is free software; you can redistribute it and/or modify 3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by 4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or 5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version. 6 # (at your option) any later version.
7 # 7 #
8 # This program is distributed in the hope that it will be useful, 8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details. 11 # GNU General Public License for more details.
(...skipping 23 matching lines...) Expand all
35 set execsrc "${srcdir}/${subdir}/${srcfile}" 35 set execsrc "${srcdir}/${subdir}/${srcfile}"
36 set lib_dlopen [shlib_target_file ${libname}] 36 set lib_dlopen [shlib_target_file ${libname}]
37 set lib_syms [shlib_symbol_file ${libname}] 37 set lib_syms [shlib_symbol_file ${libname}]
38 38
39 remote_exec build "rm -f ${binfile}" 39 remote_exec build "rm -f ${binfile}"
40 40
41 if [get_compiler_info] { 41 if [get_compiler_info] {
42 return -1 42 return -1
43 } 43 }
44 44
45 set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME\=\"${lib_dlop en}\"] 45 set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope n}\"]
46 46
47 if { [gdb_compile_shlib $libsrc $libobj {debug}] != "" 47 if { [gdb_compile_shlib $libsrc $libobj {debug}] != ""
48 || [gdb_compile $execsrc ${binfile} executable $exec_opts] != "" } { 48 || [gdb_compile $execsrc ${binfile} executable $exec_opts] != "" } {
49 return -1 49 return -1
50 } 50 }
51 51
52 gdb_exit 52 gdb_exit
53 gdb_start 53 gdb_start
54 gdb_reinitialize_dir $srcdir/$subdir 54 gdb_reinitialize_dir $srcdir/$subdir
55 gdb_load ${binfile} 55 gdb_load ${binfile}
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 gdb_test "disconnect" "Ending remote debugging\\." "disconnect after unload" 98 gdb_test "disconnect" "Ending remote debugging\\." "disconnect after unload"
99 if { [gdb_reconnect] == 0 } { 99 if { [gdb_reconnect] == 0 } {
100 pass "reconnect after unload" 100 pass "reconnect after unload"
101 } else { 101 } else {
102 fail "reconnect after unload" 102 fail "reconnect after unload"
103 return 0 103 return 0
104 } 104 }
105 105
106 gdb_test "print/x \$pc" "\\\$$decimal = $saved_pc" "check \$pc after unload" 106 gdb_test "print/x \$pc" "\\\$$decimal = $saved_pc" "check \$pc after unload"
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/solib-disc.c ('k') | gdb/testsuite/gdb.base/solib-display.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698