aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
AgeCommit message (Collapse)AuthorFilesLines
1998-03-13Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-6/+5
* config/m68k/xm-sun3os4.h: Remove malloc declarations, they are handled via autoconf now. * remote.c (remote_ops, extended_remote_ops): Replace static forward declaration by moving the static definition to the top of the file, for old K&R compilers. * tracepoint.c (collect_symbol, trace_start_command): Replace ANSI string concatenation with K&R compatible simple string.
1998-02-11 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hookKeith Seitz1-3/+5
if it exists. Remove static declaration of free_actions. * tracepoint.h: Add declaration of free_actions. * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook. (gdbtk_print_frame_info): Define this hook so that current_source_symtab is set properly. (gdb_actions_command): Use free_actions () from tracepoint.c/h.
1998-02-05Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-76/+60
* tracepoint.c (tracepoint_operation): call free_actions instead of free. (free_actions): eliminate some memory leaks for actions. (validate_actionline): pass string arg by reference, so we can change the pointer. Change all memrange collection arguments to canonical form (literal address and size), to enforce early evaluation. Accept UNOP_MEMVAL (assembly variables) for trace collection. (parse_and_eval_memrange): accept expressions for the address and size fields of a memrange (and evaluate them immediately). (several places): use -1 instead of zero to distinguish an absolute memrange from a register-relative one. (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
1998-01-02Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-5/+21
* tracepoint.c (finish_tfind_command): improved algorithm for deciding when we've "stepped" into a new stack frame. (map_args_over_tracepoints): loop over tracepoint list "safely", since list elements may be deleted during loop. (read_actions): add actions to history list.
1997-12-17Wed Dec 17 10:47:05 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-8/+12
* tracepoint.c (set_raw_tracepoint): initialize addr_string to NULL; (trace_actions_command): call readline_begin_hook only if from_tty is true.
1997-12-11Thu Dec 11 14:28:01 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-6/+2
* tracepoint.c (trace_find_command): don't error if going backwards thru the trace buffer in a loop. * (struct tracepoint): delete unused field.
1997-12-08Mon Dec 8 14:28:49 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-8/+28
* tracepoint.c (memrange_sortmerge): allow for memranges that overlap. (collect_pseudocommand etc.) cleanup decls.
1997-12-03 * tracepoint.c: add declaration for x_commandKeith Seitz1-0/+1
* printcmd.c (x_command): remove static declaration
1997-12-03Wed Dec 3 12:00:42 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-21/+55
* tracepoint.c (finish_tfind_command): call do_display so that auto-displays are updated by tfind. Also, keep track of frame and current-function so that tfind behaves like stepping (only show the stack frame if we step into a new function or return).
1997-12-02Tue Dec 2 14:53:09 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-6/+23
* tracepoint.c: make "tdump" command handle literal memranges.
1997-12-02Tue Dec 2 11:34:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-29/+54
* tracepoint.c: use "lookup_cmd" to parse actions commands (thus allowing unambiguous prefixes and aliases).
1997-12-02Tue Dec 2 10:14:15 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-1/+3
* tracepoint.c: move prototype of validate_actionline(), and make it consistent with the function declaration.
1997-12-02Mon Dec 1 17:13:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-170/+252
* tracepoint.c: modify error behavior of the tfind commands. Add some comments.
1997-11-26 * gdbtk.c (gdb_loc): symtab_to_filename can return NULLKeith Seitz1-6/+24
(breakpoint_notify): symtab_to_filename can return NULL (gdb_get_breakpoint_info): symtab_to_filename can return NULL * tracepoint.c (set_raw_tracepoint): fix typo
1997-11-26 * tracepoint.c (set_raw_tracepoint): make sure there's a trailing ↵Keith Seitz1-1/+7
slash on the directory name * Merge (lots) with foundry-971118-build * Makefile.in (install-only): install the new gdbtk, not the old * top.h: add declaration of get_prompt * top.c (get_prompt): new function * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace commands (gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args", "gdb_get_function", "gdb_get_line", "gdb_get_file", "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions", and "gdb_prompt" (gdb_get_vars_command): new function (gdb_get_line_command): new function (gdb_get_file_command): new function (gdb_get_function_command): new function (gdb_get_tracepoint_info): new function (gdbtk_create_tracepoint): new function (gdbtk_delete_tracepoint): new function (tracepoint_notify): new function (tracepoint_exists): new function (gdb_actions_command): new function (gdb_tracepoint_exists_command): new function (gdb_prompt_command): new function * main.tcl: initialize gdbtk_state(readline) * console.tcl (invoke): get realine working (activate): add prompt argument for readline (setprompt): add prompt argument for readline * interface.tcl (gdbtk_tcl_readline): hack to get readline working * lots: Merge with foundry-971118-build * console.tcl (setprompt): get prompt from gdb * prefs.tcl (pref_set_defaults): add tracepoint defaults * interface.tcl (gdbtk_tcl_tracepoint): new function * src.tcl (constructor): set default behavior of left click, make a tracepoint dot, too (fill_files): "new" function: ripped out of "location" (location): use fill_files instead (do_bp): add support for tracepoints (bp_line): add support for tracepoints (set_tracepoint): new function (config_win): add "Set tracepoint here" to right-click menu * actiondlg.tcl: new file to help with tracepoint data collection actions * tracedlg.tcl: new file to help with tracepoints
1997-11-24A ton of my most recent changes, mostly to add post-mortem data analysis,Michael Snyder1-341/+852
plus some better error checking and reporting. Still not publically visible (not mentioned in the makefile or changelog).
1997-11-24Some early changes by Keith Seitz to support the Tcl/Tk GUI.Michael Snyder1-19/+22
Note: these files are still not publically visible; just keeping their history at this point.
1997-11-24Create CVS files tracepoint.c and tracepoint.h. This is new work,Michael Snyder1-0/+1864
not yet ready for public release, so no changelog entry yet (and I'm sanitizing the files out). Just want to get them into the repository for now, so I can begin keeping their history. Not checking in the Makefile change that would cause them to be built and linked.