aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+3
* gdb.base/return2.exp: Don't test long-long return.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+26271
* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests. * gdb.disasm/t01_mov.exp: Ditto. * gdb.disasm/t02_mova.s: Ditto. * gdb.disasm/t02_mova.exp: Ditto. * gdb.disasm/t03_add.s: Ditto. * gdb.disasm/t03_add.exp: Ditto. * gdb.disasm/t04_sub.s: Ditto. * gdb.disasm/t04_sub.exp: Ditto. * gdb.disasm/t05_cmp.s: Ditto. * gdb.disasm/t05_cmp.exp: Ditto. * gdb.disasm/t06_ari2.s: Ditto. * gdb.disasm/t06_ari2.exp: Ditto. * gdb.disasm/t07_ari3.s: Ditto. * gdb.disasm/t07_ari3.exp: Ditto. * gdb.disasm/t08_or.s: Ditto. * gdb.disasm/t08_or.exp: Ditto. * gdb.disasm/t09_xor.s: Ditto. * gdb.disasm/t09_xor.exp: Ditto. * gdb.disasm/t10_and.s: Ditto. * gdb.disasm/t10_and.exp: Ditto. * gdb.disasm/t11_logs.s: Ditto. * gdb.disasm/t11_logs.exp: Ditto. * gdb.disasm/t12_bit.s: Ditto. * gdb.disasm/t12_bit.exp: Ditto. * gdb.disasm/t13_otr.s: Ditto. * gdb.disasm/t13_otr.exp: Ditto.
2003-07-232003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+5
* gdb.threads/tls.exp :Add kfail for 'info address' case.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-0/+651
* gdb.threads/tls.c : New file. * gdb.threads/tls.exp : New file. * gdb.threads/tls-main.c : New file. * gdb.threads/tls-shared.c : New file. * gdb.threads/tls-shared.exp : New file.
2003-07-22 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.Andreas Schwab2-0/+5
2003-07-20 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patternsAndreas Schwab2-0/+17
due to insn reordering.
2003-07-152003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* frame.c (get_prev_frame): Move disabled inside_entry_func to before code inhibiting repeated unwind attempts. Add to commentary on that test's problems. * blockframe.c (inside_main_func): Look for "main" in the minimal symbol table. * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are identical. Index: testsuite/ChangeLog 2003-07-15 Andrew Cagney <cagney@redhat.com> * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2003-07-152003-07-15 Michael Chastain <mec@shout.net>Michael Chastain3-0/+142
* gdb.base/gdb1250.exp: New file. * gdb.base/gdb1250.c: New file.
2003-07-112003-07-09 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-2/+7
* gdb.c++/templates.exp (test_ptype_of_templates): Recognize expansion of size_t to 'unsigned long', not only to 'unsigned'.
2003-07-092003-07-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-5/+28
* gdb.base/annota1.exp: Make sure that we properly escape the full path of the source file. Xfail more permissive patterns, due to a compiler debug info problem.
2003-07-07 * gdb.asm/m68k.inc: New file.Andreas Schwab3-0/+44
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
2003-07-06 * gdb.objc/basicclass.exp ("Call an Objective-C method with noAndreas Schwab3-1/+10
arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-03 * gdb.base/store.c (charest): New typedef.Daniel Jacobowitz3-19/+32
(add_char): Rename to add_charest, update. (wack_char): Rename to wack_charest, update types. Return l + r to keep r live across the call. (wack_short, wack_int, wack_long, wack_longest, wack_float) (wack_double, wack_doublest): Return l + r to keep r live across the call. * gdb.base/store.exp: Accomodate store.c changes.
2003-06-302003-06-30 David Carlton <carlton@kealia.com>David Carlton2-0/+27
Band-aid for PR c++/1245. * Makefile.in (cp-support.o): Depend on complaints_h. * cp-support.c: Include complaints.h. Add declaration for find_last_component. (cp_find_first_component): Separate code into cp_find_first_component_aux. (cp_find_first_component_aux): Call demangled_name_complaint. (demangled_name_complaint): New. 2003-06-30 David Carlton <carlton@kealia.com> * gdb.c++/maint.exp (test_invalid_name): New. (test_first_component): Add tests for invalid names.
2003-06-302003-06-29 Michael Chastain <mec@shout.net>Michael Chastain2-0/+27
* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb output of '<VTT for class>' for virtual base classes.
2003-06-29 * gdb.base/completion.exp: Tab-complete "complet" instead ofDaniel Jacobowitz4-8/+126
"compl". * gdb.base/complex.exp, gdb.base/complex.c: New files.
2003-06-29 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.Daniel Jacobowitz3-3/+24
* gdb.base/volatile.exp: Likewise.
2003-06-29 * gdb.threads/print-threads.exp (test_all_threads): Add kfail forDaniel Jacobowitz2-1/+13
gdb/1265.
2003-06-28 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximumDaniel Jacobowitz2-2/+31
initial line count of 'captured_main' from 26 to 32. (test_with_self): Allow xmalloc call to be interleaved with the preceding two lines.
2003-06-24 * gdb.base/bang.exp: New testcase.Joel Brobecker2-0/+45
2003-06-23 * gdb.base/langs.exp: Add some tests for the "minimal" languageJoel Brobecker2-0/+20
support.
2003-06-232003-06-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* gdb.objc/basicclass.exp: Return -1 if we cannot compile the testcase.
2003-06-22 * gdb.base/relocate.exp: Test add-symbol-file with a variableDaniel Jacobowitz2-0/+31
offset.
2003-06-22 * gdb.c++/pr-1210.cc: New file.Daniel Jacobowitz3-0/+100
* gdb.c++/pr-1210.exp: New file.
2003-06-22 * lib/mi-support.exp (mi_run_cmd): Expect an MI response toDaniel Jacobowitz2-1/+6
000-exec-continue.
2003-06-15* gdb.base/attach.exp: Use -1 for the ID of a nonexistent processMark Kettenis2-2/+8
on *-*-*bsd* instead of *-*-freebsd*.
2003-06-142003-06-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-49/+104
* gdb.base/store.exp: Test longest and doublest. Test all parameters. Weaken return statement match. * gdb.base/store.c: Add longest and doublest - aka long long and long double functions. Put all parameters into local register variables. Use negative values.
2003-06-142003-06-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-63/+113
* gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag -Wformat errors. Add lost line. Use WEXITSTATUS to get system exit status. * gdb.base/fileio.exp: Disable target when nointerrupts and noinferiorio, instead of limiting it to remote. Use remote_exec instead of system.
2003-06-122003-06-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+6
* gdb.base/float.exp: Add ia64 support.
2003-06-12 * gdb.base/fileio.exp: Run only on remote targets.Corinna Vinschen2-0/+9
2003-06-10 * gdb.base/fileio.c: New file, testing File-I/O.Corinna Vinschen3-0/+740
* gdb.base/fileio.exp: Ditto.
2003-06-09Shared-object relocation testsRaoul Gough5-0/+302
2003-06-08* gdb.base/readline.exp: Add tests for operate-and-get-next with aMark Kettenis3-1/+293
fully filled history list. * gdb.base/gdb_history: New file.
2003-06-08* gdb.base/signals.exp: XFAIL "continue to func1" onMark Kettenis2-0/+4
i*86-*-freebsd*.
2003-06-08* gdb.base/attach.exp: When trying to attach to a nonexistentMark Kettenis2-24/+39
process, make it possible to specify the PID based on the target, and do so for *-*-freebsd*.
2003-06-02 * gdb.base/float.exp: Add expected regexp for alpha-*-*.Richard Henderson2-1/+7
2003-06-02 * top.h (lim_at_start): Declare.Richard Henderson2-0/+8
* main.c (captured_main): Set it. * top.c (lim_at_start): Define. (command_loop): Use it instead of &environ. * event-top.c (command_handler): Likewise. * gdb.base/selftest.exp: Next over lim_at_start initialization.
2003-06-02 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.Richard Henderson2-1/+12
2003-06-02 * gdb.asm/asm-source.exp: Dissassemble from &globalvar insteadDaniel Jacobowitz2-1/+6
of globalvar.
2003-06-01* gdb.asm/asm-source.exp: Check for memory read errors inMark Kettenis2-1/+6
disassembler test on *BSD too.
2003-06-01 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register namesRichard Henderson3-3/+15
for .frame. (gdbasm_call): Lose ldgp. (gdbasm_startup): Add frame information. * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2003-05-31* gdb.base/float.exp: Expect similar output for x86_64-*-* as forMark Kettenis2-1/+6
i?86-*-*.
2003-05-30* gdb.asm/asm-source.exp: Make sure the final link succeeds onMark Kettenis2-0/+14
FreeBSD.
2003-05-30 * gdb.asm/alpha.inc: New file.Richard Henderson3-0/+69
* gdb.asm/asm-source.exp: Use it.
2003-05-29* gdb.base/corefile.exp: Find corefiles on Linux, which names themJim Blandy2-7/+30
'core.PID'.
2003-05-22* gdb.base/corefile.exp: Tolerate stuff after argument parens inJim Blandy2-1/+6
backtrace.
2003-05-202003-05-20 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+36
* gdb.c++/namespace1.cc: Actually do 'cvs add' before committing this time.
2003-05-202003-05-19 David Carlton <carlton@bactrian.org>David Carlton5-0/+283
* gdb.c++/rtti.exp: New file, containing tests for PR c++/488. * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto. 2003-05-19 David Carlton <carlton@bactrian.org> * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
2003-05-202003-05-19 David Carlton <carlton@bactrian.org>David Carlton3-11/+111
Partial fix for PR c++/827. * cp-support.h: Include symtab.h. Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. * cp-namespace.c: Update contributors. (cp_lookup_symbol_nonlocal): New. (lookup_namespace_scope, cp_lookup_symbol_namespace) (lookup_symbol_file): Ditto. * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. * block.h: Declare block_scope, block_using, block_global_block. * block.c (block_scope): New. (block_using, block_global_block): Ditto. * Makefile.in (cp_support_h): Depend on symtab_h. * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. 2003-05-19 David Carlton <carlton@bactrian.org> * gdb.c++/namespace.exp: Add namespace scope and anonymous namespace tests. Bump copyright date. * gdb.c++/namespace.cc: Add anonymous namespace and namespace C. (main): Call C::D::marker2. * gdb.c++/namespace1.cc: New file.
2003-05-142003-05-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+38
Roland McGrath <roland@redhat.com> * gdb.threads/linux-dp.exp: Account for fact that in nptl model there is no manager thread.