|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] [ppc] handler() may not be supported and shou
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID bde996cddbbaea72c260b04fd6b95c5f43973f67
# Parent 50ef9c9c717c20eb5e7003459f9dd41dd783b0c2
[ppc] handler() may not be supported and should be communicated to gdb
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
tools/gpproxy/gdbremote.py | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff -r 50ef9c9c717c -r bde996cddbba tools/gpproxy/gdbremote.py
--- a/tools/gpproxy/gdbremote.py Thu Jul 13 11:26:51 2006 -0400
+++ b/tools/gpproxy/gdbremote.py Wed Jul 26 13:48:25 2006 -0400
@@ -338,16 +338,15 @@ class GDBRemoteHandler(SocketServer.Base
# dispatch to target's breakpoint handler
handler = getattr(self.target, "break_%s_%s" % (op, type), None)
- if not handler:
+ if handler:
+ try:
+ handler(addr)
+ except IOError, e:
+ pass # empty reply packet means "not supported"
+ else:
+ replypkt.payload = "OK"
+ else:
print "unsupported breakpoint type", type
- return False
-
- try:
- handler(addr)
- except IOError, e:
- pass # empty reply packet means "not supported"
- else:
- replypkt.payload = "OK"
self.ack()
return True
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [xenppc-unstable] [ppc] handler() may not be supported and should be communicated to gdb,
Xen patchbot-xenppc-unstable <=
|
|
|
|
|