Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: paawan oza <paawan1982@yahoo.com>
To: gdb@sourceware.org
Cc: chandra krishnappa <chandra_roadking@yahoo.com>
Subject: Re: how to test arm-tdep.c (with cross compiled gdbserver)  using gdbserver ?
Date: Mon, 25 Jul 2011 03:56:00 -0000	[thread overview]
Message-ID: <1311566182.99397.YahooMailRC@web112507.mail.gq1.yahoo.com> (raw)
In-Reply-To: <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.


  reply	other threads:[~2011-07-25  3:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23  7:08 paawan oza
2011-07-25  3:56 ` paawan oza [this message]
2011-07-25  4:48   ` Yao Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311566182.99397.YahooMailRC@web112507.mail.gq1.yahoo.com \
    --to=paawan1982@yahoo.com \
    --cc=chandra_roadking@yahoo.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox