From Mark Salter, fix hw-breakpoint packet format.
This commit is contained in:
parent
81c425d115
commit
ad6525fcf5
@ -1,3 +1,10 @@
|
||||
Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
From 2000-10-27 Mark Salter <msalter@redhat.com>:
|
||||
* remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
|
||||
packet.
|
||||
(remote_insert_hw_breakpoint): Ditto.
|
||||
|
||||
2001-01-17 J.T. Conklin <jtc@redback.com>
|
||||
|
||||
* config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
|
||||
|
@ -4431,7 +4431,7 @@ remote_insert_hw_breakpoint (CORE_ADDR addr, int len)
|
||||
|
||||
addr = remote_address_masked (addr);
|
||||
p += hexnumstr (p, (ULONGEST) addr);
|
||||
*p = '\0';
|
||||
sprintf (p, ",%x", len);
|
||||
|
||||
putpkt (buf);
|
||||
getpkt (buf, PBUFSIZ, 0);
|
||||
@ -4467,7 +4467,7 @@ remote_remove_hw_breakpoint (CORE_ADDR addr, int len)
|
||||
|
||||
addr = remote_address_masked (addr);
|
||||
p += hexnumstr (p, (ULONGEST) addr);
|
||||
*p = '\0';
|
||||
sprintf (p, ",%x", len);
|
||||
|
||||
putpkt(buf);
|
||||
getpkt (buf, PBUFSIZ, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user