Joel Brobecker
e22f8b7c8c
Switch the license of all .exp files to GPLv3.
...
Switch the license of all .f and .f90 files to GPLv3.
Switch the license of all .s and .S files to GPLv3.
2007-08-23 18:14:19 +00:00
Joel Brobecker
cc00619d4d
Switch the licensing to GPLv3 for all .ads and .adb files.
2007-08-23 17:49:23 +00:00
Daniel Jacobowitz
1f81bd395c
* gdb.ada/exec_changed.exp: Avoid "set confirm off".
2007-03-27 18:47:58 +00:00
Daniel Jacobowitz
b741e21792
* config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
...
(gdb_load): Delete, replace with...
(gdb_reload): ...this.
* gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
* gdb.server/server-mon.exp: Likewise.
* lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
(gdb_start_cmd): New.
(gdb_file_cmd): Save the last loaded file.
(gdb_reload): New.
(gdb_gnu_strip_debug): Use transform.
* lib/gdbserver-support.exp (gdbserver_spawn): Move file download
support here. Use new $last_loaded_file. Check mtime.
(gdb_target_cmd): Handle ObjC failure case.
(infer_host_exec): Delete.
(gdbserver_load): Rename to...
(gdbserver_run): ...this. Simplify.
* lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
(mi_gdb_load): Move most contents to a new function...
(mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
(mi_run_cmd): Use mi_gdb_target_load.
* gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
Use gdb_run_cmd.
* gdb.base/charsign.exp: Remove incorrect comment.
* gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
* gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
gdb.base/start.exp: Use gdb_start_cmd.
2007-03-27 17:59:38 +00:00
Joel Brobecker
9836f81b1e
* gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
2007-02-27 06:43:27 +00:00
Nathan Sidwell
81d2cbae45
revert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
...
* lib/gdb.exp (gdb_compile_test): New.
(skip_ada_tests, skip_java_tests): New.
(gdb_compile): Use gdb_compile_test for f77.
* lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
* lib/java.exp (compile_java_from_source): Remove runtests check,
use gdb_compile_test to record result.
* gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
gdb.ada/exec_changed.exp, gdb.ada/start.exp,
gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
gdb.java/jmisc.exp, gdb.java/jprint.exp,
gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
adjust gdb_compile invocations.
2007-01-12 11:36:21 +00:00
Nathan Sidwell
147d6f8fa0
* lib/gdb.exp (gdb_compile_test): New.
...
(skip_ada_tests, skip_java_tests): New.
(gdb_compile): Use gdb_compile_test for f77.
* lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
* lib/java.exp (compile_java_from_source): Remove runtests check,
use gdb_compile_test to record result.
* gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
gdb.ada/exec_changed.exp, gdb.ada/start.exp,
gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
gdb.java/jmisc.exp, gdb.java/jprint.exp,
gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
adjust gdb_compile invocations.
2007-01-11 11:42:45 +00:00
Daniel Jacobowitz
4741b7375e
* gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
...
has no debug information.
2007-01-10 03:46:03 +00:00
Daniel Jacobowitz
6aba47ca06
Copyright updates for 2007.
2007-01-09 17:59:20 +00:00
Joel Brobecker
f9e182823d
Make this testcase a bit more realistic. The current code
...
is too simplistic, and allows the compiler to optimize out
some of the entities we need for this testcase.
* gdb.ada/null_record/bar.ads (Void_Star): New type.
(Do_Nothing): Add extra parameter.
* gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
* gdb.ada/null_record/null_record.adb: Fake use of type Empty
by using a variable of type Void_Star.
2007-01-04 10:59:03 +00:00
Joel Brobecker
fd678c6573
* gdb.ada/catch_ex/foo.adb: New file.
...
* gdb.ada/catch_ex.exp: New testcase.
2007-01-04 05:39:01 +00:00
Joel Brobecker
cab8ac940a
* gdb.ada/array_return.exp: Update copyright date list.
2006-12-29 11:49:44 +00:00
Joel Brobecker
ba54f3188b
* gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
...
(Create_Small_Float_Vector): New function.
* gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
function body.
* gdb.ada/array_return/p.adb: Use new type and function from
package Pck.
* gdb.ada/array_return.exp: Add a test verifying that GDB is
able to print the value returned by a function returning an
array of float.
2006-12-27 06:12:36 +00:00
Joel Brobecker
390a1bd069
* gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
...
the corresponding bug has been fixed in GDB (PR/2018).
2006-10-06 20:48:42 +00:00
Joel Brobecker
53bbefe9af
* gdb.ada/array_return/pck.ads: Add copyright notice.
...
* gdb.ada/array_return/pck.adb: Likewise.
* gdb.ada/array_return/p.adb: Likewise.
* gdb.ada/exec_changed/first.adb: Likewise.
* gdb.ada/exec_changed/second.adb: Likewise.
2006-10-06 18:05:58 +00:00
Joel Brobecker
098514179b
* gdb.ada/watch_arg/watch.adb: New file.
...
* gdb.ada/watch_arg.exp: New testcase.
2006-10-06 17:46:56 +00:00
Joel Brobecker
2db2d57137
* gdb.ada/array_return.exp: Mark the last test as expected to fail
...
on hppa32 targets.
2006-02-07 19:37:46 +00:00
Joel Brobecker
2336bb5846
* gdb.ada/arrayidx/p.adb: New file.
...
* gdb.ada/arrayidx.exp: New testcase
2005-10-10 01:14:36 +00:00
Joel Brobecker
1495de3fd3
* gdb.ada/array_return/pck.ads: New file.
...
* gdb.ada/array_return/pck.adb: New file.
* gdb.ada/array_return/p.adb: New file.
* gdb.ada/array_return.exp: New testcase.
2005-10-10 01:11:51 +00:00
Joel Brobecker
9f0d94e893
* gdb.ada/exec_changed/first.adb: New file.
...
* gdb.ada/exec_changed/second.adb: New file.
* gdb.ada/exec_changed.exp: New testcase.
2005-03-08 22:19:15 +00:00
Joel Brobecker
3f0f6ed2e8
* gdb.ada/fixed_points.exp: Create compilation object directory
...
before running the test.
* gdb.ada/null_record.exp: Likewise.
* gdb.ada/packed_array.exp: Likewise.
* gdb.ada/start.exp: Likewise.
2005-02-24 23:54:03 +00:00
Joel Brobecker
724f452bdd
* gdb.ada/packed_array/pa.adb: New file.
...
* gdb.ada/packed_array.exp: New testcase.
2005-02-15 15:35:26 +00:00
Joel Brobecker
e292e67d52
* gdb.ada/start/dummy.adb: New file.
...
* gdb.ada/start.exp: New testcase.
2005-02-09 19:38:01 +00:00
Joel Brobecker
464dd14d58
* gdb.ada/gnat_ada.gpr: New file.
...
* gdb.ada/gnat_ada.gin: Delete, no longer used.
* lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
* configure.ac: No longer generate gnat_ada.gpr.
* configure: Regenerate.
* gdb.ada/Makefile.in: Minor adaptations due to new project file.
* gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
* gdb.ada/null_record/bar.ads: Likewise.
* gdb.ada/null_record/bar.adb: Likewise.
* gdb.ada/fixed_points/fixed_points.adb: Likewise.
* gdb.ada/null_record.exp (testdir): New variable.
(testfile): executable is now in testdir subdirectory.
(srcfile): Use full path to the main compilation unit.
* gdb.ada/fixed_points.exp: Same changes as above.
2005-02-03 03:58:53 +00:00
Jerome Guitton
fb6e181400
* gdb.ada/fixed_points.c: New file.
...
* gdb.ada/fixed_points.exp: New file.
2004-12-13 16:04:20 +00:00
Joel Brobecker
ca7d6a0cb5
* gdb.ada/null_record.exp: Check where we stopped after
...
sending the start command, instead of where the associated
temporary breakpoint was inserted.
2004-10-21 03:55:08 +00:00
Michael Chastain
8a12c1f0c4
2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.
2004-07-20 23:11:21 +00:00
Joel Brobecker
48306d3ed7
* gdb.ada/null_record.exp: Use "start" instead of "begin" to
...
start the execution of the program.
2004-06-08 05:05:34 +00:00
Joel Brobecker
d40d2c921c
* lib/ada.exp: Add copyright notice.
...
* bar.ads: Likewise.
* bar.adb: Likewise.
* null_record.adb: Likewise.
* null_record.exp: Likewise.
* gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
2004-04-01 18:42:08 +00:00
Joel Brobecker
f0aaee4940
* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
...
* gdb.ada (null_record.exp): New testcase.
2004-04-01 00:58:00 +00:00
Joel Brobecker
854af2f7b2
* gdb.ada: New subdirectory.
...
* gdb.ada/Makefile.in: New file.
* gdb.ada/gnat_ada.gpr.in: New file.
2004-04-01 00:53:51 +00:00