From: Simon Marchi <simon.marchi@polymtl.ca>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org, Jerome Guitton <guitton@adacore.com>
Subject: Re: [RFA v2] arm-pikeos: software single step
Date: Mon, 10 Sep 2018 20:01:00 -0000 [thread overview]
Message-ID: <ce2c969d1a69d92fd8ef38c1625520d4@polymtl.ca> (raw)
In-Reply-To: <1536604744-3814-1-git-send-email-y>
(not sure why the From address is y@eu.adacore.com, I'll replace it with
Joel's).
> + symbol_table = (asymbol **) xmalloc (storage_needed);
> + make_cleanup (xfree, symbol_table);
It would make Tom really happy if you could avoid introducing a cleanup
:). I would suggest using an std::vector<asymbol *>. If you'd rather
not do it it's not a big deal, we can change it after.
> diff --git a/gdb/configure.tgt b/gdb/configure.tgt
> index 6d1a4df..a1f703f 100644
> --- a/gdb/configure.tgt
> +++ b/gdb/configure.tgt
> @@ -180,6 +180,7 @@ arm*-*-symbianelf*)
> ;;
> arm*-*-*)
> # Target: ARM embedded system
> + gdb_target_obs="arm-pikeos-tdep.o"
> gdb_sim=../sim/arm/libsim.a
> ;;
The object should be added to ALL_TARGETS_OBS in the Makefile, so it's
included in an enable-targets=all build.
Just to understand better why the object file needs to be added here,
what is the target triplet? arm-pikeos-something, arm-none-something?
Just wondering: when you connect to the target, you talk to a gdb stub
that is built right into the application/rtos?
Simon
next prev parent reply other threads:[~2018-09-10 20:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-10 15:13 [RFA] " Joel Brobecker
2018-09-10 17:28 ` Tom Tromey
2018-09-10 17:43 ` Joel Brobecker
2018-09-10 18:39 ` [RFA v2] " y
2018-09-10 20:01 ` Simon Marchi [this message]
2018-09-10 20:53 ` Tom Tromey
2018-09-11 8:56 ` Joel Brobecker
2018-09-11 9:58 ` Simon Marchi
2018-09-11 13:51 ` Joel Brobecker
2018-09-11 15:41 ` Tom Tromey
2018-09-11 21:17 ` Joel Brobecker
2018-09-14 0:47 ` Joel Brobecker
2018-09-14 10:57 ` Simon Marchi
2018-11-01 21:44 ` Joel Brobecker
2018-09-11 9:08 ` [RFA] " Pedro Alves
2018-09-11 11:04 ` Joel Brobecker
2018-09-11 11:27 ` Pedro Alves
2018-09-11 20:57 ` Joel Brobecker
2018-09-12 13:22 ` Pedro Alves
2018-09-14 0:38 ` Joel Brobecker
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=ce2c969d1a69d92fd8ef38c1625520d4@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=guitton@adacore.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