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]
Other format: [Raw text]

[commit sim/] rename _bfd to bfd


This does the s/_bfd/bfd/ to the sim directory.

committed,
Andrew
Index: arm/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
	
Index: common/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
	* sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
	* nrun.c (main): Ditto.

Index: d10v/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: erc32/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: h8300/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: h8500/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: i960/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: m32r/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: m68hc11/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_prepare_for_program, sim_open)
	(sim_create_inferior): Rename _bfd to bfd.

Index: mcore/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: mips/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_open): 
	(sim_create_inferior): 

Index: mn10200/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: mn10300/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_open, sim_create_inferior, sim_open)
	(sim_create_inferior): Rename _bfd to bfd.

Index: ppc/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: sh/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
	to bfd.

Index: v850/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: z8k/ChangeLog
2003-02-27  Andrew Cagney  <cagney at redhat dot com>

	* iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: arm/wrapper.c
===================================================================
RCS file: /cvs/src/src/sim/arm/wrapper.c,v
retrieving revision 1.23
diff -u -r1.23 wrapper.c
--- arm/wrapper.c	27 Sep 2002 23:57:50 -0000	1.23
+++ arm/wrapper.c	27 Feb 2003 23:18:47 -0000
@@ -204,7 +204,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, env)
      SIM_DESC sd ATTRIBUTE_UNUSED;
-     struct _bfd * abfd;
+     struct bfd * abfd;
      char ** argv;
      char ** env;
 {
@@ -610,7 +610,7 @@
 sim_open (kind, ptr, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *ptr;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   sim_kind = kind;
Index: common/nrun.c
===================================================================
RCS file: /cvs/src/src/sim/common/nrun.c,v
retrieving revision 1.2
diff -u -r1.2 nrun.c
--- common/nrun.c	27 Jul 2000 11:49:07 -0000	1.2
+++ common/nrun.c	27 Feb 2003 23:18:56 -0000
@@ -47,7 +47,7 @@
 {
   char *name;
   char **prog_argv = NULL;
-  struct _bfd *prog_bfd;
+  struct bfd *prog_bfd;
   enum sim_stop reason;
   int sigrc = 0;
   int single_step = 0;
Index: common/sim-base.h
===================================================================
RCS file: /cvs/src/src/sim/common/sim-base.h,v
retrieving revision 1.2
diff -u -r1.2 sim-base.h
--- common/sim-base.h	20 Feb 2003 14:37:59 -0000	1.2
+++ common/sim-base.h	27 Feb 2003 23:18:56 -0000
@@ -171,7 +171,7 @@
 #define STATE_PROG_ARGV(sd) ((sd)->base.prog_argv)
 
   /* The program's bfd.  */
-  struct _bfd *prog_bfd;
+  struct bfd *prog_bfd;
 #define STATE_PROG_BFD(sd) ((sd)->base.prog_bfd)
 
   /* Symbol table for prog_bfd */
Index: common/sim-hload.c
===================================================================
RCS file: /cvs/src/src/sim/common/sim-hload.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 sim-hload.c
--- common/sim-hload.c	12 Jul 1999 11:14:02 -0000	1.1.1.2
+++ common/sim-hload.c	27 Feb 2003 23:18:56 -0000
@@ -31,7 +31,7 @@
 sim_load (sd, prog_name, prog_bfd, from_tty)
      SIM_DESC sd;
      char *prog_name;
-     struct _bfd *prog_bfd;
+     struct bfd *prog_bfd;
      int from_tty;
 {
   bfd *result_bfd;
Index: common/sim-utils.h
===================================================================
RCS file: /cvs/src/src/sim/common/sim-utils.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sim-utils.h
--- common/sim-utils.h	16 Apr 1999 01:34:59 -0000	1.1.1.1
+++ common/sim-utils.h	27 Feb 2003 23:18:56 -0000
@@ -49,7 +49,7 @@
 /* Utilities for manipulating the load image.  */
 
 SIM_RC sim_analyze_program (SIM_DESC sd, char *prog_name,
-			    struct _bfd *prog_bfd);
+			    struct bfd *prog_bfd);
 
 /* Load program PROG into the simulator using the function DO_LOAD.
    If PROG_BFD is non-NULL, the file has already been opened.
@@ -65,10 +65,10 @@
 
 typedef int sim_write_fn PARAMS ((SIM_DESC sd, SIM_ADDR mem,
 				      unsigned char *buf, int length));
-struct _bfd *sim_load_file (SIM_DESC sd, const char *myname,
-			    host_callback *callback, char *prog,
-			    struct _bfd *prog_bfd, int verbose_p,
-			    int lma_p, sim_write_fn do_load);
+struct bfd *sim_load_file (SIM_DESC sd, const char *myname,
+			   host_callback *callback, char *prog,
+			   struct bfd *prog_bfd, int verbose_p,
+			   int lma_p, sim_write_fn do_load);
 
 /* Internal version of sim_do_command, include formatting */
 void sim_do_commandf (SIM_DESC sd, const char *fmt, ...);
Index: d10v/interp.c
===================================================================
RCS file: /cvs/src/src/sim/d10v/interp.c,v
retrieving revision 1.12
diff -u -r1.12 interp.c
--- d10v/interp.c	15 Jun 2002 11:01:34 -0000	1.12
+++ d10v/interp.c	27 Feb 2003 23:19:04 -0000
@@ -788,7 +788,7 @@
 sim_open (kind, callback, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *callback;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   struct simops *s;
@@ -1194,7 +1194,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {
Index: erc32/interf.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/interf.c,v
retrieving revision 1.2
diff -u -r1.2 interf.c
--- erc32/interf.c	9 Jun 2002 15:45:46 -0000	1.2
+++ erc32/interf.c	27 Feb 2003 23:19:04 -0000
@@ -184,7 +184,7 @@
 sim_open (kind, callback, abfd, argv)
      SIM_OPEN_KIND kind;
      struct host_callback_struct *callback;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
 
@@ -304,7 +304,7 @@
 SIM_RC
 sim_create_inferior(sd, abfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {
Index: h8300/compile.c
===================================================================
RCS file: /cvs/src/src/sim/h8300/compile.c,v
retrieving revision 1.22
diff -u -r1.22 compile.c
--- h8300/compile.c	5 Feb 2003 23:10:27 -0000	1.22
+++ h8300/compile.c	27 Feb 2003 23:19:05 -0000
@@ -2125,7 +2125,7 @@
 SIM_DESC
 sim_open (SIM_OPEN_KIND kind, 
 	  struct host_callback_struct *ptr, 
-	  struct _bfd *abfd, 
+	  struct bfd *abfd, 
 	  char **argv)
 {
   /* FIXME: Much of the code in sim_load can be moved here.  */
@@ -2228,7 +2228,7 @@
 }
 
 SIM_RC
-sim_create_inferior (SIM_DESC sd, struct _bfd *abfd, char **argv, char **env)
+sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env)
 {
   if (abfd != NULL)
     cpu.pc = bfd_get_start_address (abfd);
Index: h8500/compile.c
===================================================================
RCS file: /cvs/src/src/sim/h8500/compile.c,v
retrieving revision 1.2
diff -u -r1.2 compile.c
--- h8500/compile.c	9 Jun 2002 15:45:47 -0000	1.2
+++ h8500/compile.c	27 Feb 2003 23:19:11 -0000
@@ -2443,7 +2443,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   sim_kind = kind;
@@ -2484,7 +2484,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {
Index: i960/sim-if.c
===================================================================
RCS file: /cvs/src/src/sim/i960/sim-if.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 sim-if.c
--- i960/sim-if.c	26 Apr 1999 18:32:44 -0000	1.1.1.2
+++ i960/sim-if.c	27 Feb 2003 23:19:12 -0000
@@ -52,7 +52,7 @@
 sim_open (kind, callback, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *callback;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   char c;
@@ -178,7 +178,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, envp)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **envp;
 {
Index: m32r/sim-if.c
===================================================================
RCS file: /cvs/src/src/sim/m32r/sim-if.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 sim-if.c
--- m32r/sim-if.c	12 Oct 1999 04:37:53 -0000	1.1.1.3
+++ m32r/sim-if.c	27 Feb 2003 23:19:12 -0000
@@ -56,7 +56,7 @@
 sim_open (kind, callback, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *callback;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   SIM_DESC sd = sim_state_alloc (kind, callback);
@@ -199,7 +199,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, envp)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **envp;
 {
Index: m68hc11/interp.c
===================================================================
RCS file: /cvs/src/src/sim/m68hc11/interp.c,v
retrieving revision 1.13
diff -u -r1.13 interp.c
--- m68hc11/interp.c	13 Aug 2002 08:52:02 -0000	1.13
+++ m68hc11/interp.c	27 Feb 2003 23:19:12 -0000
@@ -295,7 +295,7 @@
 }
 
 static int
-sim_prepare_for_program (SIM_DESC sd, struct _bfd* abfd)
+sim_prepare_for_program (SIM_DESC sd, struct bfd* abfd)
 {
   sim_cpu *cpu;
 
@@ -341,7 +341,7 @@
 
 SIM_DESC
 sim_open (SIM_OPEN_KIND kind, host_callback *callback,
-          struct _bfd *abfd, char **argv)
+          struct bfd *abfd, char **argv)
 {
   SIM_DESC sd;
   sim_cpu *cpu;
@@ -486,7 +486,7 @@
 }
 
 SIM_RC
-sim_create_inferior (SIM_DESC sd, struct _bfd *abfd,
+sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
                      char **argv, char **env)
 {
   return sim_prepare_for_program (sd, abfd);
Index: mcore/interp.c
===================================================================
RCS file: /cvs/src/src/sim/mcore/interp.c,v
retrieving revision 1.5
diff -u -r1.5 interp.c
--- mcore/interp.c	9 Jun 2002 15:45:48 -0000	1.5
+++ mcore/interp.c	27 Feb 2003 23:19:13 -0000
@@ -1901,7 +1901,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback * cb;
-     struct _bfd * abfd;
+     struct bfd * abfd;
      char ** argv;
 {
   int osize = sim_memory_size;
@@ -2009,7 +2009,7 @@
 SIM_RC
 sim_create_inferior (sd, prog_bfd, argv, env)
      SIM_DESC sd;
-     struct _bfd * prog_bfd;
+     struct bfd * prog_bfd;
      char ** argv;
      char ** env;
 {
Index: mips/interp.c
===================================================================
RCS file: /cvs/src/src/sim/mips/interp.c,v
retrieving revision 1.17
diff -u -r1.17 interp.c
--- mips/interp.c	18 Jun 2002 21:32:15 -0000	1.17
+++ mips/interp.c	27 Feb 2003 23:19:18 -0000
@@ -326,7 +326,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   SIM_DESC sd = sim_state_alloc (kind, cb);
@@ -971,7 +971,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv,env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {
Index: mn10200/interp.c
===================================================================
RCS file: /cvs/src/src/sim/mn10200/interp.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 interp.c
--- mn10200/interp.c	26 Apr 1999 18:33:10 -0000	1.1.1.2
+++ mn10200/interp.c	27 Feb 2003 23:19:18 -0000
@@ -211,7 +211,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   struct simops *s;
@@ -717,7 +717,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {
Index: mn10300/interp.c
===================================================================
RCS file: /cvs/src/src/sim/mn10300/interp.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 interp.c
--- mn10300/interp.c	19 Jul 1999 23:30:02 -0000	1.1.1.3
+++ mn10300/interp.c	27 Feb 2003 23:19:31 -0000
@@ -312,7 +312,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   struct simops *s;
@@ -852,7 +852,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {
@@ -946,7 +946,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   SIM_DESC sd = sim_state_alloc (kind, cb);
@@ -1170,7 +1170,7 @@
 SIM_RC
 sim_create_inferior (sd, prog_bfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *prog_bfd;
+     struct bfd *prog_bfd;
      char **argv;
      char **env;
 {
Index: ppc/sim_calls.c
===================================================================
RCS file: /cvs/src/src/sim/ppc/sim_calls.c,v
retrieving revision 1.5
diff -u -r1.5 sim_calls.c
--- ppc/sim_calls.c	9 Jun 2002 15:45:51 -0000	1.5
+++ ppc/sim_calls.c	27 Feb 2003 23:19:36 -0000
@@ -85,7 +85,7 @@
 SIM_DESC
 sim_open (SIM_OPEN_KIND kind,
 	  host_callback *callback,
-	  struct _bfd *abfd,
+	  struct bfd *abfd,
 	  char **argv)
 {
   callbacks = callback;
@@ -244,7 +244,7 @@
 
 SIM_RC
 sim_create_inferior (SIM_DESC sd,
-		     struct _bfd *abfd,
+		     struct bfd *abfd,
 		     char **argv,
 		     char **envp)
 {
Index: sh/interp.c
===================================================================
RCS file: /cvs/src/src/sim/sh/interp.c,v
retrieving revision 1.8
diff -u -r1.8 interp.c
--- sh/interp.c	11 Oct 2002 15:31:28 -0000	1.8
+++ sh/interp.c	27 Feb 2003 23:19:38 -0000
@@ -1424,7 +1424,7 @@
 
 static void
 init_dsp (abfd)
-     struct _bfd *abfd;
+     struct bfd *abfd;
 {
   int was_dsp = target_dsp;
   unsigned long mach = bfd_get_mach (abfd);
@@ -2140,7 +2140,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   char **p;
@@ -2239,7 +2239,7 @@
 SIM_RC
 sim_create_inferior (sd, prog_bfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *prog_bfd;
+     struct bfd *prog_bfd;
      char **argv;
      char **env;
 {
Index: v850/interp.c
===================================================================
RCS file: /cvs/src/src/sim/v850/interp.c,v
retrieving revision 1.2
diff -u -r1.2 interp.c
--- v850/interp.c	19 Sep 2002 07:52:02 -0000	1.2
+++ v850/interp.c	27 Feb 2003 23:19:39 -0000
@@ -192,7 +192,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   SIM_DESC sd = sim_state_alloc (kind, cb);
@@ -297,7 +297,7 @@
 SIM_RC
 sim_create_inferior (sd, prog_bfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *prog_bfd;
+     struct bfd *prog_bfd;
      char **argv;
      char **env;
 {
Index: z8k/iface.c
===================================================================
RCS file: /cvs/src/src/sim/z8k/iface.c,v
retrieving revision 1.2
diff -u -r1.2 iface.c
--- z8k/iface.c	9 Jun 2002 15:45:54 -0000	1.2
+++ z8k/iface.c	27 Feb 2003 23:19:40 -0000
@@ -183,7 +183,7 @@
 sim_open (kind, cb, abfd, argv)
      SIM_OPEN_KIND kind;
      host_callback *cb;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
 {
   /* FIXME: The code in sim_load that determines the exact z8k arch
@@ -237,7 +237,7 @@
 SIM_RC
 sim_create_inferior (sd, abfd, argv, env)
      SIM_DESC sd;
-     struct _bfd *abfd;
+     struct bfd *abfd;
      char **argv;
      char **env;
 {

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