* [PATCH] Remove unused function declarations in target.h
@ 2015-03-03 17:59 Simon Marchi
2015-03-03 22:37 ` Yao Qi
0 siblings, 1 reply; 3+ messages in thread
From: Simon Marchi @ 2015-03-03 17:59 UTC (permalink / raw)
To: gdb-patches; +Cc: Simon Marchi
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(-)
diff --git a/gdb/target.h b/gdb/target.h
index a2d64bf..5ba8425 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -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,
--
2.1.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove unused function declarations in target.h
2015-03-03 17:59 [PATCH] Remove unused function declarations in target.h Simon Marchi
@ 2015-03-03 22:37 ` Yao Qi
2015-03-03 22:40 ` Simon Marchi
0 siblings, 1 reply; 3+ messages in thread
From: Yao Qi @ 2015-03-03 22:37 UTC (permalink / raw)
To: Simon Marchi, gdb-patches
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.
--
Yao
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove unused function declarations in target.h
2015-03-03 22:37 ` Yao Qi
@ 2015-03-03 22:40 ` Simon Marchi
0 siblings, 0 replies; 3+ messages in thread
From: Simon Marchi @ 2015-03-03 22:40 UTC (permalink / raw)
To: Yao Qi, gdb-patches
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-03 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 17:59 [PATCH] Remove unused function declarations in target.h Simon Marchi
2015-03-03 22:37 ` Yao Qi
2015-03-03 22:40 ` Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).