~ubuntu-branches/ubuntu/oneiric/dejagnu/oneiric

« back to all changes in this revision

Viewing changes to config/ddb.exp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2006-12-11 09:06:59 UTC
  • mfrom: (2.1.6 edgy)
  • Revision ID: james.westby@ubuntu.com-20061211090659-w586kgi3giz84053
Tags: 1.4.4.cvs20060709-3
* Acknowledge previous NMUs.
* Fix permissions on /usr/share/dejagnu when building without fakeroot
  (Closes: #392589, #379809).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#
16
16
# You should have received a copy of the GNU General Public License
17
17
# along with DejaGnu; if not, write to the Free Software Foundation,
18
 
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
18
# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19
19
 
20
20
# This file was written by Bob Manson (manson@cygnus.com)
21
21
 
34
34
# Reset the prompt to what GDB needs.
35
35
proc ${board}_init { dest } {
36
36
    global doing_ddb_init
37
 
    if [is_remote host] {
 
37
    if {[is_remote host]} {
38
38
        return
39
39
    }
40
40
 
41
 
    if ![info exists doing_ddb_init] {
 
41
    if {![info exists doing_ddb_init]} {
42
42
        set doing_ddb_init 1
43
43
 
44
44
        for { set i 1 } { $i <= 3 } { incr i } {
85
85
set_board_info dont_wait_for_prompt 1
86
86
 
87
87
# If no output format is specified, use objcopy.
88
 
if ![board_info $board exists output_format] {
 
88
if {![board_info $board exists output_format]} {
89
89
    set tempfil [lookfor_file $tool_root_dir binutils/objcopy]
90
90
    if { $tempfil != "" } {
91
91
        set_board_info objcopy $tempfil