* GDB PATCH Fix lib/java.exp import of target_alias
@ 2003-09-25 16:10 Richard Earnshaw
2003-09-25 16:15 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Richard Earnshaw @ 2003-09-25 16:10 UTC (permalink / raw)
To: gdb-patches; +Cc: Richard.Earnshaw
[-- 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];
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: GDB PATCH Fix lib/java.exp import of target_alias
2003-09-25 16:10 GDB PATCH Fix lib/java.exp import of target_alias Richard Earnshaw
@ 2003-09-25 16:15 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-09-25 16:15 UTC (permalink / raw)
To: Richard.Earnshaw; +Cc: gdb-patches
On Thu, Sep 25, 2003 at 05:10:04PM +0100, Richard Earnshaw wrote:
>
> 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).
Yeah, this is fine as an obvious fix.
> OK?
>
> R.
>
> <date> Richard Earnshaw <rearnsha@arm.com>
>
> * lib/java.exp (java_init): Import target_alias before using it.
>
>
Content-Description: gdb-java.patch
> 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];
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-25 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 16:10 GDB PATCH Fix lib/java.exp import of target_alias Richard Earnshaw
2003-09-25 16:15 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox