aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-z8k.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-02-04 17:24:10 +0000
committerSteve Chamberlain <sac@cygnus>1993-02-04 17:24:10 +0000
commitf48c6d1a87735b99ac34e3976c539373aaf3ffa8 (patch)
tree4ff4d8c548fefae6b93ddf78aa61c31a5e811737 /gdb/remote-z8k.c
parente856060f534f989411091ef536186739d68149fd (diff)
downloadgdb-f48c6d1a87735b99ac34e3976c539373aaf3ffa8.zip
gdb-f48c6d1a87735b99ac34e3976c539373aaf3ffa8.tar.gz
gdb-f48c6d1a87735b99ac34e3976c539373aaf3ffa8.tar.bz2
Path modification
Diffstat (limited to 'gdb/remote-z8k.c')
-rw-r--r--gdb/remote-z8k.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/gdb/remote-z8k.c b/gdb/remote-z8k.c
index 0edf022..ee3704e 100644
--- a/gdb/remote-z8k.c
+++ b/gdb/remote-z8k.c
@@ -1,5 +1,5 @@
/* Remote debugging interface for Zilog Z8000 simulator
- Copyright 1992 Free Software Foundation, Inc.
+ Copyright 1992,1993 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Steve Chamberlain
(sac@cygnus.com).
@@ -32,7 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "terminal.h"
#include "target.h"
#include "gdbcore.h"
-#include "../z8ksim/sim.h"
+#include "../../sim/sim.h"
/* External data declarations */
extern int stop_soon_quietly; /* for wait_for_inferior */
@@ -61,7 +61,9 @@ int regno;
if (regno == -1)
{
for (regno = 0; regno < 16; regno++)
- store_register(regno);
+ {
+ store_register(regno);
+ }
}
else
{
@@ -285,17 +287,11 @@ sim_xfer_inferior_memory(memaddr, myaddr, len, write, target)
void
sim_files_info ()
{
-char *file = "nothing";
-if (exec_bfd)
- file = bfd_get_filename(exec_bfd);
-
-if (exec_bfd)
-#ifdef __GO32__
- printf_filtered("\tAttached to DOS asynctsr and running program %s\n",file);
-#else
- printf_filtered("\tAttached to %s at %d baud and running program %s\n",file);
-#endif
- printf_filtered("\ton an H8/300 processor.\n");
+ char *file = "nothing";
+ if (exec_bfd)
+ file = bfd_get_filename(exec_bfd);
+
+ printf_filtered("\tAttached to %s running on the z8k simulator\n",file);
}
/* This routine is run as a hook, just before the main command loop is