diff options
author | Hui Zhu <teawater@gmail.com> | 2009-07-22 05:31:26 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-07-22 05:31:26 +0000 |
commit | 9a9dc473d39e49f68831872db45e427bc2feebd1 (patch) | |
tree | b95f17eddaeb39f911ae4656337e4fdca6fde5a8 | |
parent | fd685944ea0f5489c178e1f3c3093d8b433a59f1 (diff) | |
download | gdb-9a9dc473d39e49f68831872db45e427bc2feebd1.zip gdb-9a9dc473d39e49f68831872db45e427bc2feebd1.tar.gz gdb-9a9dc473d39e49f68831872db45e427bc2feebd1.tar.bz2 |
2009-07-22 Hui Zhu <teawater@gmail.com>
* record.c (record_xfer_partial): Call error When nquery
return "n".
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/record.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2d072c1..f63fab7 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 1aa412f..85e75a0 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 (); |