diff options
author | Yao Qi <yao@codesourcery.com> | 2011-11-14 14:38:41 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-11-14 14:38:41 +0000 |
commit | 5c73ff4ec2c54aa1788d012003e59bfbd14a896b (patch) | |
tree | 284cc7a1ae9e9d8e6dde0effeb6abb65c7d73f79 /gdb/gdbserver/mem-break.h | |
parent | e8ba31153a46231c6ea664762e633f00256af237 (diff) | |
download | gdb-5c73ff4ec2c54aa1788d012003e59bfbd14a896b.zip gdb-5c73ff4ec2c54aa1788d012003e59bfbd14a896b.tar.gz gdb-5c73ff4ec2c54aa1788d012003e59bfbd14a896b.tar.bz2 |
* mem-break.c (inc_ref_fast_tracepoint_jump): New.
* mem-break.h: Declare.
* tracepoint.c (cmd_qtstart): Move some code to ...
(clone_fast_tracepoint, install_fast_tracepoint): ... here.
New.
(download_tracepoints): Move some code to ...
(download_tracepoint_1): ... here. New.
Diffstat (limited to 'gdb/gdbserver/mem-break.h')
-rw-r--r-- | gdb/gdbserver/mem-break.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/mem-break.h b/gdb/gdbserver/mem-break.h index c5cb20c..2f8bee9 100644 --- a/gdb/gdbserver/mem-break.h +++ b/gdb/gdbserver/mem-break.h @@ -137,6 +137,9 @@ struct fast_tracepoint_jump *set_fast_tracepoint_jump (CORE_ADDR where, unsigned char *insn, ULONGEST length); +/* Increment reference counter of JP. */ +void inc_ref_fast_tracepoint_jump (struct fast_tracepoint_jump *jp); + /* Delete fast tracepoint jump TODEL from our tables, and uninsert if from memory. */ |