This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Questions on GDB
Hello,
I am using gdb 4.18 with wiggler for mpc8xx on a win nt hosted system. I
am using cygwin tools and cross compiler for powerpc-eabi target.
I am able to connect to the target but unable to modify the registers.
When i try to set the processor for 860 my info registers command fails as
following
"read_bdm_registers : sr0 Invalid CPU register access attempt failed"
I see people taking about 'ocd reg' command for modifying the special
purpose. But this is not availabe in gdb 4.18. Is there a patch for it
somewhere?
Regards,
Alagu
Will Lentz wrote:
> Hi Pete,
>
> For a remote PPC target (through rproxy), I use:
> file xyz.elf
> target remote ip.addr:port
> load
> run
>
> It's really cool that you ported the Macraigor DLL to Linux! I
> think more people would use the Wiggler if your port was made
> available :-).
>
> Will
>
> > -----Original Message-----
> > From: Peter Reilley [mailto:micrio@mv.com]
> > Sent: Thursday, June 01, 2000 2:24 PM
> > To: gdb@sourceware.cygnus.com
> > Subject: Questions on GDB
> >
> >
> > I have a few questions on the operation of GDB with the Wiggler
> > and a PowerPC target.
> >
> > I have ported the Macraigor DLL from MS Windows to Linux and
> > am attempting to get GDB working. I can read and write registers
> > and memory in the PPC target. I have a small test program that
> > I compiled with GCC configured as a cross compiler for the PPC.
> > I can use the "load" command and have the binary load properly
> > in the target memory. I can use the "symbol-file" command to
> > load the symbols. The "file" command will load the binary but
> > it seems to have a base address in the host and not the target.
> > The "run" and "step" commands do not seem to work.
> >
> > Anyway, what are the commands that you used to load and execute
> > a binary in a target under Windows. The documentation that I found
> > on the internet is conflicting.
> >
> > Thanks,
> > Pete.
> >
> >
> >
> >
> >
begin:vcard
n:Vellaichamy;Alagu Sankar
tel;fax:408 287 8071
tel;home:408 247 2174
tel;work:408 287 8070
x-mozilla-html:TRUE
url:www.realnetsi.com
org:RealNet Solutions Inc;Engineering - Software
version:2.1
email;internet:alagu@nettaxi.com
title:Senior Staff Engineer
adr;quoted-printable:;;12 South 1st Street, # 204=0D=0A;San Jose;CA;95113;USA
fn:Alagu Sankar
end:vcard