summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/record.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2d072c189af..f63fab7bb17 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-22 Hui Zhu <teawater@gmail.com>
+
+ * record.c (record_xfer_partial): Call error When nquery
+ return "n".
+
2009-07-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.c (objfiles_updated_p): New variable.
diff --git a/gdb/record.c b/gdb/record.c
index 1aa412f0faa..85e75a09ca2 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -997,7 +997,7 @@ record_xfer_partial (struct target_ops *ops, enum target_object object,
"will make the execution log unusable from this "
"point onward. Write memory at address %s?"),
paddress (target_gdbarch, offset)))
- return -1;
+ error (_("Process record canceled the operation."));
/* Destroy the record from here forward. */
record_list_release_next ();