Bug #26792 Add DBX debugger support to mysql-test-run.pl
| Submitted: | 2 Mar 2007 13:36 | Modified: | 13 Mar 2007 19:33 |
|---|---|---|---|
| Reporter: | Chad MILLER | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Tests | Severity: | S4 (Feature request) |
| Version: | OS: | ||
| Assigned to: | Magnus BlÄudd | CPU Architecture: | Any |
| Tags: | patch | ||
[2 Mar 2007 14:38]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/21029 ChangeSet@1.2613, 2007-03-02 15:38:31+01:00, msvensson@pilot.blaudden +1 -0 Bug #26792 Add DBX debugger support to mysql-test-run.pl - Add --debugger=dbx - Fix --debugger=devenv, --debugger=DevEnv and --debugger=/path/devenv
[5 Mar 2007 10:34]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/21107 ChangeSet@1.2613, 2007-03-05 09:52:40+01:00, msvensson@pilot.blaudden +1 -0 Bug #26792 Add DBX debugger support to mysql-test-run.pl - Add --debugger=dbx - Fix --debugger=devenv, --debugger=DevEnv and --debugger=/path/devenv
[8 Mar 2007 20:13]
Timothy Smith
pushed to 4.1.23, 5.0.38, 5.1.17
[13 Mar 2007 19:33]
Paul DuBois
Noted in 4.1.23, 5.0.38, 5.1.17 changelogs.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: The test suite should support DBX, as it does GDB. Spawn an xterm and run the debugging session within that. How to repeat: Yes. Suggested fix: mysql-test/mysql-test-run.pl: 1.197 1.198 cmiller 07/02/21 18:32:45 (modified, needs delta) @@ -4850,6 +4850,7 @@ sub debugger_arguments { unshift(@$$args, "/debugexe"); unshift(@$$args, "$$exe"); + $$exe= $debugger; } elsif ( $debugger eq "windbg" ) { @@ -4858,14 +4859,23 @@ sub debugger_arguments { # Add name of the exe before args unshift(@$$args, "$$exe"); + $$exe= $debugger; + } + elsif ( $debugger eq "dbx" ) + { + # xterm -e dbx -r exe arg1 .. argn + + unshift(@$$args, $$exe); + unshift(@$$args, "-r"); + unshift(@$$args, $debugger); + unshift(@$$args, "-e"); + + $$exe= "xterm"; } else { mtr_error("Unknown argument \"$debugger\" passed to --debugger"); } - - # Set exe to debuggername - $$exe= $debugger; }