Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] fix to inferior.h
@ 2001-04-05 23:01 David Deephanphongs
  2001-04-06  5:04 ` Fernando Nasser
  2001-04-06  9:23 ` Andrew Cagney
  0 siblings, 2 replies; 3+ messages in thread
From: David Deephanphongs @ 2001-04-05 23:01 UTC (permalink / raw)
  To: gdb-patches

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).  */
  


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix to inferior.h
  2001-04-05 23:01 [PATCH] fix to inferior.h David Deephanphongs
@ 2001-04-06  5:04 ` Fernando Nasser
  2001-04-06  9:23 ` Andrew Cagney
  1 sibling, 0 replies; 3+ messages in thread
From: Fernando Nasser @ 2001-04-06  5:04 UTC (permalink / raw)
  To: david; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix to inferior.h
  2001-04-05 23:01 [PATCH] fix to inferior.h David Deephanphongs
  2001-04-06  5:04 ` Fernando Nasser
@ 2001-04-06  9:23 ` Andrew Cagney
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2001-04-06  9:23 UTC (permalink / raw)
  To: david; +Cc: gdb-patches

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'.

This begs the question - how was it building withouth this patch (using
-Werror -Wimplicit).

	Andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-06  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-05 23:01 [PATCH] fix to inferior.h David Deephanphongs
2001-04-06  5:04 ` Fernando Nasser
2001-04-06  9:23 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox