[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem about reading/writing registers to let gdb support WDB agent on
From: |
WANG KING |
Subject: |
Problem about reading/writing registers to let gdb support WDB agent on i386-vxw |
Date: |
Wed, 02 Jun 2004 17:41:58 +0800 |
Hi,
Recently I want to let gdb5.0 debug the application on i386-vxworks
target platform,with gdb communicating with vxworks's wdb agent.Now I have
a patch "gdb-5.0-wdbpatch-1.1" for gdb5.0,which support powerpc-vxworks
with wdb agent,Please read details at
http://www.slac.stanford.edu/~strauman/gdb/index.html.After I imitate the
file remote-vxppc.c's read/write register functions ,by adding a file
remote-vxi386.c,I can generate gdb5.0 for i386-wrs-vxworks.I have read
pc,esp,ebp registers.But I think I don't know whether the read/write
register functions are right.Gdb export the error like this:
(vxgdb) run myproc
Starting program: D:/cygwin/tillRdb_1_0/test.o myproc
Allocating 0x4e20 bytes of stack on target
Using priority 100
Task options 0x0
Segmentation fault (core dumped)
I don't know how to resolve it.Can you give me some idea about which
register should be read/write when implementing the file remote-vxi386.c?
Or tell me where to find gdb source code's program structure?
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
- Problem about reading/writing registers to let gdb support WDB agent on i386-vxw,
WANG KING <=