summaryrefslogtreecommitdiff
path: root/gdb/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* don't need globals hex and decimalMichael Snyder2008-09-195-13/+0
|
* Regularize prepare_for_testingMichael Snyder2008-09-191-24/+3
|
* prepare_for_testing, standardizeMichael Snyder2008-09-196-11/+6
|
* remove return-reverseMichael Snyder2008-09-192-138/+0
|
* Add overlooked reverse testMichael Snyder2008-09-195-9/+36
|
* 2008-09-16 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-164-0/+275
| | | | | | * gdb.twreverse/machinestate.exp: New file. * gdb.twreverse/machinestate.c: New file. * gdb.twreverse/machinestate1.c: New file.
* 2008-09-15 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-163-0/+152
| | | | | | * gdb.twreverse/consecutive-reverse.exp: New file. * gdb.twreverse/consecutive-reverse.c: New file. * gdb.twreverse/Makefile.in: Update for make clean.
* 2008-09-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-115-1/+355
| | | | | | * gdb.twreverse/until-reverse.exp: New file. * gdb.twreverse/until-reverse.c: New file. * gdb.twreverse/until-reverse1.c: New file.
* 2008-09-09 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-098-58/+1200
| | | | | | | | | | | | | * gdb.twreverse/return2-reverse.c: Rename to: * gdb.twreverse/finish-reverse.c: New name of file. * gdb.twreverse/*.exp: Sharpen regexps, add $gdb_prompt. 2008-09-06 Michael Snyder <msnyder@vmware.com> * gdb.twreverse/watch-reverse.exp: New file. * gdb.twreverse/watch-reverse.c: New file. * gdb.twreverse/Makefile.in: Add watch-reverse for make clean. * gdb.twreverse/step-reverse.exp: Add $gdb_prompt to regexps.
* 2008-09-07 Hui Zhu <teawater@gmail.com>Hui Zhu2008-09-073-2/+7
| | | | | * Makefile.in: Add "gdb.twreverse" to "ALL_SUBDIRS". * gdb.twreverse/Makefile.in: TAB instead of 8 spaces.
* 2008-09-06 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-072-31/+35
| | | | * gdb.twreverse/step-reverse.exp: Add $gdb_prompt to regexps.
* comment tagsMichael Snyder2008-09-051-6/+6
|
* copyright noticeMichael Snyder2008-09-051-1/+1
|
* expandMichael Snyder2008-09-051-117/+48
|
* expandMichael Snyder2008-09-051-8/+94
|
* 2008-09-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-054-4/+362
| | | | | | * gdb.twreverse/finish-reverse.exp: New file. * gdb.twreverse/return2-reverse.c: New file. * gdb.twreverse/Makefile.in: Add return2-reverse for make clean.
* 2008-09-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-044-2/+144
| | | | | | * gdb.twreverse/reverse-return.exp: New file. * gdb.twreverse/reverse-return.c: New file. * gdb.twreverse/Makefile.in: Mention reverse-return for make clean.
* 2008-09-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-042-1/+5
| | | | * gdb.twreverse/Makefile.in: Mention step-reverse for make clean.
* whitespace fixesMichael Snyder2008-09-041-4/+4
|
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-042-6/+61
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepi thru the return of a function (into callee). * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-5/+51
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepi thru a function call (back to caller). * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-7/+46
| | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepi. * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-4/+36
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for stepping backward into a function call. * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-4/+31
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepping over, into, and out of a function call. * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-023-0/+134
| | | | | * gdb.twreverse/step-reverse.exp: New file. * gdb.twreverse/step-reverse.c: New file.
* 2008-09-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-026-12/+147
| | | | | | | | | * gdb.twreverse: New directory (may be renamed later). * gdb.twreverse/Makefile.in: New file. * gdb.twreverse/break-reverse.exp: New file. * gdb.twreverse/break-reverse.c: New file. * configure.in: Add gdb.twreverse directory. * configure: Regenerate.
* 2008-07-17 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-07-1830-11706/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-02 Michael Snyder <msnyder@redhat.com> * Target interface for reverse execution. * target.h (enum target_waitkind): Add new wait event, TARGET_WAITKIND_NO_HISTORY. (enum exec_direction_kind): New enum. (struct target_ops): New methods to_set_execdir, to_get_execdir. * target.c (target_get_execdir): New generic method. (target_set_execdir): Ditto. * remote.c (remote_get_execdir, remote_set_execdir): New methods. (remote_vcont_resume): Jump out if attempting reverse execution. (remote_resume): Check for reverse exec direction, and send appropriate command to target. (remote_wait): Check target response for NO_HISTORY status. Also check for empty reply (target doesn't understand "bs" or "bc). (_initialize_remote): Add new methods to remote target vector. * breakpoint.h (breakpoint_silence): Export. * breakpoint.c (breakpoint_silence): New function. * infcmd.c (finish_command): Check for reverse exec direction. (finish_backward): New function, handle finish cmd in reverse. * infrun.c (enum inferior_stop_reason): Add NO_HISTORY reason. (handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY. Handle stepping over a function call in reverse. Handle stepping thru a line range in reverse. Handle setting a step-resume breakpoint in reverse. Handle stepping into a function in reverse. Handle stepping between line ranges in reverse. (print_stop_reason): Print reason for NO_HISTORY. 2006-03-31 Michael Snyder <msnyder@redhat.com> User interface for reverse execution. * Makefile.in (reverse.c): New file. * reverse.c: New file. User interface for reverse execution. 2007-04-18 Daniel Jacobowitz <dan@codesourcery.com> * infcmd.c (finish_backwards): Correct check for whether to back up after finishing. * arm-tdep.c (arm_scan_epilogue): New. (arm_make_prologue_cache): Use it. (arm_epilogue_unwind_sniffer): New. (arm_gdbarch_init): Register it.
* Fix for Linux/VDSO failure.Paul Pluzhnikov2008-07-172-2/+6
|
* Fix for gdb.base/corefile.exp failure on LinuxPaul Pluzhnikov2008-07-172-1/+6
|
* Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elfPaul Pluzhnikov2008-07-152-2/+6
|
* Fix for PR gdb/2477Paul Pluzhnikov2008-07-143-1/+21
|
* * gdb.base/randomize.exp: Catch non-Linux targets as untested.Jan Kratochvil2008-07-132-1/+9
|
* * infrun.c (normal_stop): For MI, report which threadsVladimir Prus2008-07-122-3/+7
| | | | were stopped.
* * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portionKevin Buettner2008-07-112-6/+8
| | | | | of regexp to account for changes made to GDB in the printing of byte vectors.
* gdbTom Tromey2008-07-112-0/+21
| | | | | | | | | * completer.c (complete_line_internal): New function, from complete_line. Add 'for_help' parameter. (complete_line): Use it. (command_completer): Move later. Rewrite. gdb/testsuite * gdb.base/completion.exp: Add 'help' completion test.
* * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.Jan Kratochvil2008-07-102-2/+6
|
* gdb/Jan Kratochvil2008-07-103-0/+122
| | | | | | | | | | | | | | | | | | | | | | | * NEWS (New commands): Mention "set disable-randomization". * configure.ac: Add check for HAVE_PERSONALITY and HAVE_DECL_ADDR_NO_RANDOMIZE. * configure, config.in: Regenerate. * linux-nat.c [HAVE_PERSONALITY]: New include <sys/personality.h>. [HAVE_PERSONALITY] [!HAVE_DECL_ADDR_NO_RANDOMIZE]: Set ADDR_NO_RANDOMIZE. (disable_randomization, show_disable_randomization) (set_disable_randomization): New. (linux_nat_create_inferior) [HAVE_PERSONALITY]: New variables PERSONALITY_ORIG and PERSONALITY_SET. Disable randomization upon the variable DISABLE_RANDOMIZATION. (_initialize_linux_nat): Call ADD_SETSHOW_BOOLEAN_CMD for the variable DISABLE_RANDOMIZATION. gdb/doc/ * gdb.texinfo (Starting): Document "set disable-randomization". gdb/testsuite/ * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
* gdb/Pedro Alves2008-07-092-2/+6
| | | | | | | | | | | | 2008-07-09 Pedro Alves <pedro@codesourcery.com> * symfile.c (load_command): Reopen the exec file and reread symbols before anything else. gdb/testsuite/ 2008-07-09 Pedro Alves <pedro@codesourcery.com> * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
* * gdb.base/fullname.exp: Restore pwd if compiling failed.Pedro Alves2008-07-092-0/+5
|
* gdb/Jan Kratochvil2008-07-073-0/+78
| | | | | | | * breakpoint.c (bpstat_copy): Call RELEASE_VALUE on the new OLD_VAL. gdb/testsuite/ * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
* Add missed changelog entry.Daniel Jacobowitz2008-07-051-0/+7
|
* * lib/mi-support.exp (mi_send_resuming_command_raw): RevertVladimir Prus2008-06-282-1/+14
| | | | previous commit. Add a comment.
* gdb/Pedro Alves2008-06-283-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-28 Pedro Alves <pedro@codesourcery.com> * linux-nat.c (enum sigchld_state): New. (linux_nat_async_events_state): Renamed from linux_nat_async_events_enabled. (linux_nat_event_pipe_push, my_waitpid): Adjust. (sigchld_default_action): New. (lin_lwp_attach_lwp): Adjust. Call linux_nat_async_events unconditionally. (linux_nat_create_inferior): Set events state to sigchld_default state. (linux_nat_resume): Adjust. (linux_nat_wait): Call linux_nat_async_events unconditionally. (sigchld_handler): Adjust. (linux_nat_async_mask): Don't set SIGCHLD actions here. (get_pending_events): Adjust. (linux_nat_async_events): Rewrite to handle enum sigchld_state instead of a boolean. (linux_nat_async): Adjust. (_initialize_linux_nat): Capture default SIGCHLD action into sigchld_default_action. gdb/testsuite/ 2008-06-28 Pedro Alves <pedro@codesourcery.com> * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
* * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.Vladimir Prus2008-06-282-0/+5
|
* Revert accidental commitVladimir Prus2008-06-281-1/+1
|
* * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.Pedro Alves2008-06-273-0/+81
| | | | | | | (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're compiling an executable, link in an object that forces unbuffered output. * lib/set_unbuffered_mode.c: New file.
* * target.c (target_read_until_error): New.Vladimir Prus2008-06-261-1/+1
| | | | | | * target.h (target_read_until_error): Declare. * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read_until_error.
* * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.Jan Kratochvil2008-06-252-1/+5
|
* Revert accidental commit.Daniel Jacobowitz2008-06-251-2/+0
|
* Emit ^running via observer.Vladimir Prus2008-06-253-81/+40
| | | | | | | | | | | | | * mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print ^running here. (mi_on_resume): Print ^running if not previously output. * mi/mi-main.c (running_result_record_printed): New. (captured_mi_execute_command): Reset running_result_record_printed. Use running_result_record_printed to decide if we should skip ^done. (mi_execute_async_cli_command): Don't print ^running here. * mi/mi-main.h (current_token, running_result_record_printed): Declare.