Remove unused function declarations in target.h
Commit Message
find_default_create_inferior and find_default_attach were removed in b3ccfe11.
gdb/ChangeLog:
* target.h: Remove find_default_create_inferior and
find_default_attach.
---
gdb/target.h | 5 -----
1 file changed, 5 deletions(-)
Comments
Hi Simon,
On 03/03/2015 05:59 PM, Simon Marchi wrote:
> gdb/ChangeLog:
>
> * target.h: Remove find_default_create_inferior and
> find_default_attach.
I prefer to rewrite it in this way,
* target.h (find_default_create_inferior): Remove declaration.
(find_default_attach): Likewise.
The patch is OK.
On 03/03/2015 05:37 PM, Yao Qi wrote:
> Hi Simon,
>
> On 03/03/2015 05:59 PM, Simon Marchi wrote:
>> gdb/ChangeLog:
>>
>> * target.h: Remove find_default_create_inferior and
>> find_default_attach.
>
> I prefer to rewrite it in this way,
>
> * target.h (find_default_create_inferior): Remove declaration.
> (find_default_attach): Likewise.
>
> The patch is OK.
Agreed, it's nicer that way.
Pushed, thanks!
@@ -2175,11 +2175,6 @@ extern void noprocess (void) ATTRIBUTE_NORETURN;
extern void target_require_runnable (void);
-extern void find_default_attach (struct target_ops *, const char *, int);
-
-extern void find_default_create_inferior (struct target_ops *,
- char *, char *, char **, int);
-
extern struct target_ops *find_target_beneath (struct target_ops *);
/* Find the target at STRATUM. If no target is at that stratum,