| OLD | NEW |
| 1 # Copyright 2002, 2004, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright 2002, 2004, 2007-2012 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. |
| 12 # | 12 # |
| 13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
| 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | 15 |
| 16 # This file was written by Michael Snyder (msnyder@redhat.com) | 16 # This file was written by Michael Snyder (msnyder@redhat.com) |
| 17 # This is a test for the gdb command "dump". | 17 # This is a test for the gdb command "dump". |
| 18 | 18 |
| 19 if $tracelevel then { | |
| 20 strace $tracelevel | |
| 21 } | |
| 22 | |
| 23 | 19 |
| 24 set testfile "dump" | 20 set testfile "dump" |
| 25 | 21 |
| 26 set srcfile ${testfile}.c | 22 set srcfile ${testfile}.c |
| 27 set binfile ${objdir}/${subdir}/${testfile} | 23 set binfile ${objdir}/${subdir}/${testfile} |
| 28 set options {debug} | 24 set options {debug} |
| 29 | 25 |
| 30 set is64bitonly "no" | 26 set is64bitonly "no" |
| 31 set endian "auto" | 27 set endian "auto" |
| 32 | 28 |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 $struct_val "\*$struct_ptr_type" | 498 $struct_val "\*$struct_ptr_type" |
| 503 test_reload_saved_value "intarr2.tekhex" "reload array as memory, tekhex" \ | 499 test_reload_saved_value "intarr2.tekhex" "reload array as memory, tekhex" \ |
| 504 $array_val "\*$array_ptr_type" | 500 $array_val "\*$array_ptr_type" |
| 505 test_reload_saved_value "intstr2.tekhex" "reload struct as memory, tekhex" \ | 501 test_reload_saved_value "intstr2.tekhex" "reload struct as memory, tekhex" \ |
| 506 $struct_val "\*$struct_ptr_type" | 502 $struct_val "\*$struct_ptr_type" |
| 507 } | 503 } |
| 508 | 504 |
| 509 # clean up files | 505 # clean up files |
| 510 | 506 |
| 511 remote_exec build "rm -f intarr1.bin intarr1b.bin intarr1.ihex intarr1.srec inta
rr1.tekhex intarr2.bin intarr2b.bin intarr2.ihex intarr2.srec intarr2.tekhex int
str1.bin intstr1b.bin intstr1.ihex intstr1.srec intstr1.tekhex intstr2.bin intst
r2b.bin intstr2.ihex intstr2.srec intstr2.tekhex intarr3.srec" | 507 remote_exec build "rm -f intarr1.bin intarr1b.bin intarr1.ihex intarr1.srec inta
rr1.tekhex intarr2.bin intarr2b.bin intarr2.ihex intarr2.srec intarr2.tekhex int
str1.bin intstr1b.bin intstr1.ihex intstr1.srec intstr1.tekhex intstr2.bin intst
r2b.bin intstr2.ihex intstr2.srec intstr2.tekhex intarr3.srec" |
| OLD | NEW |