public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12238] New: while executing bad option "add": must be variable, vdelete, or vinfo
@ 2010-11-19 22:40 danglin at gcc dot gnu.org
  2011-01-05 20:58 ` [Bug gdb/12238] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-11-19 22:40 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12238

           Summary: while executing bad option "add": must be variable,
                    vdelete, or vinfo
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: danglin@gcc.gnu.org


Testsuite problem:

Test Run By dave on Thu Nov 18 19:23:51 2010
Native configuration is hppa2.0w-hp-hpux11.11

                === gdb tests ===

Schedule of variations:
    unix

Running target unix
Using /opt/gnu/share/dejagnu/baseboards/unix.exp as board description file for
t
arget.
Using /opt/gnu/share/dejagnu/config/unix.exp as generic interface file for
targe
t.
Using ../../../src/gdb/testsuite/config/unix.exp as tool-and-target-specific
int
erface file.
Running ../../../src/gdb/testsuite/gdb.xml/tdesc-arch.exp ...
bad option "add": must be variable, vdelete, or vinfo
    while executing
"trace add variable "$banned_var" write error"
    (procedure "gdb_init" line 15)
    invoked from within
"${tool}_init $test_file_name"
    (procedure "runtest" line 19)
    invoked from within
"runtest $test_name"
    ("foreach" body line 42)
    invoked from within
"foreach test_name [lsort [find ${dir} *.exp]] {
                        if { ${test_name} == "" } {
                            continue
                        }
                        # Ignore this one if asked to.
                        if { ${ignore..."
    ("foreach" body line 54)
    invoked from within
"foreach dir "${test_top_dirs}" {
                if { ${dir} != ${srcdir} } {
                    # Ignore this directory if is a directory to be
                    # ignored.
                    if {[info..."
    ("foreach" body line 121)
    invoked from within
"foreach pass $multipass {

        # multipass_name is set for `record_test' to use (see framework.exp).
        if { [lindex $pass 0] != "" } {
            set multipass_..."
    ("foreach" body line 51)
    invoked from within
"foreach current_target $target_list {
    verbose "target is $current_target"
    set current_target_name $current_target
    set tlist [split $curren..."
    (file "/opt/gnu/share/dejagnu/runtest.exp" line 1625)
make[4]: *** [check-gdb.xml] Error 1
make[4]: Leaving directory `/xxx/gnu/gdb/objdir/gdb/testsuite'
make[3]: Leaving directory `/xxx/gnu/gdb/objdir/gdb/testsuite'
make[2]: Leaving directory `/xxx/gnu/gdb/objdir/gdb'
make[1]: Nothing to be done for `check-target'.
make[1]: Leaving directory `/xxx/gnu/gdb/objdir'
Thu Nov 18 19:23:54 EST 2010

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/12238] while executing bad option "add": must be variable, vdelete, or vinfo
  2010-11-19 22:40 [Bug gdb/12238] New: while executing bad option "add": must be variable, vdelete, or vinfo danglin at gcc dot gnu.org
@ 2011-01-05 20:58 ` tromey at redhat dot com
  2011-01-05 21:26 ` dave at hiauly1 dot hia.nrc.ca
  2012-12-14 15:46 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-01-05 20:58 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12238

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-01-05 20:58:18 UTC ---
Your Tcl version is probably too old.
I don't know when "trace add" was added, but it is definitely in 8.5.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/12238] while executing bad option "add": must be variable, vdelete, or vinfo
  2010-11-19 22:40 [Bug gdb/12238] New: while executing bad option "add": must be variable, vdelete, or vinfo danglin at gcc dot gnu.org
  2011-01-05 20:58 ` [Bug gdb/12238] " tromey at redhat dot com
@ 2011-01-05 21:26 ` dave at hiauly1 dot hia.nrc.ca
  2012-12-14 15:46 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2011-01-05 21:26 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12238

--- Comment #2 from dave at hiauly1 dot hia.nrc.ca <dave at hiauly1 dot hia.nrc.ca> 2011-01-05 21:26:10 UTC ---
> Your Tcl version is probably too old.
> I don't know when "trace add" was added, but it is definitely in 8.5.

Unfortunately, 8.5 and 8.4 are broken on hppa-linux.  I'm not sure
about hpux.

Dave

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/12238] while executing bad option "add": must be variable, vdelete, or vinfo
  2010-11-19 22:40 [Bug gdb/12238] New: while executing bad option "add": must be variable, vdelete, or vinfo danglin at gcc dot gnu.org
  2011-01-05 20:58 ` [Bug gdb/12238] " tromey at redhat dot com
  2011-01-05 21:26 ` dave at hiauly1 dot hia.nrc.ca
@ 2012-12-14 15:46 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-12-14 15:46 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12238

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-12-14 15:46:52 UTC ---
It is possible to replace "trace add variable" with just "trace variable".
However I don't think there is a substitute for "trace add execution".
But I think it might be ok to just wrap those invocations in catch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-14 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19 22:40 [Bug gdb/12238] New: while executing bad option "add": must be variable, vdelete, or vinfo danglin at gcc dot gnu.org
2011-01-05 20:58 ` [Bug gdb/12238] " tromey at redhat dot com
2011-01-05 21:26 ` dave at hiauly1 dot hia.nrc.ca
2012-12-14 15:46 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).