From: Keith Seitz <keiths@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: 5.3 branch? Was: insight rename patch
Date: Fri, 27 Sep 2002 07:49:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0209270750050.1515-100000@valrhona.uglyboxes.com> (raw)
In-Reply-To: <3D934851.3080304@redhat.com>
On Thu, 26 Sep 2002, Andrew Cagney wrote:
> Committed to HEAD.....
> >
> > Index: gdbtk/ChangeLog
> > 2002-09-25 Andrew Cagney <ac131313@redhat.com>
> >
> > From Grace Sainsbury <graces@redhat.com>:
> > * generic/gdbtk-main.c: New file.
FYI, I've committed a testsuite cleanup in
testsuite/lib/insight-support.exp which will get it to run the "insight"
executable instead of gdb.
Keith
ChangeLog
2002-09-26 Keith Seitz <keiths@redhat.com>
* lib/insight-support.exp (gdbtk_start): Figure out where
the insight executable is based on where gdb is. Use this
executable to start insight instead of gdb.
Patch
Index: testsuite/lib/insight-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/insight-support.exp,v
retrieving revision 1.5
diff -p -r1.5 insight-support.exp
*** testsuite/lib/insight-support.exp 4 Oct 2001 22:11:12 -0000 1.5
--- testsuite/lib/insight-support.exp 27 Sep 2002 14:47:14 -0000
*************** proc gdbtk_start {test} {
*** 54,60 ****
gdb_stop_suppressing_tests;
! verbose "Starting $GDB -nx -q --tclcommand=$test"
set real_test [which $test]
if {$real_test == 0} {
--- 54,68 ----
gdb_stop_suppressing_tests;
! # Need to convert ::GDB to use (-)?insight...
! if {[regsub {gdb$} $GDB insight newGDB]} {
! set INSIGHT $newGDB
! } else {
! perror "Cannot find Insight executable"
! exit 1
! }
!
! verbose "Starting $INSIGHT -nx -q --tclcommand=$test"
set real_test [which $test]
if {$real_test == 0} {
*************** proc gdbtk_start {test} {
*** 63,70 ****
}
if {![is_remote host]} {
! if { [which $GDB] == 0 } {
! perror "$GDB does not exist."
exit 1
}
}
--- 71,78 ----
}
if {![is_remote host]} {
! if { [which $INSIGHT] == 0 } {
! perror "$INSIGHT does not exist."
exit 1
}
}
*************** proc gdbtk_start {test} {
*** 91,99 ****
set env(GDBTK_VERBOSE) 1
set env(GDBTK_LOGFILE) [to_tcl_path [file join $objdir gdb.log]]
! set err [catch {exec $GDB -nx -q --tclcommand=$test} res]
if { $err } {
! perror "Execing $GDB failed: $res"
append res "\nERROR gdb-crash"
}
return $res
--- 99,107 ----
set env(GDBTK_VERBOSE) 1
set env(GDBTK_LOGFILE) [to_tcl_path [file join $objdir gdb.log]]
! set err [catch {exec $INSIGHT -nx -q --tclcommand=$test} res]
if { $err } {
! perror "Execing $INSIGHT failed: $res"
append res "\nERROR gdb-crash"
}
return $res
next prev parent reply other threads:[~2002-09-27 14:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-04 14:37 Grace Sainsbury
2002-09-04 14:47 ` Elena Zannoni
2002-09-04 14:59 ` Keith Seitz
2002-09-19 19:15 ` 5.3 branch? Was: " Andrew Cagney
2002-09-19 19:46 ` Keith Seitz
2002-09-25 19:30 ` Andrew Cagney
2002-09-25 19:42 ` Christopher Faylor
2002-09-25 21:27 ` Keith Seitz
2002-09-26 10:48 ` Andrew Cagney
2002-09-27 7:49 ` Keith Seitz [this message]
2002-09-28 8:16 ` Andrew Cagney
2002-10-03 0:59 ` Problem about " Pierre Muller
2002-10-03 8:54 ` Keith Seitz
2002-10-21 12:08 ` Andrew Cagney
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=Pine.LNX.4.44.0209270750050.1515-100000@valrhona.uglyboxes.com \
--to=keiths@redhat.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