summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder2000-03-281-0/+21
| | | | | | breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function. infrun.c (resume): Remove hardware watchpoints before stepping when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
* 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder2000-03-281-4/+4
| | | | | | | | | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Reselect the saved frame silently after frame selection for watchpoint evaluation. (insert_breakpoints): Add missing space in `Hardware watchpoint deleted' message. Do not reinsert hardware watchpoint if it is already marked for deletion at next stop.
* 2000-03-21 Eli Zaretskii <eliz@is.elta.co.il>Michael Snyder2000-03-211-0/+11
| | | | | * breakpoint.c (bpstat_stop_status): Don't stop if a read watchpoint appears to break, but the watched value changed.
* 2000-03-20 Eli Zaretskii <eliz@is.elta.co.il>Michael Snyder2000-03-211-45/+85
| | | | | | | | | | | | | * breakpoint.c (insert_breakpoints, remove_breakpoint) (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert, remove, or check status of hardware watchpoints for entire structs and arrays unless the user explicitly asked to watch that struct or array. (insert_breakpoints): Try to insert watchpoints for all the values on the value chain, even if some of them fail to insert. * values.c (value_primitive_field): Set the offset in struct value we return when the field is a packed bitfield.
* Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney2000-02-231-0/+45
| | | | | | | 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.
* import gdb-2000-02-02 snapshotJason Molenda2000-02-031-0/+373
|
* import gdb-2000-01-10 snapshotJason Molenda2000-01-111-10/+17
|
* import gdb-2000-01-05 snapshotJason Molenda2000-01-061-110/+313
|
* import gdb-1999-12-21 snapshotJason Molenda1999-12-221-3/+2
|
* import gdb-1999-12-13 snapshotJason Molenda1999-12-141-229/+341
|
* import gdb-1999-12-06 snapshotJason Molenda1999-12-071-3/+1
|
* import gdb-1999-11-16 snapshotJason Molenda1999-11-171-0/+9
|
* import gdb-1999-11-08 snapshotJason Molenda1999-11-091-7/+8
|
* import gdb-1999-11-01 snapshotJason Molenda1999-11-021-47/+200
|
* import gdb-1999-10-25 snapshotJason Molenda1999-10-261-156/+193
|
* import gdb-1999-10-18 snapshotJason Molenda1999-10-191-31/+44
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-4/+6
|
* import gdb-1999-09-28 snapshotJason Molenda1999-09-281-12/+6
|
* import gdb-1999-09-21Jason Molenda1999-09-221-29/+109
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-9/+5
|
* import gdb-1999-08-30 snapshotJason Molenda1999-08-311-2/+10
|
* import gdb-1999-08-23 snapshotJason Molenda1999-08-231-203/+329
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-2066/+2109
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-5/+71
|
* import gdb-1999-06-01 snapshotJason Molenda1999-06-011-0/+6
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-0/+1
|
* import gdb-1999-0519Jason Molenda1999-05-191-1/+1
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-49/+77
|
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-161-0/+6686
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-6624/+0
|
* disable_breakpoints_in_shlibs now takes a new parameter -- silent; callersDavid Taylor1999-01-191-9/+13
| | | | | updated. new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c). PR 16495 / PR 18213.
* catch_errors() takes PTR argument/func instead of char* argument/func.Andrew Cagney1999-01-171-45/+44
| | | | | | Update breakpoint.c. Fix (?) cover_target_enable_exception_callback(). Wasn't returning a value.
* insert_breakpoints -- insert cast to eliminate warning.David Taylor1999-01-141-4/+5
|
* * thread.c: cull duplicate prototypes. Move prototypes to top.Michael Snyder1999-01-131-3/+4
| | | | | * serial.c: indentation cleanup. * breakpoint.c: add casts to eliminate compiler warnings.
* target.c (noprocess): terminate sentence with a period.David Taylor1999-01-051-1/+1
| | | | breakpoint.c (catch_command_1): ditto.
* all remaining *.c *.h files from hp merge.David Taylor1998-12-311-356/+2752
|
* Sat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>Stan Shebs1998-11-211-96/+58
| | | | | * breakpoint.c (bpstat_stop_status): Do not increment hit_count of breakpoint if condition is not true.
* 1998-10-13 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1998-10-141-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * blockframe.c (find_pc_sect_partial_function): Add braces to avoid possible nested-if confusion. * breakpoint.c (breakpoint_here_p): Ditto. (breakpoint_inserted_here_p): Ditto. (breakpoint_thread_match): Ditto. * gnu-regex.c: Define _REGEX_RE_COMP only if it isn't already defined. * gnu-regex.h: Define _REGEX_RE_COMP to pick up old compatability prototypes. * symtab.h: Add prototype for _initialize_source. * value.h: Add prototype for _initialize_value. * defs.h: Include sys/types.h or stddef.h to get size_t. (make_cleanup): Add make_cleanup_func typedef and switch to using a prototype for this function. (mfree): Add prototypes for mmalloc, mrealloc, mfree if we aren't using mmalloc. * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c dwarf2read.c dwarfread.c elfread.c eval.c exec.c gdbtk-cmds.c gdbtk.c infcmd.c infrun.c mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c valops.c: Cast parameters passed to make_cleanup to use the new make_cleanup_func typedef. More warning cleanups. There are still a bunch of places where the first argument to make_cleanup is not cast to (make_cleanup_func); these are either due to the function fitting the make_cleanup_func specification already (e.g. free()) or they are in files that weren't compiled when I did my make on a Linux native system. Bwahahaha. You can see them like this: grep make_cleanup\ * | grep -v make_cleanup_func I'll surely go back and clean up the remaining suspicious calls in GDB one of these days. :-)
* * Fix for PR 16567, brought over from d30v branch.Frank Ch. Eigler1998-10-011-2/+18
| | | | | | Thu Oct 1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com> * breakpoint.c (bpstat_stop_status): Do not consider an untripped watchpoint as a "hit".
* * main.c (main): Fix violations of GNU coding standard.Keith Seitz1998-07-151-22/+37
| | | | | | | | | | * breakpoint.c: Export delete_command. * infcmd.c: Export continue_command, stepi_command, and nexti_command. * Makefile.in: Add target for v850ice.o. * configure.tgt: Add cygwin32 dependencies for v850 ice.
* add _siglongjmp to list of longjmp breakpoints.David Taylor1997-12-311-109/+226
|
* See gdb ChangeLog entry with header:Fred Fish1996-07-261-5/+50
| | | | | | | Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
* Changes from the FSF for Hurd thread support.Stu Grossman1996-07-171-1/+12
|
* * defs.h (read_command_lines, query_hook): Update prototypes.Fred Fish1996-05-201-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (readline_begin_hook, readline_hook, readline_end_hook): Declare. * breakpoint.c (commands_command): Build message in temporary buffer and pass that, as well as tty control flag, to read_command_lines. * top.c (readline_begin_hook, readline_hook, readline_end_hook): Define here. (command_loop): Check for non-NULL instream before looping. (command_line_input): Use readline_hook when appropriate, to get user input from a GUI window. (read_next_line): Also build prompt if getting user input from a GUI. (recurse_read_control_structure): Fix typo in comment. (read_command_lines): Use passed in prompt and tty flag to decide how to build message. Use readline_begin_hook when appropriate, to set up a GUI interaction window. Just return head, whether NULL or not, after using readline_end_hook to complete GUI interaction. (define_command, document_command): Build message in a temporary buffer and pass it to read_command_lines, along with tty flag. * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): New functions. (tk_command_loop): Set instream to NULL to enable Tk user interaction. (gdbtk_init): Set readline_begin_hook, readline_hook, and readline_end_hook. * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, gdbtk_tcl_readline_end): New functions. (tclsh): Pack scroll bar on right side of window, not left. PR 9385
* * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,Stu Grossman1996-05-091-1/+1
| | | | | | infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to avoid conflict with Solaris /usr/include/thread.h.
* * breakpoint.c (clear_momentary_breakpoints): Remove dead codeFred Fish1996-05-081-170/+57
| | | | | | | | | | | | | | | that is referenced nowhere else. (set_breakpoint): Ditto. (do_enable_breakpoint): Created from enable_once_breakpoint with a couple of changes. (enable_breakpoint): Call do_enable_breakpoint with an appropriate bpdisp enum value to set disposition of breakpoint. (enable_once_breakpoint): Ditto. (enable_delete_breakpoint): Ditto. * breakpoint.h (clear_momentary_breakpoints): Remove prototype. * symtab.c (find_pc_line): Improve comments. * gdbtk.c: Fix a couple of misspellings. * xcoffread.c: Ditto.
* * From Peter Schauer:Jeff Law1996-05-021-24/+60
| | | | | | | | | | | | | | * breakpoint.h (enum bpdisp): Add del_at_next_stop. * breakpoint.c (insert_breakpoints, watchpoint_check, bpstat_stop_status): Avoid bad references to memory freed via delete_breakpoint on watchpoints going out of scope. Do not delete these watchpoints, disable them and change their disposition to del_at_next_stop instead. (breakpoint_auto_delete): Delete all breakpoints whose disposition is del_at_next_stop. (breakpoint_init_inferior): Use switch to avoid reference to already deleted breakpoint. Fixes dangling pointer problems with watchpoints.
* * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->expPeter Schauer1996-04-281-0/+14
| | | | | | | | | | | | storage leaks. (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. * infcmd.c (run_command), solib.c (locate_base): Check for target_has_execution in addition to inferior_pid, a core file from a threaded program is yielding a non-zero inferior_pid. * sparc-tdep.c (get_saved_register): Handle window registers in a dummy frame correctly.
* * From Peter Schauer.Jeff Law1996-03-271-19/+56
| | | | | | | | | * breakpoint.c (breakpoint_re_set_one): Keep temporary breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy and bp_step_resume in case breakpoint_re_set_one is called due to a step over a dlopen call. * infrun.c (wait_for_inferior): Always remove breakpoints from inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
* * From Peter Schauer:Jeff Law1996-03-061-28/+73
| | | | | * breakpoint.c (internal_breakpoint_number): Move to file scope. (create_solib_event_breakpoint): Use an internal breakpoint number.