Skip to content

Commit 8375fdf

Browse files
committed
gdb: remove unnecessary declarations in target.c
I found that these local declarations were not needed, remove them. Tested by rebuilding. Change-Id: I8d4fd0839ee1063b91dc002216d683aee0d4be22
1 parent 41ab08f commit 8375fdf

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

gdb/target.c

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -57,48 +57,14 @@
5757

5858
static void generic_tls_error (void) ATTRIBUTE_NORETURN;
5959

60-
static void default_terminal_info (struct target_ops *, const char *, int);
61-
62-
static int default_watchpoint_addr_within_range (struct target_ops *,
63-
CORE_ADDR, CORE_ADDR, int);
64-
65-
static int default_region_ok_for_hw_watchpoint (struct target_ops *,
66-
CORE_ADDR, int);
67-
6860
static void default_rcmd (struct target_ops *, const char *, struct ui_file *);
6961

70-
static ptid_t default_get_ada_task_ptid (struct target_ops *self,
71-
long lwp, ULONGEST tid);
72-
73-
static void default_mourn_inferior (struct target_ops *self);
74-
75-
static int default_search_memory (struct target_ops *ops,
76-
CORE_ADDR start_addr,
77-
ULONGEST search_space_len,
78-
const gdb_byte *pattern,
79-
ULONGEST pattern_len,
80-
CORE_ADDR *found_addrp);
81-
8262
static int default_verify_memory (struct target_ops *self,
8363
const gdb_byte *data,
8464
CORE_ADDR memaddr, ULONGEST size);
8565

8666
static void tcomplain (void) ATTRIBUTE_NORETURN;
8767

88-
static struct target_ops *find_default_run_target (const char *);
89-
90-
static int dummy_find_memory_regions (struct target_ops *self,
91-
find_memory_region_ftype ignore1,
92-
void *ignore2);
93-
94-
static gdb::unique_xmalloc_ptr<char> dummy_make_corefile_notes
95-
(struct target_ops *self, bfd *ignore1, int *ignore2);
96-
97-
static std::string default_pid_to_str (struct target_ops *ops, ptid_t ptid);
98-
99-
static enum exec_direction_kind default_execution_direction
100-
(struct target_ops *self);
101-
10268
/* Mapping between target_info objects (which have address identity)
10369
and corresponding open/factory function/callback. Each add_target
10470
call adds one entry to this map, and registers a "target

0 commit comments

Comments
 (0)