summaryrefslogtreecommitdiff
path: root/gdb/infrun.c
Commit message (Collapse)AuthorAgeFilesLines
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-0/+1
|
* Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2001-02-081-4/+7
| | | | internal_verror().
* 2001-01-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix double parsing of filenames passed as command line arguments to GDB (causes weird handling of escape characters). Also, remove dependencies on the CLI from libgdb. * call-cmds.h: Remove declaration of exec_file_command(). * gdbcore.h: Remove declaration of exec_file_command(). Add declarations for exec_open() and exec_file_clear(). * symfile.h: Add declarations for symbol_file_add_main() and symbol_file_clear(). * exec.c (exec_open): New function. Implements to_open for exec targets. (exec_file_clear): New function. Makes GDB forget about a previously specified executable file. (exec_file_attach): Move parsing of arguments from here ... (exec_file_command): ... to here. (init_exec_ops): Use exec_open(), not exec_file_command() to implement to_open for exec targets. * symfile.c (symbol_file_add_main): New function. Call symbol_file_add() with default values. Used when the file name has already been parsed. (symbol_file_clear): New function. Makes GDB forget about previously read symbols. (symbol_file_command): Call the above function instead of inline code. * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated "call-cmds.h". (captured_main): Call exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). (captured_main): Add comment. * corefile.c: Include "symfile.h". (core_file_command): Call symbol_file_add_main() instead of symbol_file_command(). (reopen_exec_file): Call exec_open() instead of exec_file_command(). * infcmd.c: Include "symfile.h". (attach_command): Call symbol_file_add_main() instead of symbol_file_command(). * infrun.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (follow_exec): Call symbol_file_add_main() instead of symbol_file_command(). * remote-es.c: Include "symfile.h". (es1800_load): Call symbol_file_add_main() instead of symbol_file_command(). * remote-vx.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (vx-wait): Call symbol_file_add_main() instead of symbol_file_command(). * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main() instead of symbol_file_command(). * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). * Makefile.in: Update dependencies.
* Replace free() with xfree().Kevin Buettner2000-12-151-6/+6
|
* * inferior.h (step_over_calls_kind): New enum to clarify values inChristopher Faylor2000-11-101-5/+31
| | | | | | | | | | | | | | | | | step_over_calls. * infcmd.c (step_over_calls): Change definition. (step_1): Use new enum values in relation to step_over_calls. (step_once): Ditto. (until_next_command): Ditto. * infrun.c (clear_proceed_status): Ditto. (handle_inferior_event): Ditto. * inferior.h (step_stop_if_no_debug): New variable. * infrun.c (step_stop_if_no_debug): Declare. (handle_inferior_event): Stop the step command if we entered a function without line info. (_initialize_infrun): New command 'set step-mode' to control the step command. * infcmd.c (step_once): Switch to stepi mode if there is no line info (and switching is enabled).
* 2000-11-06 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2000-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | From Steven Johnson <sbjohnson@ozemail.com.au>: This set of changes add "hookpost-" as an expansion on the original hooking of commands to GDB. A Hook may now be run "AFTER" execution of a command as well as before. * command.h (struct cmd_list_element): Changed elements hook and hookee to hook_pre and hookee_pre respectively. Added hook_post and hookee_post for the post hook command operation. Added hook_in so that an executing hook can be flagged to prevent recursion. * command.c (add_cmd): Changed initilization of cmd_list_element to reflect above changes. (delete_cmd): Remove both pre and post hooks. (help_cmd): Notify that the command has pre and/or post hooks. * infrun.c (normal_stop): Change references to hook_pre from hook. * top.c (execute_command): Run both pre and post hooks. (define_command): Allow definition of both pre and post hooks. The definition of pre-hooks is done as before, with the "hook-" prefix for backward compatibility.
* * eval.c (parse_and_eval_long): New function.David Taylor2000-10-301-1/+1
| | | | | | | | | | | | | | | | * value.h: Declare it. * breakpoint.c (breakpoints_info, maintenance_info_breakpoints): Call parse_and_eval_long, not parse_and_eval_address. * command.c (do_setshow_command): Ditto. * infcmd.c (step_1, signal_command, continue_command): Ditto. * infrun.c (signals_info): Ditto. * stack.c (set_backtrace_limit_command, backtrace_command_1, up_silently_base, down_silently_base): Ditto. * tracepoints.c (tracepoints_info, trace_find_command, trace_find_tracepoint_command): Ditto. * valprint.c (set_radix): Ditto. * values.c (show_values): Ditto.
* Corrected spelling errors in comments.David Anderson2000-10-271-1/+1
| | | | gdbarch.{c,sh} removed a word from a comment.
* Corrected spelling in comment: unles -> unless.David Anderson2000-09-021-1/+1
|
* Protoization.gdb-post-protoization-2000-07-29Kevin Buettner2000-07-301-2/+1
|
* Botch in previous change. Was comparing against "ask" instead ofAndrew Cagney2000-06-081-1/+1
| | | | follow_fork_mode_ask.
* Change signature of function add_set_enum_cmd() so that it usesAndrew Cagney2000-06-081-38/+24
| | | | | constant character pointers. Update everything. As a consequence fix infrun's follow-fork plugging a small memory leak.
* Purge (almost) make_cleanup_func.Andrew Cagney2000-05-221-4/+15
|
* Fix signature of add_set_enum_cmd. Change VAR parameter to char**.Andrew Cagney2000-05-161-2/+2
| | | | Cleanup signature of add_set_cmd. Change VAR parameter to void*.
* * infrun.c (handle_inferior_event): Add missing call to keep_goingMark Kettenis2000-05-041-0/+2
| | | | | and missing return when handling an ordinary signal from the inferior.
* * infrun.c (handle_inferior_event): When doing a "next", andMark Kettenis2000-05-031-1/+15
| | | | | | | stepping out of a signal handler into its calling trampoline ignore the value of step_frame_address. (step_over_function): Only modify step_resume_breakpoint->frame if the value of step_frame_address is non-zero.
* revert 1.9. Not approved.Andrew Cagney2000-05-021-2/+0
|
* re-do how gdbarch provides non-multi arch defaults so that non-Andrew Cagney2000-05-021-0/+2
| | | | multi-arch gdbservers can continue to compile.
* Append NULL to enum based commands follow-fork and scheduler-locking.Andrew Cagney2000-04-201-8/+13
|
* * infrun.c (proceed, normal_stop): Change the error message aboutEli Zaretskii2000-04-131-4/+8
| | | | | failure to insert breakpoints/watchpoints so that it makes sense even if ptrace is not used or no other processes can be active.
* * infrun.c (handle_inferior_event): Call target_mourn_inferiorNicholas Duffek2000-04-051-6/+6
| | | | instead of kill_target.
* 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder2000-03-281-0/+19
| | | | | | breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function. infrun.c (resume): Remove hardware watchpoints before stepping when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
* Add more checks for no stack frame.Andrew Cagney2000-02-291-1/+2
|
* Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney2000-02-231-0/+23
| | | | | | | Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
* Replace ../include/wait.h with gdb_wait.h.Andrew Cagney2000-02-091-1/+1
|
* import gdb-2000-02-04 snapshotJason Molenda2000-02-051-6/+7
|
* import gdb-2000-02-02 snapshotJason Molenda2000-02-031-0/+47
|
* import gdb-2000-01-17 snapshotJason Molenda2000-01-181-8/+8
|
* import gdb-2000-01-05 snapshotJason Molenda2000-01-061-22/+6
|
* import gdb-1999-12-13 snapshotJason Molenda1999-12-141-0/+11
|
* import gdb-1999-12-06 snapshotJason Molenda1999-12-071-26/+38
|
* import gdb-1999-11-08 snapshotJason Molenda1999-11-091-30/+96
|
* import gdb-1999-10-18 snapshotJason Molenda1999-10-191-65/+25
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-31/+4
|
* import gdb-1999-09-28 snapshotJason Molenda1999-09-281-58/+29
|
* import gdb-1999-09-21Jason Molenda1999-09-221-59/+96
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-171/+280
|
* import gdb-1999-08-30 snapshotJason Molenda1999-08-311-118/+186
|
* import gdb-1999-08-23 snapshotJason Molenda1999-08-231-3/+9
|
* import gdb-1999-08-16 snapshotJason Molenda1999-08-161-1/+1
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-177/+101
|
* import gdb-1999-08-02 snapshotJason Molenda1999-08-021-49/+65
|
* import gdb-1999-07-19 snapshotJason Molenda1999-07-191-1/+4
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-1599/+1602
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-7/+116
|
* import gdb-1999-06-14 snapshotJason Molenda1999-06-141-0/+3
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-1/+27
|
* import gdb-1999-0519Jason Molenda1999-05-191-1/+1
|
* import gdb-1999-05-10Stan Shebs1999-05-111-280/+377
|
* import gdb-19990504 snapshotStan Shebs1999-05-051-52/+87
|