aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-01-28 01:32:10 +0000
committerStan Shebs <shebs@codesourcery.com>1995-01-28 01:32:10 +0000
commit0d2d841287e788f55da0adbc53d0ab20cab6bb45 (patch)
tree837d2dbbd48fefe70a75e6ca67f4532b6f4f693e /gdb/remote.c
parent06c41b39c260f4c22c1b7d986dbf9cee64e4a068 (diff)
downloadgdb-0d2d841287e788f55da0adbc53d0ab20cab6bb45.zip
gdb-0d2d841287e788f55da0adbc53d0ab20cab6bb45.tar.gz
gdb-0d2d841287e788f55da0adbc53d0ab20cab6bb45.tar.bz2
* convex-tdep.c (xfer_core_file): Comment out.
* config/convex/tm-convex.h (XFER_CORE_FILE): Remove. * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file references to target_read_memory. * gdbcore.h (xfer_core_file, core_open, core_detach): Remove declarations. * corelow.c (core_open, core_detach): Make static.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 7349305..4320bd2 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -756,7 +756,7 @@ Packet: '%s'\n",
last_sent_signal = TARGET_SIGNAL_0;
target_terminal_inferior ();
- strcpy (buf, last_sent_step ? 's' : 'c');
+ strcpy (buf, last_sent_step ? "s" : "c");
putpkt (buf);
continue;
}
@@ -944,7 +944,7 @@ remote_fetch_word (addr)
if (addr >= text_start && addr < text_end)
{
int buffer;
- xfer_core_file (addr, &buffer, sizeof (int));
+ target_read_memory (addr, &buffer, sizeof (int));
return buffer;
}
}