This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: how to test arm-tdep.c (with cross compiled gdbserver) using gdbserver ?
- From: paawan oza <paawan1982 at yahoo dot com>
- To: gdb at sourceware dot org
- Cc: chandra krishnappa <chandra_roadking at yahoo dot com>
- Date: Sun, 24 Jul 2011 20:56:22 -0700 (PDT)
- Subject: Re: how to test arm-tdep.c (with cross compiled gdbserver) using gdbserver ?
- References: <1311404891.92561.YahooMailRC@web112503.mail.gq1.yahoo.com>
Hi,
I have done following, and with that should be able to test arm-reversible
stuffs with gdbserver.
> ./configure --target=arm-linux <which will compile gdb for x86 takes arm
>dependent code into build>
> make
> cd gdb
> cd gdbserver
> ./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
<above will preparegbserver for target, whihc could be later copied to arm
board>
there are other targets such as arm-eabi, arm-elf.
but I am using arm-linux, hope thats ok and it works.
Regards,
Oza.
----- Original Message ----
From: paawan oza <paawan1982@yahoo.com>
To: gdb@sourceware.org
Cc: chandra krishnappa <chandra_roadking@yahoo.com>
Sent: Sat, July 23, 2011 11:38:11 AM
Subject: how to test arm-tdep.c (with cross compiled gdbserver) using gdbserver
?
Hi all,
suppose some changes are done in arm.-tdep.c (not linux related changes, but
bare metal changes)
this is regarding reversible-debugging.
now, is it possible that I cross compile gdbserver for arm and put it on target.
then; have tcl/expect tests things running on x86 which remotely connects to
gdbserver ?
will that test i386-tdep.c reversible ?
but I am not sure how do we get arm-tdep.c into picture from host ?
Regards,
Oza.