diff options
Diffstat (limited to 'gdb')
-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 (); |