diff options
author | Yao Qi <yao@codesourcery.com> | 2012-03-13 01:16:07 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-03-13 01:16:07 +0000 |
commit | fa3064dd8ab9f9526fcba736ee1bca16cd62754c (patch) | |
tree | b0677513b321412f2a7cd8eea28cd7616efe4627 /gdb/mi/mi-main.c | |
parent | 8560e02a720855e2d0adb6d4e0725337b0f41695 (diff) | |
download | gdb-fa3064dd8ab9f9526fcba736ee1bca16cd62754c.zip gdb-fa3064dd8ab9f9526fcba736ee1bca16cd62754c.tar.gz gdb-fa3064dd8ab9f9526fcba736ee1bca16cd62754c.tar.bz2 |
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/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index a03e230..787d247 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -508,6 +508,8 @@ mi_cmd_thread_info (char *command, char **argv, int argc) print_thread_info (current_uiout, argv[0], -1); } +DEF_VEC_I(int); + struct collect_cores_data { int pid; |