Don't call QUIT in read_string
read_string does not need to call QUIT, because target_read_memory already does. This change is needed to make string-reading usable by gdbserver.
This commit is contained in:
parent
a69599e68b
commit
94ea6ddb94
1 changed files with 0 additions and 3 deletions
|
@ -2096,7 +2096,6 @@ read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit,
|
|||
|
||||
do
|
||||
{
|
||||
QUIT;
|
||||
nfetch = std::min ((unsigned long) chunksize, fetchlimit - bufsize);
|
||||
|
||||
if (*buffer == NULL)
|
||||
|
@ -2152,8 +2151,6 @@ read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit,
|
|||
consider part of the string (including a '\0' which ends the string). */
|
||||
*bytes_read = bufptr - buffer->get ();
|
||||
|
||||
QUIT;
|
||||
|
||||
return errcode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue