summaryrefslogtreecommitdiff
path: root/gdb/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Merge with mainline.cvs/cagney_frameaddr-20030403-branchcagney_frameaddr-20030403-branchAndrew Cagney2003-04-108-1/+97
|
* 2003-04-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-0329-10103/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.c (frame_id_eq): Update. Compare function addresses. (get_frame_func): New function. (frame_func_unwind): New function. (legacy_get_prev_frame): Move linking of prev to next to the start of the function. (frame_id_p): Update. (get_frame_id): Return the frame's "id". Do not set "frame". (frame_id_build): Update. (frame_id_inner): Update. (create_sentinel_frame): Do not set the "pc". (select_frame): Use get_frame_pc. (legacy_saved_regs_this_id): Use frame_id_build. (create_new_frame): Set the frame's ID. Store the PC in the sentinel frame's PC unwind cache. (legacy_get_prev_frame): Do not set "pc" or "frame". Instead use frame_pc_unwind, frame_id_build, deprecated_update_frame_pc_hack, and deprecated_update_frame_base_hack. (get_prev_frame): Do not set "pc" or "frame", instead use frame_pc_unwind. (get_frame_pc): Use frame_pc_unwind. (find_frame_sal): Use get_frame_pc. (get_frame_base): Return the frame ID's stack address. (deprecated_update_frame_base_hack): Set the frame ID's stack address. (frame_id_eq, frame_id_p, frame_id_inner, get_frame_id): Add debug print statements. * d10v-tdep.c (d10v_frame_unwind_cache): Use frame_func_unwind. (d10v_frame_this_id): Get the frame's function. (d10v_frame_this_id): Use frame_id_eq. (d10v_unwind_dummy_id): Use frame_id_build. * stack.c (print_frame_info): Use get_frame_pc. * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. Update parameter to find_dummy_frame. * breakpoint.c (print_one_breakpoint): Update. * frame.h (struct frame_id): Rename "base" to "stack_addr", replace "pc" with "func_addr". (frame_id_build): Update parameter names and comment. (struct frame_info): Delete "frame" and "pc" fields. (frame_func_unwind): Declare. (get_frame_func): Declare. (struct frame_info): Add field "func".
* 2003-04-02 Andrew Cagney <cagney@redhat.com>cagney_frameaddr-20030403-branchpointAndrew Cagney2003-04-037-37/+63
| | | | | | | | | | | | | * gdb.base/callfuncs.exp: Make "print add" messages unique. * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop matching directories by the name breakpoint. * gdb.base/pointers.exp: Make "ptype pppC" message consistent. Make "continue to marker1" consistent. * gdb.base/call-rt-st.exp: Make "finish out from loop_count" message consistent. * lib/gdb.exp: Put "the program is no longer running", and "the program exited" in parenthesis. * lib/mi-support.exp: Ditto.
* I broke my first ChangeLog :), fixing it.Bob Rossi2003-04-021-0/+4
|
* Adding -file-list-exec-source-file command to MIBob Rossi2003-04-021-0/+65
|
* 2003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-303-0/+8
| | | | | * gdb.base/sizeof.c (main): Print the value of '\377'. * gdb.base/sizeof.exp: Check the sign of '\377'.
* 2003-03-27 Michael Chastain <mec@shout.net>Michael Chastain2003-03-273-0/+120
| | | | | * gdb.base/gdb1090.exp: New file. * gdb.base/gdb1090.cc: New file.
* * gdb.gdb/observer.exp: New regression test.Joel Brobecker2003-03-272-0/+278
|
* 2003-03-27 Michael Chastain <mec@shout.net>Michael Chastain2003-03-273-8/+6
| | | | | * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1. * gdb.base/ptype.exp: Likewise.
* * gdb.c++/casts.exp: Fix startup to run also on embedded targets.Corinna Vinschen2003-03-272-1/+10
|
* 2003-03-26 Michael Chastain <mec@shout.net>Michael Chastain2003-03-262-0/+7
| | | | * gdb.base/ptype.exp: Actually use some typedef'd types.
* * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.Stephane Carrez2003-03-213-0/+62
| | | | * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
* * gdb.base/default.exp: Fix regular expression.Corinna Vinschen2003-03-202-2/+6
|
* * gdb.base/args.exp: Fix regular expression.Corinna Vinschen2003-03-202-3/+7
|
* * gdb.base/help.exp: Allow Win32 child process.Corinna Vinschen2003-03-202-1/+5
|
* * gdb.base/ending-run.exp: Check for Cygwin specific wrapper functionCorinna Vinschen2003-03-202-0/+9
| | | | when stepping out of main().
* * gdb.base/default.exp: Check for win32 specific message when callingCorinna Vinschen2003-03-202-0/+11
| | | | "run" without executable.
* * gdb.base/args.exp: Expect .exe in output.Corinna Vinschen2003-03-202-3/+7
|
* * gdb.asm/asm-source.exp: Add appropriate --entry linker flag forCorinna Vinschen2003-03-202-0/+8
| | | | Cygwin native.
* just pretend these didn't get committed.Andrew Cagney2003-03-182-323/+0
|
* 2003-03-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-177-0/+793
| | | | | | | From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and vector registes. * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files. * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
* 2003-03-17 David Carlton <carlton@math.stanford.edu>David Carlton2003-03-173-0/+55
| | | | | | | | * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New test, for PR breakpoints/38. Call test_watchpoint_and_breakpoint. * gdb.base/watchpoint.c (func3): New function. (main): Call func3.
* 2003-03-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-03-042-4/+36
| | | | | | | | | | * gdb.c++/templates.exp (do_tests): Accept valid const in "print Garply<Garply<char> >:: garply". (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i" with respect to PR c++/1111; note also PR c++/1113. (test_template_breakpoints): KFAIL "constructor breakpoint" with respect to PR c++/1062. KFAIL "destructor breakpoint" with respect to PR c++/1112.
* 2003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2003-03-032-4/+35
| | | | | | | | | * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum" with respect to PR c++/57. KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR c++/826. Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with respect to PR c++/57.
* 2003-03-03 David Carlton <carlton@math.stanford.edu>David Carlton2003-03-032-2/+13
| | | | | * gdb.c++/templates.exp (do_tests): Convert the KFAILs with respect to PR c++/33 into FAILs.
* 2003-03-03 Michael Chastain <mec@shout.net>Michael Chastain2003-03-032-2/+6
| | | | * configure.in: Update copyright years.
* 2003-03-03 Michael Chastain <mec@shout.net>Michael Chastain2003-03-032-1/+5
| | | | * Makefile.in: update copyright years.
* 2003-02-28 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-012-1/+5
| | | | * c_variable.test: Fix result for 6.22.
* Fix minor slip in previous patch.David Carlton2003-02-281-1/+1
|
* 2003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-282-30/+29
| | | | | | | | | * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we print class instead of struct and/or superfluous protection specifiers, as long as the resulting output is equivalent to the source code. Delete FIXME from end of messages on tests that don't need fixing.
* 2003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-282-2/+7
| | | | | * gdb.c++/templates.exp (do_tests): Allow const in the two Foo<volatile char *>::foo tests.
* 2003-02-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-283-17/+27
| | | | | * cpp_variable.test: Major changes required because varobj_update now returns "-1" if a variable is out of scope.
* 2003-02-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-272-31/+45
| | | | | | * c_variable.test: Major changes required because varobj_update now returns "-1" if a variable is out of scope. This fixes a bunch of XFAILS.
* 2003-02-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-272-2/+4
| | | | * windows.test: Remove HtmlViewer from list of windows.
* 2003-02-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-274-16/+32
| | | | | | | | | | | | | | * srcwin.test: Use "list get" instead of "listget" to get contents of comboboxes. (2.1): Be less sensitive. * srcwin2.test: Use "list get" instead of "listget" to get contents of comboboxes (2-1.3): Accept assembly == mixed for no source tests. * srcwin3.test: Use "list get" instead of "listget" to get contents of comboboxes
* 2003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-02-272-0/+8
| | | | | * gdb.base/restore.c (main): Return zero, so exit code will be consistant.
* 2003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-262-3/+24
| | | | | | | * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile char *>::foo" test with respect to PR c++/33. Create a new test which is identical to that one except that it doesn't put the space between the "char" and the "*"; KFAIL it, too.
* 2003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-262-32/+68
| | | | | | * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing template types into either PASSes or KFAILs (corresponding to PR c++/57). Tweak indentation. Update copyright.
* * mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.Stephane Carrez2003-02-242-1/+10
|
* * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.Stephane Carrez2003-02-232-0/+13
|
* 2003-02-13 Michael Chastain <mec@shout.net>Michael Chastain2003-02-155-22/+11
| | | | | | | * gdb.base/exprs.exp: Remove i960 remnants. * gdb.base/funcargs.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/ptype.exp: Likewise.
* 2003-02-14 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-152-3/+7
| | | | | * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print pEe->D::vg()" from XFAIL to KFAIL.
* [ChangeLog]Jason Molenda2003-02-142-1/+6
| | | | | | | | | | | | | 2003-02-12 Jason Molenda (jmolenda@apple.com) * symmisc.c (print_objfile_statistics): Include information about the number of psymtabs and symtabs in each object file. [testsuite/ChangeLog] 2003-02-13 Jason Molenda (jmolenda@apple.com) * gdb.base/maint.exp: Update maint print statistics regexp to include new entries.
* 2003-02-13 Michael Chastain <mec@shout.net>Michael Chastain2003-02-132-2/+4
| | | | * gdb.c++/inherit.exp: Remove call to get_debug_format.
* 2003-02-12 Michael Chastain <mec@shout.net>Michael Chastain2003-02-136-122/+14
| | | | | | | | * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1. * gdb.c++/inherit.exp: Likewise. * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1. * gdb.c++/templates.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
* 2003-02-06 Jason Molenda (jason-cl@molenda.com)Jason Molenda2003-02-062-0/+9
| | | | | * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining why the code is written that way.
* 2003-02-05 Michael Chastain <mec@shout.net>Michael Chastain2003-02-062-0/+5
| | | | * gdb.base/dump.exp: Add missing copyright line.
* typeoJason Molenda2003-02-061-1/+1
|
* 2003-02-05 Jason Molenda (jason-cl@molenda.com)Jason Molenda2003-02-062-2/+8
| | | | | * gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement at the beginning so the breakpoint doesn't get set on the loop.
* 2003-02-05 Michael Chastain <mec@shout.net>Michael Chastain2003-02-062-1/+6
| | | | | * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept output for configurations with gcc 2.95.3.