aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2005-07-14+2005-07-14 Bob Rossi <bob@brasko.net>Bob Rossi3-2/+7
+ + * gdb.base/default.exp (tty): Changed output of command. + * gdb.base/help.exp (help tty): Ditto.
2005-07-12* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.Mark Kettenis2-2/+16
2005-07-10* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test forMark Kettenis2-7/+12
-stack-select-frame without arguments. (test_stack_frame_listing): Add test for newly implemented command -stack-info-frame.
2005-07-06Index: gdb/ChangeLogBob Rossi2-1/+37
+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* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add fiveWu Zhou2-1/+14
tests to evaluate exponentiation expression.
2005-06-29 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type forAndreas Schwab3-1/+10
main to avoid warnings. * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-20(test_stack_locals_listing): Remove test for -stack-select-frame withoutNick Roberts1-7/+5
arguments. (test_stack_frame_listing): Add test for newly implemented command -stack-info-frame.
2005-06-20*** empty log message ***Nick Roberts1-0/+7
2005-06-18Correct a typo.Daniel Jacobowitz1-2/+2
2005-06-17 * gdb.fortran/array_element.f: New file.Wu Zhou3-0/+97
* gdb.fortran/array_element.exp: New testcase.
2005-06-13 * gdb.base/bigcore.exp: Correct checks for systems which canDaniel Jacobowitz2-2/+15
not dump a large core file.
2005-06-13gdb/Daniel Jacobowitz3-6/+41
* 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-13gdb/Daniel Jacobowitz3-6/+11
* 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-05-29 * gdb.arch/alpha-step.c: New file.Joel Brobecker3-0/+237
* gdb.arch/alpha-step.exp: New testcase.
2005-05-182005-05-17 Daniel Jacobowitz <dan@codesourcery.com>Daniel Jacobowitz17-80/+99
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 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support forDaniel Jacobowitz4-21/+44
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-13Revert accidentally committed change.Jim Blandy1-5/+5
2005-05-13* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead ofJim Blandy5-9/+19
calling gdb_suppress_entire_file. * gdb.base/charset.exp: Same. * gdb.base/call-rt-st.exp: Same.
2005-05-08Add the fullname_syntax testsuite variable. This allows GDB to make sureBob Rossi4-3/+38
that the MI fullname field is an absolute path, instead of just checking for .* or /.*
2005-05-04 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.Daniel Jacobowitz2-1/+5
2005-05-032004-05-02 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam4-2/+99
* 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-02* gdb.base/auxv.exp: Call 'untested' and return -1 instead ofJim Blandy2-1/+7
calling gdb_suppress_entire_file.
2005-04-30 * gdb.threads/staticthreads.exp: Override signal to check for hppa.Daniel Jacobowitz2-4/+16
Slightly relax "sem_post" name checking.
2005-04-292005-04-29 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-42/+18
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-292005-04-29 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-57/+23
* gdb.base/so-impl-ld.exp: Use new shared library infrastructure.
2005-04-29 * gdb.asm/asm-source.exp: Add h8300 to supported targets.Corinna Vinschen3-0/+59
* gdb.asm/h8300.inc: New file.
2005-04-282005-04-19 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-65/+21
* gdb.base/shlib-call.exp: Change to use new shared library infrastructure.
2005-04-282005-04-28 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-57/+18
* gdb.base/pending.exp: Change to use new shared library infrastructure.
2005-04-282005-04-28 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-30/+78
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler and use test_compiler_info instead of gcc_compiled.
2005-04-272005-04-27 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-1/+11
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in shared objects being adjusted and update copyright.
2005-04-27 * ChangeLog: Correct some 2003-01-13 dates.Daniel Jacobowitz12-13/+22
* 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-14 * lib/gdb.exp (gdb_compile): Handle shlib=.Daniel Jacobowitz2-0/+92
(gdb_compile_shlib): New function.
2005-04-122005-04-12 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-1/+5
* lib/gdb.exp (test_compiler_info): Give argument a default value.
2005-04-11gdb/Daniel Jacobowitz7-4/+17
* 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-08gdb/testsuite/Daniel Jacobowitz9-176/+387
* 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-06test_compiler_info: Return compiler_info if no arguments are given.Paul Gilliam2-0/+16
2005-04-01 * gdb.arch/altivec-abi.exp: Check for compiler and setPaul Gilliam3-2/+38
use altivec' flag accordingly. * gdb.arch/altivec-regs.exp: Likewise.
2005-03-29 * c-valprint.c (c_value_print): Fix up some formatting. UseDaniel Jacobowitz3-0/+89
check_typedef. testsuite/ * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2005-03-27 * gdb.base/bigcore.c (main): Add missing mode argument in openAndreas Schwab2-1/+7
call.
2005-03-25 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserverDaniel Jacobowitz3-4/+10
downloads. * config/gdbserver.exp (gdb_load): Likewise.
2005-03-142005-03-14 Paul Brook <paul@codesourcery.com>Paul Brook2-8/+8
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote targets.
2005-03-09 * gdb.dwarf2/dup-psym.S: New file.Joel Brobecker3-0/+265
* gdb.dwarf2/dup-psym.exp: New testcase.
2005-03-08 * gdb.ada/exec_changed/first.adb: New file.Joel Brobecker4-0/+101
* gdb.ada/exec_changed/second.adb: New file. * gdb.ada/exec_changed.exp: New testcase.
2005-03-08 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.Nathan Sidwell3-2/+33
* 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 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.Nathan Sidwell10-41/+80
* 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 * gdb.asm/asm-source.exp: Add iq2000 case.Corinna Vinschen3-0/+49
* gdb.asm/iq2000.inc: New file.
2005-03-072005-03-07 Manoj Iyer <manjo@austin.ibm.com>Manoj Iyer3-1/+8
* gdb.base/command.exp: Change hardcoded value to regular expression. * gdb.base/float.exp: Add powerpc to the list of targets checked.
2005-03-07 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,Daniel Jacobowitz14-0/+26
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc, gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc, gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc, gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2005-03-07fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',Paul Gilliam2-2/+2
but for get_compiler_info, line must start with 'set'.
2005-03-05* gdb.cp/ovldbreak.exp: Adjust regular expression for recentMark Kettenis2-2/+6
changes.