aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2006-04-04 * gdb.base/float.exp: Add pattern for sparc targets.David S. Miller2-0/+6
2006-03-30gdb/Daniel Jacobowitz2-1/+26
* cli/cli-script.c (insert_args): Handle NULL user_args. gdb/testsuite/ * gdb.base/commands.exp (stray_arg0_test): New test.
2006-03-302006-03-30 Paul Brook <paul@codesourcery.com>Paul Brook3-0/+11
* gdb.mi/mi-until.exp: kfail broken until command. * gdb.mi/mi2-until.exp: Ditto.
2006-03-27New files.Nick Roberts2-0/+73
2006-03-27*** empty log message ***Nick Roberts1-0/+4
2006-03-09gdb/ChangeLog:Alexandre Oliva2-1/+7
* solib-svr4.c (svr4_current_sos): Move up initialization of l_addr, such that it clearly covers all cases. gdb/testsuite/ChangeLog: * gdb.base/prelink.exp: Anchor tested-for regular expression on gdb prompt.
2006-03-072006-03-07 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+5
* gdb.base/assign.exp: Correct fail message.
2006-03-072006-03-07 Paul Brook <paul@codesourcery.com>Paul Brook3-0/+13
* lib/compiler.c: Extract armcc version number. * lib/compiler.cc: Ditto.
2006-03-072006-03-07 Paul Brook <paul@codesourcery.com>Paul Brook58-82/+156
* gdb.arch/altivec-abi.exp: Use nowarnings instead of additional_flags=-w. * gdb.arch/altivec-regs.exp: Ditto. * gdb.arch/e500-abi.exp: Ditto. * gdb.arch/e500-regs.exp: Ditto. * gdb.base/all-bin.exp: Ditto. * gdb.base/annota1.exp: Ditto. * gdb.base/annota3.exp: Ditto. * gdb.base/args.exp: Ditto. * gdb.base/arithmet.exp: Ditto. * gdb.base/assign.exp: Ditto. * gdb.base/async.exp: Ditto. * gdb.base/bang.exp: Ditto. * gdb.base/break.exp: Ditto. * gdb.base/call-rt-st.exp: Ditto. * gdb.base/completion.exp: Ditto. * gdb.base/cond-expr.exp: Ditto. * gdb.base/condbreak.exp: Ditto. * gdb.base/consecutive.exp: Ditto. * gdb.base/define.exp: Ditto. * gdb.base/display.exp: Ditto. * gdb.base/ena-dis-br.exp: Ditto. * gdb.base/environ.exp: Ditto. * gdb.base/eval-skip.exp: Ditto. * gdb.base/info-proc.exp: Ditto. * gdb.base/jump.exp: Ditto. * gdb.base/logical.exp: Ditto. * gdb.base/long_long.exp: Ditto. * gdb.base/maint.exp: Ditto. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pc-fp.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.base/relational.exp: Ditto. * gdb.base/reread.exp: Ditto. * gdb.base/sect-cmd.exp: Ditto. * gdb.base/sep.exp: Ditto. * gdb.base/sepdebug.exp: Ditto. * gdb.base/until.exp: Ditto. * gdb.base/whatis-exp.exp: Ditto. * gdb.cp/annota2.exp: Ditto. * gdb.cp/annota3.exp: Ditto. * gdb.trace/actions.exp: Ditto. * gdb.trace/backtrace.exp: Ditto. * gdb.trace/circ.exp: Ditto. * gdb.trace/collection.exp: Ditto. * gdb.trace/deltrace.exp: Ditto. * gdb.trace/infotrace.exp: Ditto. * gdb.trace/limits.exp: Ditto. * gdb.trace/packetlen.exp: Ditto. * gdb.trace/passc-dyn.exp: Ditto. * gdb.trace/passcount.exp: Ditto. * gdb.trace/report.exp: Ditto. * gdb.trace/save-trace.exp: Ditto. * gdb.trace/tfind.exp: Ditto. * gdb.trace/tracecmd.exp: Ditto. * gdb.trace/while-dyn.exp: Ditto. * gdb.trace/while-stepping.exp: Ditto. * lib/gdb.exp: Ditto. (gdb_compile): Handle nowarning option.
2006-03-07* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.Alexandre Oliva4-29/+24
* gdb.base/prelink.exp: Likewise. Add -q to prelink runs. Rename executable to prelinkt. Don't re-prelink if we didn't get a core file. Test prelink -u exit status to tell whether prelinking failed. Use gdb_test_multiple.
2006-03-01gdb/Daniel Jacobowitz2-1/+128
* gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive calls. gdb/testsuite/ * gdb.cp/inherit.exp (test_print_mi_member_types): New function. (do_tests): Call it.
2006-02-28gdb/ChangeLog:Alexandre Oliva4-0/+197
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and l_ld_size fields. * solib-svr4.c (struct lm_info): Add l_addr field. (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR. (HAS_LM_DYNAMIC_FROM_LINK_MAP): New. (LM_DYNAMIC_FROM_LINK_MAP): New. (LM_ADDR_CHECK): New. Use it instead of LM_ADDR. (svr4_current_sos): Initialize l_addr. Adjust. (svr4_relocate_section_addresses): Adjust. (svr4_ilp32_fetch_link_map_offsets): Define new members. (svr4_lp64_fetch_link_map_offsets): Likewise. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h). gdb/testsuite/ChangeLog: * gdb.base/prelink.exp: New test. * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
2006-02-24 * gdb.fortran/derived-type.f90: New file.Wu Zhou3-0/+111
* gdb.fortran/derived-type.exp: New testcase.
2006-02-23 * gdb.base/default.exp: Allow ';' as a directory separator.Daniel Jacobowitz2-3/+7
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-1/+5
* symfile.c (add_symbol_file_command): Use buildargv(), instead of hand decoding the command line, to allow use of quotes and spaces. (_initialize_symfile): Reorganize the help message for add-symbol-file such that 'help files' shows a better message. testsuite/ * gdb.base/help.exp (help add-symbol-file): Update.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-1/+5
* symfile.c (generic_load): Use buildargv() and tilde_expand() to parse file names with quoting, spaces and tildes properly. (load_command): Quote all special characters before calling target_load() such that buildargv() doesn't break file names. (_initialize_symfile): Mention the load offset in the help for the load command. * remote-sim.c: Include readline.h. (gdbsim_load): Use buildargv and tilde_expand() to parse file names with quoting, spaces and tildes properly. * target.h (target_load): Comment the parameters better. * Makefile.in (remote_sim.o): Add readline.h dependency. testsuite/ * gdb.base/help.exp (help load): Update expected results.
2006-02-19Reviewed and approved by Daniel JacobowitzFred Fish3-2/+8
2006-02-19 Fred Fish <fnf@specifix.com> * gdb.base/pc-fp.exp (get_valueofx): Don't print environment specifix hex value as part of results. * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
2006-02-18 2006-02-16 Fred Fish <fnf@specifix.com>Fred Fish3-0/+33
* gdb.base/whatis.c: Define variables using typedefs char_addr, ushort_addr, and slong_addr, so the typedefs are not optimized away. * gdb.base/whatis.exp: Add tests using type name for struct type, union type, enum type, and typedef.
2006-02-13* gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.Mark Kettenis3-2/+58
2006-02-13gdb/testsuite/ChangeLog:Jim Blandy2-16/+12
2006-02-13 Jim Blandy <jimb@redhat.com> * gdb.base/scope.exp (test_at_main): Remove logic to handle the case where it takes two "next" commands to skip past the init call.
2006-02-13Reviewed and approved by Jim BlandyFred Fish2-2/+18
2006-02-12 Fred Fish <fnf@specifix.com> * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple to handle cases where it takes two "next" commands to skip past the init call.
2006-02-07 * gdb.ada/array_return.exp: Mark the last test as expected to failJoel Brobecker2-0/+13
on hppa32 targets.
2006-02-06From Vladimir Prus <ghost@cs.msu.su>:Daniel Jacobowitz3-17/+29
gdb/ * breakpoint.c (print_one_breakpoint): For MI-like UI, output fullname field. gdb/doc/ * gdb.texinfo (Breakpoint table commands): Document the fullname field in -break-list output. gdb/testsuite/ * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname field.
2006-01-29* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.Mark Kettenis3-0/+94
2006-01-23 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: NewDaniel Jacobowitz3-0/+119
files.
2006-01-20 * gdb.cp/maint.exp: Set complaints to a positive value.Daniel Jacobowitz2-2/+6
2006-01-15 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.Daniel Jacobowitz3-64/+33
* gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped function name.
2006-01-15 * gdb.base/checkpoint.c: Update copyright notice. IncludeDaniel Jacobowitz2-5/+9
<stdlib.h>.
2006-01-122006-01-04 Jim Blandy <jimb@redhat.com>Jim Blandy2-9/+13
* gdb.asm/asm-source.exp: Independently provide default values for asm-flags and debug-flags. Use 'string equal' to do the comparison, not the implicit expr's '==' operator. Remove now-unneeded assignments to asm-flags. In h8300 case, place "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
2006-01-042006-01-04 Michael Snyder <msnyder@redhat.com>Michael Snyder6-0/+1960
* gdb.base/checkpoint.c: New file. * gdb.base/checkpoint.exp: New file. * gdb.base/multi-fork.c: New file. * gdb.base/multi-fork.exp: New file. * gdb.base/pi.txt: New file (data for checkpoint.c test).
2006-01-04Reviewed and approved by Jim BlandyFred Fish4-2/+46
2006-01-04 Fred Fish <fnf@specifix.com> * gdb.base/ptype.c (foo): Add typedef. (intfoo): Add function. * gdb.base/ptype1.c: New file. * gdb.base/ptype.exp: Handle compilation and linking with two source files. Test that proper type for "foo" is found based on source context rather than first match found in symtabs.
2005-12-28* gdb.asm/asm-source.exp (hppa-*-openbsd*): New.Mark Kettenis3-1/+11
* gdb.asm/openbsd.inc: Indent commands.
2005-12-26* gdb.base/freebpcmd.exp: Increase timeout.Mark Kettenis2-0/+5
2005-12-26* gdb.gdb/selftest.exp (test_with_self): Update copyright check.Mark Kettenis2-1/+5
2005-12-17 * gdb.base/default.exp: Update check for "show version".Daniel Jacobowitz2-1/+5
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung3-0/+56
* gdb.asm/asm-source.exp (hppa64-*-hpux*): New. * gdb.asm/pa64.inc: New file.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung4-37/+47
* gdb.asm/common.inc: Indent commands. * gdb.asm/asmsrc1.s: Likewise. * gdb.asm/asmsrc2.s: Likewise.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung4-12/+101
* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets. (get_addr_of_sym): Remove duplicate print. (gen_core): xfail hppa*-*-hpux*, update expected output. * gdb.arch/pa-nullify.s: Reformat to also work on HPUX. * gdb.arch/pa64-nullify.s: New file.
2005-12-092005-12-09 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+5
* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
2005-12-07gdb/Daniel Jacobowitz3-3/+12
* valops.c (value_struct_elt): Clarify error message. gdb/testsuite/ 2005-12-07 Christophe Lyon <christophe.lyon@st.com> * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force code generation for these functions. * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an error message.
2005-12-022005-12-02 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-5/+10
* breakpoint.c (BREAK_ARGS_HELP): New mecro. (_initialize_breakpoint): Enhance break, tbreak, hbreak and thbreak commands' help by adding more information and using BREAK_ARGS_HELP to duplicate the common parts. Remove now-redundant cross-references. testsuite/ * gdb.base/help.exp (help b, help br, help bre, help brea) (help break): Update the expected message.
2005-11-11 * gdb.asm/m68hc11.inc: Setup the data section.Stephane Carrez3-3/+45
* gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker script for this test. (m6812-*-*): Likewise.
2005-11-092005-11-09 Randolph Chung <tausq@debian.org>Randolph Chung2-2/+6
* gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
2005-11-09gdb.base/break.exp: Fix a comment typo.Wu Zhou2-1/+5
2005-11-042005-11-03 Jim Blandy <jimb@redhat.com>Elena Zannoni3-0/+278
Checked in by Elena Zannoni <ezannoni@redhat.com> * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2005-11-02 * gdb.arch/gdb1558.c: Include stdio.h.Corinna Vinschen2-1/+7
2005-10-31* gdb.asm/asm-source.exp: Use -e instead of --entry.Mark Kettenis2-1/+5
2005-10-31* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.Mark Kettenis2-7/+11
2005-10-172005-10-17 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-2/+7
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg vscr" tests to better match output.
2005-10-122005-10-12 Jim Blandy <jimb@redhat.com>Jim Blandy2-13/+58
* gdb.base/structs.exp (any): New function. (test_struct_returns): Don't make any assumptions at all about what value the function returns when GDB can't set the return value.