aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-sim.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-01-23 19:45:12 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-01-23 19:45:12 +0000
commitf29d9b6d302bcf6ec42feb3a3bdbabe534177258 (patch)
treee8ddca4ae25ea1472aeb05ee45155b2708318e6c /gdb/gdbserver/low-sim.c
parent329de8034380c56e873a54c9f5f28b9fe3f939c7 (diff)
downloadgdb-f29d9b6d302bcf6ec42feb3a3bdbabe534177258.zip
gdb-f29d9b6d302bcf6ec42feb3a3bdbabe534177258.tar.gz
gdb-f29d9b6d302bcf6ec42feb3a3bdbabe534177258.tar.bz2
* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
* config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise. * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise. * gdbserver/low-sim.c (#include "defs.h"): Removed. (mygeneric_load): Rename from generic_load. * gdbserver/low-hppabsd.c (#include "server.h"): Added. (#include "defs.h"): Removed. (inferior_pid, perror_with_name): Remove declarations. * gdbserver/low-linux.c: Likewise. * gdbserver/low-nbsd.c: Likewise. * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. * i386-stub.c: Re-indent. * m68k-stub.c: Re-indent.
Diffstat (limited to 'gdb/gdbserver/low-sim.c')
-rw-r--r--gdb/gdbserver/low-sim.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/gdbserver/low-sim.c b/gdb/gdbserver/low-sim.c
index a0a9aa6..d82aad1 100644
--- a/gdb/gdbserver/low-sim.c
+++ b/gdb/gdbserver/low-sim.c
@@ -18,9 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "defs.h"
-#include "bfd.h"
#include "server.h"
+#include "bfd.h"
#include "callback.h" /* GDB simulator callback interface */
#include "remote-sim.h" /* GDB simulator interface */
@@ -41,7 +40,7 @@ static SIM_DESC gdbsim_desc = 0;
does not support loading itself. */
static void
-generic_load (bfd *loadfile_bfd)
+mygeneric_load (bfd *loadfile_bfd)
{
asection *s;
@@ -131,7 +130,7 @@ create_inferior (char *program, char **argv)
/* Load the program into the simulator. */
if (abfd)
if (sim_load (gdbsim_desc, program, NULL, 0) == SIM_RC_FAIL)
- generic_load (abfd);
+ mygeneric_load (abfd);
/* Create an inferior process in the simulator. This initializes SP. */
sim_create_inferior (gdbsim_desc, abfd, argv, /* env */ NULL);