mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* record.c (record_open, record_store_registers, record_xfer_partial):
Replace calls to nquery by calls to query.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-09-23 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* record.c (record_open, record_store_registers, record_xfer_partial):
|
||||||
|
Replace calls to nquery by calls to query.
|
||||||
|
|
||||||
2009-09-23 John Wright <john.wright@hp.com>
|
2009-09-23 John Wright <john.wright@hp.com>
|
||||||
|
|
||||||
PR gdb/10684:
|
PR gdb/10684:
|
||||||
|
22
gdb/record.c
22
gdb/record.c
@ -497,7 +497,7 @@ record_open (char *name, int from_tty)
|
|||||||
/* Check if record target is already running. */
|
/* Check if record target is already running. */
|
||||||
if (current_target.to_stratum == record_stratum)
|
if (current_target.to_stratum == record_stratum)
|
||||||
{
|
{
|
||||||
if (!nquery
|
if (!query
|
||||||
(_("Process record target already running, do you want to delete "
|
(_("Process record target already running, do you want to delete "
|
||||||
"the old record log?")))
|
"the old record log?")))
|
||||||
return;
|
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. */
|
/* Let user choose if he wants to write register or not. */
|
||||||
if (regno < 0)
|
if (regno < 0)
|
||||||
n =
|
n =
|
||||||
nquery (_("Because GDB is in replay mode, changing the "
|
query (_("Because GDB is in replay mode, changing the "
|
||||||
"value of a register will make the execution "
|
"value of a register will make the execution "
|
||||||
"log unusable from this point onward. "
|
"log unusable from this point onward. "
|
||||||
"Change all registers?"));
|
"Change all registers?"));
|
||||||
else
|
else
|
||||||
n =
|
n =
|
||||||
nquery (_("Because GDB is in replay mode, changing the value "
|
query (_("Because GDB is in replay mode, changing the value "
|
||||||
"of a register will make the execution log unusable "
|
"of a register will make the execution log unusable "
|
||||||
"from this point onward. Change register %s?"),
|
"from this point onward. Change register %s?"),
|
||||||
gdbarch_register_name (get_regcache_arch (regcache),
|
gdbarch_register_name (get_regcache_arch (regcache),
|
||||||
regno));
|
regno));
|
||||||
|
|
||||||
@ -1085,9 +1085,9 @@ record_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||||||
if (RECORD_IS_REPLAY)
|
if (RECORD_IS_REPLAY)
|
||||||
{
|
{
|
||||||
/* Let user choose if he wants to write memory or not. */
|
/* Let user choose if he wants to write memory or not. */
|
||||||
if (!nquery (_("Because GDB is in replay mode, writing to memory "
|
if (!query (_("Because GDB is in replay mode, writing to memory "
|
||||||
"will make the execution log unusable from this "
|
"will make the execution log unusable from this "
|
||||||
"point onward. Write memory at address %s?"),
|
"point onward. Write memory at address %s?"),
|
||||||
paddress (target_gdbarch, offset)))
|
paddress (target_gdbarch, offset)))
|
||||||
error (_("Process record canceled the operation."));
|
error (_("Process record canceled the operation."));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user