Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* testing GDB with the simulator
@ 2008-02-04 20:44 Joel Brobecker
  2008-02-05  9:39 ` Michael Snyder
  2008-02-05 13:21 ` Daniel Jacobowitz
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Brobecker @ 2008-02-04 20:44 UTC (permalink / raw)
  To: gdb

Hello,

Is there a way to run the GDB testsuite on the GDB simulator?
Perhaps with a specific board file, as explained in the GDB Wiki
for testing with the gdbserver? I just did some powerpc-specific
work, and had to test it on ppc-aix, which is extremely slow
with the machines that AdaCore has. I think I could save quite
a bit of time if I could do the testing on the powerpc simulator
and the powerpc-elf target. If possible, I'll be happy to contribute
a Wiki page for it.

Thanks,
-- 
Joel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: testing GDB with the simulator
  2008-02-04 20:44 testing GDB with the simulator Joel Brobecker
@ 2008-02-05  9:39 ` Michael Snyder
  2008-02-05 13:21 ` Daniel Jacobowitz
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2008-02-05  9:39 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

On Mon, 2008-02-04 at 12:43 -0800, Joel Brobecker wrote:
> Hello,
> 
> Is there a way to run the GDB testsuite on the GDB simulator?
> Perhaps with a specific board file, as explained in the GDB Wiki
> for testing with the gdbserver? I just did some powerpc-specific
> work, and had to test it on ppc-aix, which is extremely slow
> with the machines that AdaCore has. I think I could save quite
> a bit of time if I could do the testing on the powerpc simulator
> and the powerpc-elf target. If possible, I'll be happy to contribute
> a Wiki page for it.

Of course -- but I'm not sure I remember specifically....

In gdb/testsuite/config I see sim.exp and sid.exp

In /usr/share/dejagnu/baseboards I see many *-sim.exp 
baseboard description files including powerpc-sim and 
powerpcle-sim.

As well, I see /usr/share/dejagnu/config/sim.exp

Hope these get you somewhere close to the answer...

Michael




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: testing GDB with the simulator
  2008-02-04 20:44 testing GDB with the simulator Joel Brobecker
  2008-02-05  9:39 ` Michael Snyder
@ 2008-02-05 13:21 ` Daniel Jacobowitz
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-02-05 13:21 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

On Mon, Feb 04, 2008 at 12:43:47PM -0800, Joel Brobecker wrote:
> Hello,
> 
> Is there a way to run the GDB testsuite on the GDB simulator?
> Perhaps with a specific board file, as explained in the GDB Wiki
> for testing with the gdbserver? I just did some powerpc-specific
> work, and had to test it on ppc-aix, which is extremely slow
> with the machines that AdaCore has. I think I could save quite
> a bit of time if I could do the testing on the powerpc simulator
> and the powerpc-elf target. If possible, I'll be happy to contribute
> a Wiki page for it.

Take a look at this:
  http://gcc.gnu.org/simtest-howto.html

The page is stale, so some of those targets won't work.  But the same
instructions should generally work for GDB once you have a toolchain.
mips-elf, powerpc-eabisim, and arm-eabi are the most common targets
with working simulators.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-05 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04 20:44 testing GDB with the simulator Joel Brobecker
2008-02-05  9:39 ` Michael Snyder
2008-02-05 13:21 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox