forked from Imagelibrary/binutils-gdb
Fix gdb.base/memtag.exp failure
While running this test on an emulator, I noticed we're failing to match the output message when "memory-tag check" is issued with no arguments. That's because I coded the message using "error" and missed a period at the end. Other similar messages are issued with error_no_arg. This patch changes that call to use error_no_arg. Tested on aarch64-linux Ubuntu 20.04/22.04.
This commit is contained in:
@@ -3196,7 +3196,7 @@ memory_tag_check_command (const char *args, int from_tty)
|
|||||||
show_memory_tagging_unsupported ();
|
show_memory_tagging_unsupported ();
|
||||||
|
|
||||||
if (args == nullptr)
|
if (args == nullptr)
|
||||||
error (_("Argument required (address or pointer)"));
|
error_no_arg (_("address or pointer"));
|
||||||
|
|
||||||
/* Parse the expression into a value. If the value is an address or
|
/* Parse the expression into a value. If the value is an address or
|
||||||
pointer, then check its logical tag against the allocation tag. */
|
pointer, then check its logical tag against the allocation tag. */
|
||||||
|
|||||||
Reference in New Issue
Block a user