aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1998-10-29 18:07:01 +0000
committerMichael Snyder <msnyder@vmware.com>1998-10-29 18:07:01 +0000
commit2e7eeba99de6891ada5f4b4661ecb4a9b1084038 (patch)
tree95b42164fd1bf8c3aac508a4f203c51abe142b4f /gdb/tracepoint.h
parent271f091db772c822be71fb8fe803817e44a02e87 (diff)
downloadbinutils-2e7eeba99de6891ada5f4b4661ecb4a9b1084038.zip
binutils-2e7eeba99de6891ada5f4b4661ecb4a9b1084038.tar.gz
binutils-2e7eeba99de6891ada5f4b4661ecb4a9b1084038.tar.bz2
Thu Oct 29 10:04:20 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
[Support for trace debugging: registers that were not collected.] * remote.c (remote_fetch_registers): accept 'xxxx' in the register packet, with the meaning "register value is not available". Set register_valid to -1, which will connote "no value available". * findvar.c (read_relative_register_raw_bytes): return failure if register_valid == -1. (value_of_register): return failure if register_valid == -1. (read_var_value): return error if value_of_register fails for a register variable. (value_from_register): return failure if register_valid == -1. * eval.c (evaluate_subexp_standard): return error if value_of_register fails for a register used in an expression. * infcmd.c (do_registers_info): display "value not available" for registers for which register_valid == -1. * tracepoint.c (set_raw_tracepoint): just save the filename as is from the symbol table, rather than trying to prepend the dir name. Also save the bfd section. (tracepoints_info): use the section when looking up the function name. * tracepoint.h: add section field to tracepoint struct.
Diffstat (limited to 'gdb/tracepoint.h')
-rw-r--r--gdb/tracepoint.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index 889cd54..2ffe3bd 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -86,8 +86,12 @@ struct tracepoint
aborting, so you can back up to just before the abort. */
int hit_count;
- /* Thread number for thread-specific breakpoint, or -1 if don't care */
+ /* Thread number for thread-specific tracepoint, or -1 if don't care */
int thread;
+
+ /* BFD section, in case of overlays:
+ no, I don't know if tracepoints are really gonna work with overlays. */
+ asection *section;
};
enum actionline_type