public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: jack droptop <jackdroptop@gmail.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Reloading an executable when it changes.
Date: Thu, 14 Apr 2022 16:45:20 +0100	[thread overview]
Message-ID: <1BBBBD4E-CD85-494B-9B36-C731CC75510F@getmailspring.com> (raw)


Hi everyone,
I've got a setup with gdb running on host machine, an arm board running gdbserver, and a serial line connecting the two. I'm able to remote debug over the serial line.
My goal after compiling and deploying a program (over uMTP) to the board , is to have gdbserver in conjunction with the gdb client, automatically relaunch the debug session if the executable of current program being traced just changed. For now I use the file + run combo in the client console. Is this something gdb can do? Or am I being to wishful..
Sincerely,
Brandon

                 reply	other threads:[~2022-04-14 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1BBBBD4E-CD85-494B-9B36-C731CC75510F@getmailspring.com \
    --to=jackdroptop@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).