forked from Imagelibrary/binutils-gdb
* remote.c (remote_wait): Convert warning to error before
parsing corrupt packets.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-04-07 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* remote.c (remote_wait): Convert warning to error before
|
||||
parsing corrupt packets.
|
||||
|
||||
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
|
||||
|
||||
* cli/cli-script.c (struct user_args): Add command field.
|
||||
|
||||
@@ -2741,9 +2741,9 @@ remote_wait (ptid_t ptid, struct target_waitstatus *status)
|
||||
{
|
||||
p1 = strchr (p, ':');
|
||||
if (p1 == NULL)
|
||||
warning (_("Malformed packet(a) (missing colon): %s\n\
|
||||
error (_("Malformed packet(a) (missing colon): %s\n\
|
||||
Packet: '%s'\n"),
|
||||
p, buf);
|
||||
p, buf);
|
||||
if (strncmp (p, "thread", p1 - p) == 0)
|
||||
{
|
||||
p_temp = unpack_varlen_hex (++p1, &thread_num);
|
||||
|
||||
Reference in New Issue
Block a user