gdb/remote: remove an out of date comment

A comment above an `if` check was accidentally left in place after
this commit:

  commit ddb3f3d89c
  Date:   Tue Mar 19 12:34:34 2024 +0100

      Add "error_message+" feature to qSupported

The comment relates to how 'E.msg' style remote replies are not
supported by every packet, but after the above commit they are
supported in all cases (that call packet_check_result), and the
comment should have been removed.
This commit is contained in:
Andrew Burgess
2024-07-22 16:37:08 +01:00
parent 6fc24c7607
commit 40578beee8

View File

@@ -2532,9 +2532,6 @@ packet_check_result (const char *buf)
/* "Enn" - definitely an error. */
return packet_result::make_numeric_error (buf + 1);
/* Not every request accepts an error in a E.msg form.
Some packets accepts only Enn, in this case E. is not
defined and E. is treated as PACKET_OK. */
/* Always treat "E." as an error. This will be used for
more verbose error messages, such as E.memtypes. */
if (buf[0] == 'E' && buf[1] == '.')