Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: gdb-patches@sources.redhat.com
Cc: Richard.Earnshaw@arm.com
Subject: GDB PATCH Fix lib/java.exp import of target_alias
Date: Thu, 25 Sep 2003 16:10:00 -0000	[thread overview]
Message-ID: <200309251610.h8PGA4f27662@pc960.cambridge.arm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]


lib/java.exp in the testsuite uses the target_alias variable without first 
importing it.  That gives a tcl error.  This patch fixes that (though it 
doesn't get the tests running for me, it seems that the compiles don't 
work if libjava isn't installed first).

OK?

R.

<date>  Richard Earnshaw  <rearnsha@arm.com>

	* lib/java.exp (java_init): Import target_alias before using it.



[-- Attachment #2: gdb-java.patch --]
[-- Type: text/plain , Size: 521 bytes --]

Index: java.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/java.exp,v
retrieving revision 1.1
diff -p -r1.1 java.exp
*** java.exp	24 Jul 2000 04:34:52 -0000	1.1
--- java.exp	25 Sep 2003 16:08:37 -0000
*************** proc java_init { args } {
*** 33,38 ****
--- 33,39 ----
  		set GCJ_UNDER_TEST $env(GCJ)
  	    } else {
  		global tool_root_dir
+ 		global target_alias
  		
  		if ![is_remote host] {
  		    set file [lookfor_file $tool_root_dir gcj];

             reply	other threads:[~2003-09-25 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25 16:10 Richard Earnshaw [this message]
2003-09-25 16:15 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309251610.h8PGA4f27662@pc960.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox