]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2009-07-22 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Wed, 22 Jul 2009 05:31:26 +0000 (05:31 +0000)
committerHui Zhu <teawater@gmail.com>
Wed, 22 Jul 2009 05:31:26 +0000 (05:31 +0000)
* record.c (record_xfer_partial): Call error When nquery
return "n".

gdb/ChangeLog
gdb/record.c

index 2d072c189af820d4a576092174de3889783d1a1d..f63fab7bb176c5ad3a6ead93bb6261ace3e6afbb 100644 (file)
@@ -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.
index 1aa412f0faadb3f64c70b6750ced2e1826608dad..85e75a09ca281e373e4b8bda7fb2a8509d61b503 100644 (file)
@@ -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 ();