Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: John Baldwin <jhb@FreeBSD.org>
To: echo <mxmxmx0429@qq.com>, gdb <gdb@sourceware.org>
Subject: Re: How to debug "in application programming" embedded software
Date: Mon, 9 Mar 2020 13:49:51 -0700	[thread overview]
Message-ID: <c68fa63b-363e-4e09-8db5-64dbfa7f4a89@FreeBSD.org> (raw)
In-Reply-To: <tencent_DAB0F3B7126563D7A6D502F290BF9E251306@qq.com>

On 3/9/20 2:41 AM, echo wrote:
> There's two programs in the flash, one boots the other one. How can I debug both programs (boot and app)? I can load both programs into flash, but I don't know how to debug both of them. Could you give me some hints?

You can use add-symbol-file to load symbols for additional files.

-- 
John Baldwin


      reply	other threads:[~2020-03-09 20:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09  9:41 echo
2020-03-09 20:49 ` John Baldwin [this message]

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=c68fa63b-363e-4e09-8db5-64dbfa7f4a89@FreeBSD.org \
    --to=jhb@freebsd.org \
    --cc=gdb@sourceware.org \
    --cc=mxmxmx0429@qq.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