summaryrefslogtreecommitdiff
path: root/gdb/corefile.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-11-17 02:31:06 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-11-17 02:31:06 +0000
commite49ad2d1d5b90c08b47a628a1e68c591029a5a15 (patch)
tree9114b63ccfe6a79e820431e18c8de6f6d8dbc54d /gdb/corefile.c
parent5eae3750b9c334b4674593e17df0ac7a09b53ca0 (diff)
downloadgdb-e49ad2d1d5b90c08b47a628a1e68c591029a5a15.tar.gz
import gdb-1999-11-16 snapshot
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r--gdb/corefile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 3a5ef9aa340..f41cc55b66e 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -236,11 +236,9 @@ memory_error (status, memaddr)
int status;
CORE_ADDR memaddr;
{
- GDB_FILE *tmp_stream = tui_sfileopen (130);
+ struct gdb_file *tmp_stream = mem_fileopen ();
make_cleanup_gdb_file_delete (tmp_stream);
- error_begin ();
-
if (status == EIO)
{
/* Actually, address between memaddr and memaddr + len