From 9a9dc473d39e49f68831872db45e427bc2feebd1 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Wed, 22 Jul 2009 05:31:26 +0000 Subject: [PATCH] 2009-07-22 Hui Zhu * record.c (record_xfer_partial): Call error When nquery return "n". --- gdb/ChangeLog | 5 +++++ gdb/record.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * record.c (record_xfer_partial): Call error When nquery + return "n". + 2009-07-21 Paul Pluzhnikov * 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 (); -- 2.30.2