This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] fix to inferior.h
- To: david at llamedos dot org
- Subject: Re: [PATCH] fix to inferior.h
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Fri, 06 Apr 2001 07:59:46 -0400
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat Canada
- References: <20010406021000.A14244@llamedos.org>
I am checking this in based on the obvious fix rule.
Thanks for the patch.
Fernando
David Deephanphongs wrote:
>
> This is a simple patch to inferior.h to declare get/set_inferior_args
> correctly.
> They were declared as get_inferior_arg and set_inferior_arg
>
> Dave
>
> === CHANGELOG ===
>
> 2001-04-06 David Deephanphongs <david@localhost>
>
> * inferior.h: Fix declarations of get_inferior_args and
> set_inferior_args, which were missing the trailing 's'.
>
> === PATCH ===
>
> *** gdb/inferior.h Fri Mar 30 12:12:51 2001
> --- gdb-orig/inferior.h Tue Mar 13 18:31:13 2001
> *************** extern void tty_command (char *, int);
> *** 267,275 ****
>
> extern void attach_command (char *, int);
>
> ! extern char *get_inferior_args (void);
>
> ! extern char *set_inferior_args (char *);
>
> /* Last signal that the inferior received (why it stopped). */
>
> --- 267,275 ----
>
> extern void attach_command (char *, int);
>
> ! extern char *get_inferior_arg (void);
>
> ! extern char *set_inferior_arg (char *);
>
> /* Last signal that the inferior received (why it stopped). */
>
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9