aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
AgeCommit message (Collapse)AuthorFilesLines
2001-03-06Update/correct copyright notices.Kevin Buettner1-2/+2
2001-03-012001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder1-29/+23
* breakpoint.c (print_one_breakpoint): Formatting clean-up. (read_memory_nobpt): Ditto. (ep_is_catchpoint): Ditto. (ep_is_shlib_catchpoint): Ditto. (ep_is_exception_catchpoint): Ditto. (describe_other_breakpoints): Ditto.
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-6/+12
internal_verror().
2001-01-31Replace strsave() with xstrdup().Andrew Cagney1-4/+4
2001-01-18* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)Andrew Cagney1-1/+1
* breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro definition in parenthesis.
2000-12-15Replace free() with xfree().Kevin Buettner1-42/+42
2000-12-012000-11-30 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+1
* linespec.h: New file. Declarations for linespec.c. * linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c, symtab.c, tracepoint.c: Include the above. * completer.c: New file. Line completion stuff for GDB. (get_gdb_completer_word_break_characters, get_gdb_completer_quote_characters): New functions. Accessors for useful completer internal data. (filename_completer, line_completion_function, skip_quoted): Moved here from top.c. * completer.h: New file. Declarations for the above. * linespec.c (decode_line_1): Use get_gdb_completer_word_break_characters and get_gdb_completer_quote_characters. * top.c: Include completer.h. (filename_completer, line_completion_function, skip_quoted): Moved to completer.c. * corefile.c, exec.c, source.c, symfile.c, linespec.c: Include completer.h. * Makefile.in (SFILES): Add completer.c. (COMMON_OBS): Add completer.o. (completer.o): New target. (linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o, symtab.o, tracepoint.o): Add linespec.h to dependencies list. (corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h to dependencies list.
2000-11-27* remote.c (remote_write_bytes): Add default case to switchAndrew Cagney1-2/+4
initializing ``todo''. Ditto for ``nr_bytes''. * top.c (catch_errors): Always initialize ``val''. * solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size returning an unknown size. * gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''. * breakpoint.c (break_at_finish_at_depth_command_1): Initialise extra_args to NULL. (break_at_finish_command_1): Ditto.
2000-10-30 * eval.c (parse_and_eval_long): New function.David Taylor1-2/+2
* 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.
2000-10-27Corrected spelling errors in comments.David Anderson1-2/+2
gdbarch.{c,sh} removed a word from a comment.
2000-08-302000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-1/+1
* valops.c (value_cast): Indentation fix-up. * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T, HAVE_STRUCT_LINK_MAP32): New configure macros. * config.in: Ditto. * configure.in: Test for the above new macros. * breakpoint.c: Update copyright date. * core-sol2.c: Include v9/sys/privregs.h directly to work around a bug in Sun's Solaris 8 header files. (fetch_core_registers): Use the above new configure macros to handle cross-debugging of 32-bit core files on a 64-bit host. * sol-thread.c (ps_pdmodel) New function. (rw_common): For debugging of 32-bit apps on a 64-bit host, truncate addresses to 32 bits. * solib.c (solib_extract_address): Functionize. Make 32/64 aware. (LM_ADDR, LM_NEXT, LM_NAME): Ditto. (IGNORE_FIRST_LINK_MAP): Ditto. (first_link_map_member): Make 32/64 aware. (open_symbol_file_object): Ditto. (current_sos): Ditto.
2000-08-03Protoization.Kevin Buettner1-9/+3
2000-07-30Protoization.Kevin Buettner1-349/+148
2000-07-07* breakpoint.c (bpstat_what): Keep returningMark Kettenis1-1/+1
BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp() breakpoints instead of signalling an error by returning BPSTAT_WHAT_STOP_NOISY.
2000-06-122000-06-12 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-2/+2
* breakpoint.c (breakpoint_thread_match): Fix comment.
2000-06-04Eliminate PARAMS from function pointer declarations.Kevin Buettner1-1/+1
2000-05-28PARAMS removal.Kevin Buettner1-121/+79
2000-05-15Cleanup delete_breakpoint cleanups.Andrew Cagney1-5/+22
2000-05-15Use make_cleanup_ui_out_stream_delete().Andrew Cagney1-2/+2
2000-03-302000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-3/+3
* defs.h (struct continuation_arg): make 'data' a union, to avoid casting problems when int and pointer are not the same size. * event-top.c (command_handler): use data as a union. (command_line_handler_continuation): ditto. * infcmd.c (step_1_continuation): use data as a union. Re-indent. (step_once): ditto. (finish_command_continuation): ditto. (finish_command): ditto. * breakpoint.c (until_break_command): use data as a union. (until_break_command_continuation): ditto. * utils.c (add_intermediate_continuation): fix typo in comment.
2000-03-29Fix various GCC warnings.Andrew Cagney1-1/+1
2000-03-282000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder1-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-282000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder1-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-212000-03-21 Eli Zaretskii <eliz@is.elta.co.il>Michael Snyder1-0/+11
* breakpoint.c (bpstat_stop_status): Don't stop if a read watchpoint appears to break, but the watched value changed.
2000-03-212000-03-20 Eli Zaretskii <eliz@is.elta.co.il>Michael Snyder1-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.
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-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.
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-0/+373
2000-01-11import gdb-2000-01-10 snapshotJason Molenda1-10/+17
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-110/+313
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-3/+2
1999-12-14import gdb-1999-12-13 snapshotJason Molenda1-229/+341
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-3/+1
1999-11-17import gdb-1999-11-16 snapshotJason Molenda1-0/+9
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-7/+8
1999-11-02import gdb-1999-11-01 snapshotJason Molenda1-47/+200
1999-10-26import gdb-1999-10-25 snapshotJason Molenda1-156/+193
1999-10-19import gdb-1999-10-18 snapshotJason Molenda1-31/+44
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-4/+6
1999-09-28import gdb-1999-09-28 snapshotJason Molenda1-12/+6
1999-09-22import gdb-1999-09-21Jason Molenda1-29/+109
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-9/+5
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-2/+10
1999-08-23import gdb-1999-08-23 snapshotJason Molenda1-203/+329
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-2066/+2109
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-5/+71
1999-06-01import gdb-1999-06-01 snapshotJason Molenda1-0/+6
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-0/+1
1999-05-19import gdb-1999-0519Jason Molenda1-1/+1
1999-04-26import gdb-19990422 snapshotStan Shebs1-49/+77
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+6686