summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-03-13 01:16:04 +0000
committerqiyao <qiyao>2012-03-13 01:16:04 +0000
commitc5d108c464f20bd59707af4752ad25fbcd9c9d3b (patch)
tree53656238415760ab783ac6aff50f841e7f768444 /gdb/breakpoint.h
parent9f98300654f84be38a0458438e2b1f7ef8b3c87e (diff)
downloadgdb-c5d108c464f20bd59707af4752ad25fbcd9c9d3b.tar.gz
gdb:
* inferior.h (struct inferior): Remove fields any_syscall_count, syscalls_counts and total_syscalls_count. Move them to new struct catch_syscall_inferior_data in breakpoint.c. * breakpoint.c: Call DEF_VEC_I(int). (struct catch_syscall_inferior_data): New. (get_catch_syscall_inferior_data): New. (catch_syscall_inferior_data_cleanup): New. (insert_catch_syscall): Update to access data in struct catch_syscall_inferior_data. (insert_catch_syscall): Likewise. (remove_catch_syscall): Likewise. (remove_catch_syscall): Likewise. (is_syscall_catchpoint_enabled): Likewise. (add_catch_command): Likewise. (_initialize_breakpoint): Register cleanup. * breakpoint.h: Removed DEF_VEC_I(int). * dwarf2loc.c: Call DEF_VEC_I(int). * mi/mi-main.c: Likewise.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 5b5172ee6b4..b92b72ccf6a 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -583,9 +583,6 @@ enum watchpoint_triggered
watch_triggered_yes
};
-/* This is used to declare the VEC syscalls_to_be_caught. */
-DEF_VEC_I(int);
-
typedef struct bp_location *bp_location_p;
DEF_VEC_P(bp_location_p);