Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nagender Telkar <ntelkar@gmail.com>
To: Atul Talesara <atul.talesara@nevisnetworks.com>
Cc: gdb@sources.redhat.com
Subject: Re: Adding backtrace to an arm-based on-target debugger
Date: Fri, 09 Jul 2004 00:59:00 -0000	[thread overview]
Message-ID: <3e59910004070817595b87eea5@mail.gmail.com> (raw)
In-Reply-To: <36993D449C7FA647BF43568E0793AB3E8C79F9@nevis_pune_xchg.pune.nevisnetworks.com>

Hi Atul,

The type of applications I am trying to debug using my arm-based stub
are compiled with arm-elf-gcc. But these applications make certain
system calls to an underlying module, which happens to be compiled
using armcc.

Another important point is that the application(compiled in
arm-elf-gcc) and the underlying module(compiled in armcc) make use of
the same stack.

So, when I do a "bt" on the gdb prompt, the gdb has to parse the stack
that contains symbols of both the arm-elf-gcc compiled code and the
arm-cc compiled code. Can the gdb do that?

Regarding the gdb documentation, I find only description of the
symbols(c, n, g etc) that are used but not the actual protocol or the
actual handshaking mechanism, that is, I want to know what happens
after you do a bt, s or a c on the gdb prompt. Is the series of
requests that the gdb makes to the stub documented?

Thanks in advance,
Nagender


On Thu, 8 Jul 2004 10:54:42 +0530, Atul Talesara
<atul.talesara@nevisnetworks.com> wrote:
> Thought this might help you ...
> http://www.embedded.com/1999/9911/9911feat3.htm
> 
> Regards,
> Atul P Talesara
> ----------------------------------------------------------
> Be not afraid of life. Believe that life is worth living,
> and your belief will help create the fact."
>                                            - Henry James
> ----------------------------------------------------------
> 
> -----Original Message-----
> From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]
> On Behalf Of Nagender Telkar
> Sent: Thursday, July 08, 2004 1:55 AM
> To: Ramana Radhakrishnan
> Cc: gdb@sources.redhat.com
> Subject: Re: Adding backtrace to an arm-based on-target debugger
>


       reply	other threads:[~2004-07-09  0:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <36993D449C7FA647BF43568E0793AB3E8C79F9@nevis_pune_xchg.pune.nevisnetworks.com>
2004-07-09  0:59 ` Nagender Telkar [this message]
2004-07-12 13:56 Atul Talesara
2004-07-12 11:11 ` Atul Talesara
  -- strict thread matches above, loose matches on Subject: below --
2004-07-08  5:26 Atul Talesara
2004-07-05  0:40 Nagender Telkar
2004-07-05  4:35 ` Ramana Radhakrishnan
2004-07-07 20:25   ` Nagender Telkar

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=3e59910004070817595b87eea5@mail.gmail.com \
    --to=ntelkar@gmail.com \
    --cc=atul.talesara@nevisnetworks.com \
    --cc=gdb@sources.redhat.com \
    /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