OLD | NEW |
1 # Copyright (C) 1998, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright (C) 1998, 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 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 send_gdb "search gdb_recursion_test line 0\n" | 294 send_gdb "search gdb_recursion_test line 0\n" |
295 gdb_expect { | 295 gdb_expect { |
296 -re "(\[0-9\]+)\[\t \]+\{.*line 0.*$gdb_prompt $" { | 296 -re "(\[0-9\]+)\[\t \]+\{.*line 0.*$gdb_prompt $" { |
297 set baseline $expect_out(1,string); | 297 set baseline $expect_out(1,string); |
298 } | 298 } |
299 -re "$gdb_prompt $" { } | 299 -re "$gdb_prompt $" { } |
300 default { } | 300 default { } |
301 } | 301 } |
302 return $baseline; | 302 return $baseline; |
303 } | 303 } |
| 304 |
| 305 # Return the location of the IPA library. |
| 306 |
| 307 proc get_in_proc_agent {} { |
| 308 global objdir |
| 309 |
| 310 if [target_info exists in_proc_agent] { |
| 311 return [target_info in_proc_agent] |
| 312 } else { |
| 313 return $objdir/../gdbserver/libinproctrace.so |
| 314 } |
| 315 } |
OLD | NEW |