This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] fix to inferior.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]