diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-11-03 14:35:13 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-11-03 14:35:13 +0000 |
commit | 579c6ad9830058ccebf9c592d692c25fac6285c7 (patch) | |
tree | 048ac48b9249ea0e63a08ed28ede6108c0a602a0 /gdb/breakpoint.h | |
parent | cd6c3b4ffc4ea6f56f12581419e2eed885441beb (diff) | |
download | gdb-579c6ad9830058ccebf9c592d692c25fac6285c7.zip gdb-579c6ad9830058ccebf9c592d692c25fac6285c7.tar.gz gdb-579c6ad9830058ccebf9c592d692c25fac6285c7.tar.bz2 |
Rename placed_size to kind
This patch renames placed_size to kind.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* breakpoint.h (struct bp_target_info) <placed_size>: Remove.
<kind>: New field.
Update all users.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index aaff3d5..9bdc8ff 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -260,13 +260,9 @@ struct bp_target_info /* The length of the data cached in SHADOW_CONTENTS. */ int shadow_len; - /* The size of the placed breakpoint, according to - gdbarch_breakpoint_from_pc, when the breakpoint was inserted. - This is generally the same as SHADOW_LEN, unless we did not need - to read from the target to implement the memory breakpoint - (e.g. if a remote stub handled the details). We may still need - the size to remove the breakpoint safely. */ - int placed_size; + /* The breakpoint's kind. It is used in 'kind' parameter in Z + packets. */ + int kind; /* Vector of conditions the target should evaluate if it supports target-side breakpoint conditions. */ |