diff options
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r-- | gdb/corefile.c | 4 |
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 |