From: Joel Brobecker Date: Thu, 24 Sep 2009 17:58:04 +0000 (+0000) Subject: * record.c (record_open, record_store_registers, record_xfer_partial): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=604ad007ee6bb6479e54e3b3f35a4e7c03c7e27a;p=binutils-gdb.git * record.c (record_open, record_store_registers, record_xfer_partial): Replace calls to nquery by calls to query. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c59f023cccf..303789cbe55 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-09-23 Joel Brobecker + + * record.c (record_open, record_store_registers, record_xfer_partial): + Replace calls to nquery by calls to query. + 2009-09-23 John Wright PR gdb/10684: diff --git a/gdb/record.c b/gdb/record.c index 8ad5bf8c742..c675e344450 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -497,7 +497,7 @@ record_open (char *name, int from_tty) /* Check if record target is already running. */ if (current_target.to_stratum == record_stratum) { - if (!nquery + if (!query (_("Process record target already running, do you want to delete " "the old record log?"))) return; @@ -1029,15 +1029,15 @@ record_store_registers (struct target_ops *ops, struct regcache *regcache, /* Let user choose if he wants to write register or not. */ if (regno < 0) n = - nquery (_("Because GDB is in replay mode, changing the " - "value of a register will make the execution " - "log unusable from this point onward. " - "Change all registers?")); + query (_("Because GDB is in replay mode, changing the " + "value of a register will make the execution " + "log unusable from this point onward. " + "Change all registers?")); else n = - nquery (_("Because GDB is in replay mode, changing the value " - "of a register will make the execution log unusable " - "from this point onward. Change register %s?"), + query (_("Because GDB is in replay mode, changing the value " + "of a register will make the execution log unusable " + "from this point onward. Change register %s?"), gdbarch_register_name (get_regcache_arch (regcache), regno)); @@ -1085,9 +1085,9 @@ record_xfer_partial (struct target_ops *ops, enum target_object object, if (RECORD_IS_REPLAY) { /* Let user choose if he wants to write memory or not. */ - if (!nquery (_("Because GDB is in replay mode, writing to memory " - "will make the execution log unusable from this " - "point onward. Write memory at address %s?"), + if (!query (_("Because GDB is in replay mode, writing to memory " + "will make the execution log unusable from this " + "point onward. Write memory at address %s?"), paddress (target_gdbarch, offset))) error (_("Process record canceled the operation."));