remote/2287: x86-linux-cross-x86 gdb (remote) chokes on hardware watchpoint

michael.snyder@access-company.com michael.snyder@access-company.com
Tue Jul 17 21:38:00 GMT 2007


>Number:         2287
>Category:       remote
>Synopsis:       x86-linux-cross-x86 gdb (remote) chokes on hardware watchpoint
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 17 21:38:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Snyder
>Release:        6.6
>Organization:
>Environment:
remote debugging x86 target from x86-linux host
>Description:
Set a hardware watchpoint, then continue.

GDB apparently sidesteps the target vector, and tries to 
use host mechanism to set the debug registers of the host
computer.  
>How-To-Repeat:
(x86-linux-gdb) target remote foo
(gdb) load testsuite/gdb.base/watchpoint
(gdb) break main
(gdb) continue
breakpoint 1 at main
(gdb) watch ivar3
(gdb) set debug remote 1
(gdb) continue
Continuing.
Sending packet: $m4000a20a,1#b2...Ack
Packet received: 55
Sending packet: $M4000a20a,1:cc#92...Ack
Packet received: OK
Sending packet: $m80497c4,4#70...Ack
Packet received: ffffffff
Couldn't write debug register: No such process.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list