Bob Rossi
f1ea48cbd9
2005-08-02 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
parameter to mi_gdb_test.
* lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2005-08-02 14:21:01 +00:00
Daniel Jacobowitz
6e650a6732
* gdb.mi/mi-var-child.c (do_children_tests): Initialize
...
struct_declarations.
* gdb.mi/mi-var-child.exp: Step over the initialization of
struct_declarations.
2005-07-31 22:10:53 +00:00
Daniel Jacobowitz
8be260b6f9
* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
...
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
* gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
* gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
* gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
file.
2005-07-31 21:24:25 +00:00
Nick Roberts
4e660f0729
*** empty log message ***
2005-07-27 02:18:24 +00:00
Mark Kettenis
598b7a6f2b
* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
...
*-*-openbsd*.
* gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
2005-07-18 19:23:54 +00:00
Mark Kettenis
6bdae935ab
* gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
...
sigaltsatck'.
2005-07-18 08:12:03 +00:00
Bob Rossi
1323e929ae
+2005-07-14 Bob Rossi <bob@brasko.net>
...
+
+ * gdb.base/default.exp (tty): Changed output of command.
+ * gdb.base/help.exp (help tty): Ditto.
2005-07-14 14:49:23 +00:00
Mark Kettenis
b1a9c08259
* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
2005-07-12 15:20:00 +00:00
Mark Kettenis
10a844a290
* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
...
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-07-10 20:49:38 +00:00
Bob Rossi
3cb3b8dfd1
Index: gdb/ChangeLog
...
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.
Index: gdb/doc/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.
Index: gdb/testsuite/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.
2005-07-06 14:54:37 +00:00
Wu Zhou
a0c5fbcf0e
* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
...
tests to evaluate exponentiation expression.
2005-07-06 06:11:54 +00:00
Andreas Schwab
984971d0d4
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
...
main to avoid warnings.
* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-29 15:01:49 +00:00
Nick Roberts
fe03833f9a
*** empty log message ***
2005-06-20 03:37:15 +00:00
Daniel Jacobowitz
0ffa0ea5bc
Correct a typo.
2005-06-18 00:56:23 +00:00
Wu Zhou
7a55f27940
* gdb.fortran/array_element.f: New file.
...
* gdb.fortran/array_element.exp: New testcase.
2005-06-17 05:18:12 +00:00
Daniel Jacobowitz
26585198a1
* gdb.base/bigcore.exp: Correct checks for systems which can
...
not dump a large core file.
2005-06-13 18:11:01 +00:00
Daniel Jacobowitz
c1bd25fd1d
gdb/
...
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.
2005-06-13 16:15:40 +00:00
Daniel Jacobowitz
589e074d2e
gdb/
...
* mi/mi-main.c (register_changed_p, get_register): Use
get_selected_frame.
(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.
2005-06-13 02:41:51 +00:00
Joel Brobecker
0915f927ad
* gdb.arch/alpha-step.c: New file.
...
* gdb.arch/alpha-step.exp: New testcase.
2005-05-29 01:58:53 +00:00
Daniel Jacobowitz
76ff342d25
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
...
Dennis Brueni <dennis@slickedit.com>
gdb/
* stack.c (print_frame): In MI mode, output a fullname attribute
with the stack frame.
gdb/doc/
* gdb.texinfo (GDB/MI Breakpoint Table Commands)
(GDB/MI Data Manipulation, GDB/MI Program Control)
(GDB/MI Stack Manipulation): Update examples to include the fullname
attribute in stack frames.
gdb/testsuite/
* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-18 03:41:59 +00:00
Daniel Jacobowitz
96b0c7acfe
* gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
...
IBM's xlc compiler.
* gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
* gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2005-05-18 01:38:46 +00:00
Jim Blandy
f21565d2ff
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.
2005-05-13 17:36:43 +00:00
Bob Rossi
6006a3a1ec
Add the fullname_syntax testsuite variable. This allows GDB to make sure
...
that the MI fullname field is an absolute path, instead of just checking
for .* or /.*
2005-05-08 13:42:04 +00:00
Daniel Jacobowitz
c3b69c04b9
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2005-05-04 21:21:42 +00:00
Paul Gilliam
3c95e6af3b
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-03 00:41:49 +00:00
Jim Blandy
78df6c563d
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
2005-05-02 20:57:30 +00:00
Daniel Jacobowitz
1690f9cfba
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
...
Slightly relax "sem_post" name checking.
2005-04-30 19:56:47 +00:00
Paul Gilliam
5ea106f753
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-29 21:08:24 +00:00
Paul Gilliam
bf7234cff8
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/so-impl-ld.exp: Use new shared library
infrastructure.
2005-04-29 20:45:32 +00:00
Corinna Vinschen
547b869acd
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
...
* gdb.asm/h8300.inc: New file.
2005-04-29 14:22:28 +00:00
Paul Gilliam
f07e55f031
2005-04-19 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/shlib-call.exp: Change to use new shared library
infrastructure.
2005-04-28 23:21:22 +00:00
Paul Gilliam
3cbba3d1cd
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/pending.exp: Change to use new shared library
infrastructure.
2005-04-28 23:04:28 +00:00
Paul Gilliam
ed6df20042
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler
and use test_compiler_info instead of gcc_compiled.
2005-04-28 22:31:33 +00:00
Paul Gilliam
8c8f4ebeff
2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in
shared objects being adjusted and update copyright.
2005-04-27 21:45:16 +00:00
Daniel Jacobowitz
607fbc543c
* ChangeLog: Correct some 2003-01-13 dates.
...
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
gdb.trace/tfind.exp: Update copyright years.
2005-04-27 16:35:15 +00:00
Daniel Jacobowitz
57bf0e56f8
* lib/gdb.exp (gdb_compile): Handle shlib=.
...
(gdb_compile_shlib): New function.
2005-04-14 19:06:19 +00:00
Paul Gilliam
9b59379032
2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (test_compiler_info): Give argument a default value.
2005-04-12 20:14:35 +00:00
Daniel Jacobowitz
9494c6a5dc
gdb/
...
* config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
gdb/testsuite/
* Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
gdb.server.
* configure.ac: Likewise.
* configure: Regenerated.
* gdb.gdbserver/Makefile.in: Moved to...
* gdb.server/Makefile.in: ... here.
* gdb.gdbserver/server.c: Moved to...
* gdb.server/server.c: ... here.
* gdb.gdbserver/server-run.exp: Moved to...
* gdb.server/server-run.exp: ... here.
2005-04-11 14:13:14 +00:00
Daniel Jacobowitz
6f8eac0e51
gdb/testsuite/
...
* Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
* configure.ac: Create gdb.gdbserver/Makefile.
* configure: Regenerated.
* lib/gdbserver-support.exp: New file, derived from
config/gdbserver.exp.
* config/gdbserver.exp: Use gdbserver-support.exp.
* gdb.gdbserver/Makefile.in: New file.
* gdb.gdbserver/server.c: New file.
* gdb.gdbserver/server-run.exp: New file.
gdb/
* config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
2005-04-08 12:57:00 +00:00
Paul Gilliam
6e87504dd4
test_compiler_info: Return compiler_info if no arguments are given.
2005-04-06 21:38:48 +00:00
Paul Gilliam
d1779be45e
* gdb.arch/altivec-abi.exp: Check for compiler and set
...
use altivec' flag accordingly.
* gdb.arch/altivec-regs.exp: Likewise.
2005-04-01 18:43:22 +00:00
Daniel Jacobowitz
8875030493
* c-valprint.c (c_value_print): Fix up some formatting. Use
...
check_typedef.
testsuite/
* gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2005-03-29 20:37:19 +00:00
Andreas Schwab
f3fb768d95
* gdb.base/bigcore.c (main): Add missing mode argument in open
...
call.
2005-03-27 00:18:55 +00:00
Daniel Jacobowitz
7e813ac51f
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
...
downloads.
* config/gdbserver.exp (gdb_load): Likewise.
2005-03-25 20:38:55 +00:00
Paul Brook
8e3049aa8c
2005-03-14 Paul Brook <paul@codesourcery.com>
...
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.
2005-03-14 15:42:52 +00:00
Joel Brobecker
a9df7c4413
* gdb.dwarf2/dup-psym.S: New file.
...
* gdb.dwarf2/dup-psym.exp: New testcase.
2005-03-09 05:58:45 +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
Nathan Sidwell
36e9969cac
* ax-gdb.c (gen_expr): Add UNOP_PLUS case.
...
* c-exp.y (exp): Add unary plus.
* eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
* valarith.c (value_x_unop): Add UNOP_PLUS case.
(value_pos): New.
* value.h (value_pos): Declare.
* gdb.cp/userdef.cc (A1::operator+): New unary plus.
(A2): New class.
(main): Test operator+.
* gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
breakpoint test.
2005-03-08 14:35:20 +00:00
Nathan Sidwell
5f579bc5f9
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
...
* gdb.base/signull.exp: Disable if gdb,nosignals.
* gdb.cp/bs15503.exp: Disable if skip_cplus_tests
* gdb.cp/exception.exp: Disable if skip_cplus_tests.
* gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.trace/collection.exp (run_trace_experiment): Consume the
continue output at start.
(gdb_collect_locals_test): Robustify regexp.
* gdb.trace/passc-dyn.exp: Fix comment typo.
* gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2005-03-08 10:12:21 +00:00
Corinna Vinschen
be46087ebc
* gdb.asm/asm-source.exp: Add iq2000 case.
...
* gdb.asm/iq2000.inc: New file.
2005-03-08 08:59:17 +00:00