This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Shared memory target
- To: gdb at sources dot redhat dot com
- Subject: Shared memory target
- From: Carl van Schaik <carl at openfuel dot com>
- Date: Tue, 04 Sep 2001 17:10:56 +0200
- Organization: University of Cape Town
- References: <E15eHoX-0000VJ-00@hyperion>
Hi
I have a 64-bit MIPS processor card that I designed that
interfaces on a standard PC PCI bus.
I can talk to the card through linux drivers that
I have written can can memory map the card
to user space over witht he filesystem mmap method.
This allows me to read/write the flash, uart,
sdram, system controller and run/reset the CPU
in real-time across the bus from the host.
This would allow for programs like gdb to have a
huge advantage over standard remote protocols
as it can get free, real-time access to
any memory location and have full control of
the CPU.
Has anyone ever tried to get gdb to debug a "remote"
target that is "not so remote"? (shared memory target?)
thanks
Carl
--
Carl van Schaik, <carl@openfuel.com> | Tel +27 21 650-3467
Electrical Engineering | Fax +27 21 650-4305
OpenFuel Pty Ltd.