diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-01 21:14:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-01 21:14:00 +0000 |
commit | 70221824e31ba9c4e8cc710f11c986c37c947310 (patch) | |
tree | cd263f2e29ae032c32defaac193a3f38629b8a90 /gdb/tracepoint.c | |
parent | 33fbcbee30e6565db27a4c5076ff61c9fc8e0744 (diff) | |
download | gdb-70221824e31ba9c4e8cc710f11c986c37c947310.zip gdb-70221824e31ba9c4e8cc710f11c986c37c947310.tar.gz gdb-70221824e31ba9c4e8cc710f11c986c37c947310.tar.bz2 |
2012-03-01 Pedro Alves <palves@redhat.com>
* amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
* breakpoint.c (create_exception_master_breakpoint, trace_command)
(ftrace_command, strace_command): Make static.
* d-lang.c (_initialize_d_language): Declare.
* dwarf2expr.c (_initialize_dwarf2expr): Declare.
* dwarf2loc.c (_initialize_dwarf2loc):
* dwarf2read.c (process_psymtab_comp_unit): Make static.
* exec.c (exec_get_section_table): Make static.
* i386-linux-tdep.c (i386_linux_record_signal): Make static.
* infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
* inferior.c (remove_inferior_command, add_inferior_command)
(clone_inferior_command): Make static.
* linux-nat.c (linux_nat_thread_address_space)
(linux_nat_core_of_thread): Make static.
* linux-tdep.c (_initialize_linux_tdep): Declare.
* objc-lang.c (_initialize_objc_lang): Declare.
* opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
Make static.
(_initialize_opencl_language): Declare.
* record.c (_initialize_record): Declare.
* remote.c (demand_private_info, remote_get_tib_address)
(remote_supports_cond_tracepoints)
(remote_supports_fast_tracepoints, remote_get_tracepoint_status):
Make static.
* skip.c (_initialize_step_skip): Declare.
* symtab.c (skip_prologue_using_lineinfo): Make static.
* tracepoint.c (delete_trace_state_variable)
(trace_variable_command, delete_trace_variable_command)
(get_uploaded_tsv, find_matching_tracepoint_location)
(find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
Make static.
* value.c (pack_unsigned_long): Make static.
* varobj.c (varobj_ensure_python_env): Make static.
* windows-tdep.c (_initialize_windows_tdep): Declare.
* xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 824d572..0442a60 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -347,7 +347,7 @@ find_trace_state_variable (const char *name) return NULL; } -void +static void delete_trace_state_variable (const char *name) { struct trace_state_variable *tsv; @@ -367,7 +367,7 @@ delete_trace_state_variable (const char *name) /* The 'tvariable' command collects a name and optional expression to evaluate into an initial value. */ -void +static void trace_variable_command (char *args, int from_tty) { struct expression *expr; @@ -429,7 +429,7 @@ trace_variable_command (char *args, int from_tty) do_cleanups (old_chain); } -void +static void delete_trace_variable_command (char *args, int from_tty) { int ix; @@ -3344,7 +3344,7 @@ free_uploaded_tps (struct uploaded_tp **utpp) /* Given a number and address, return an uploaded tracepoint with that number, creating if necessary. */ -struct uploaded_tsv * +static struct uploaded_tsv * get_uploaded_tsv (int num, struct uploaded_tsv **utsvp) { struct uploaded_tsv *utsv; @@ -3391,7 +3391,7 @@ cond_string_is_same (char *str1, char *str2) toggle that freely, and may have done so in anticipation of the next trace run. Return the location of matched tracepoint. */ -struct bp_location * +static struct bp_location * find_matching_tracepoint_location (struct uploaded_tp *utp) { VEC(breakpoint_p) *tp_vec = all_tracepoints (); @@ -3474,7 +3474,7 @@ merge_uploaded_tracepoints (struct uploaded_tp **uploaded_tps) /* Trace state variables don't have much to identify them beyond their name, so just use that to detect matches. */ -struct trace_state_variable * +static struct trace_state_variable * find_matching_tsv (struct uploaded_tsv *utsv) { if (!utsv->name) @@ -3483,7 +3483,7 @@ find_matching_tsv (struct uploaded_tsv *utsv) return find_trace_state_variable (utsv->name); } -struct trace_state_variable * +static struct trace_state_variable * create_tsv_from_upload (struct uploaded_tsv *utsv) { const char *namebase; @@ -5052,7 +5052,7 @@ parse_traceframe_info (const char *tframe_info) This is where we avoid re-fetching the object from the target if we already have it cached. */ -struct traceframe_info * +static struct traceframe_info * get_traceframe_info (void) { if (traceframe_info == NULL) |