diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-16 16:24:53 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-16 15:49:56 -0400 |
commit | 8375fdfe4cb64aa15aa635b05e133dccc86de933 (patch) | |
tree | a1f301d63c6ab2f142f05ba64677df65a24f3e7a /gdb/target.c | |
parent | 41ab08f84b926ea4d1b6ff242734f166e5f9f6fc (diff) | |
download | binutils-8375fdfe4cb64aa15aa635b05e133dccc86de933.zip binutils-8375fdfe4cb64aa15aa635b05e133dccc86de933.tar.gz binutils-8375fdfe4cb64aa15aa635b05e133dccc86de933.tar.bz2 |
gdb: remove unnecessary declarations in target.c
I found that these local declarations were not needed, remove them.
Tested by rebuilding.
Change-Id: I8d4fd0839ee1063b91dc002216d683aee0d4be22
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gdb/target.c b/gdb/target.c index 6853c14..d721cf0 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -57,48 +57,14 @@ static void generic_tls_error (void) ATTRIBUTE_NORETURN; -static void default_terminal_info (struct target_ops *, const char *, int); - -static int default_watchpoint_addr_within_range (struct target_ops *, - CORE_ADDR, CORE_ADDR, int); - -static int default_region_ok_for_hw_watchpoint (struct target_ops *, - CORE_ADDR, int); - static void default_rcmd (struct target_ops *, const char *, struct ui_file *); -static ptid_t default_get_ada_task_ptid (struct target_ops *self, - long lwp, ULONGEST tid); - -static void default_mourn_inferior (struct target_ops *self); - -static int default_search_memory (struct target_ops *ops, - CORE_ADDR start_addr, - ULONGEST search_space_len, - const gdb_byte *pattern, - ULONGEST pattern_len, - CORE_ADDR *found_addrp); - static int default_verify_memory (struct target_ops *self, const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size); static void tcomplain (void) ATTRIBUTE_NORETURN; -static struct target_ops *find_default_run_target (const char *); - -static int dummy_find_memory_regions (struct target_ops *self, - find_memory_region_ftype ignore1, - void *ignore2); - -static gdb::unique_xmalloc_ptr<char> dummy_make_corefile_notes - (struct target_ops *self, bfd *ignore1, int *ignore2); - -static std::string default_pid_to_str (struct target_ops *ops, ptid_t ptid); - -static enum exec_direction_kind default_execution_direction - (struct target_ops *self); - /* Mapping between target_info objects (which have address identity) and corresponding open/factory function/callback. Each add_target call adds one entry to this map, and registers a "target |