This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB: Add microblaze-*-rtems*
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: joel dot sherrill at oarcorp dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 8 May 2012 15:54:14 +0200 (CEST)
- Subject: Re: GDB: Add microblaze-*-rtems*
- References: <4FA92012.7020905@oarcorp.com>
> Date: Tue, 8 May 2012 08:30:58 -0500
> From: Joel Sherrill <joel.sherrill@oarcorp.com>
>
> OK to apply?
>
> 2012-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * configure.tgt (microblaze*-*-rtems*): New target.
Eh, this diff is pretty much pointless isn't it? It seems that from
GDB's viewpoint, RTEMS is effectively "bare metal". I could live with
changing the comment if you think "running standalone" isn't accurate
enough, but I don't think we should add redundant patterns like this.
> Index: gdb/configure.tgt
> ===================================================================
> RCS file: /cvs/src/src/gdb/configure.tgt,v
> retrieving revision 1.253
> diff -u -r1.253 configure.tgt
> --- gdb/configure.tgt 24 Apr 2012 03:33:16 -0000 1.253
> +++ gdb/configure.tgt 7 May 2012 20:15:54 -0000
> @@ -331,8 +331,8 @@
> monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o"
> gdb_sim=../sim/microblaze/libsim.a
> ;;
> -microblaze*-*-*)
> - # Target: Xilinx MicroBlaze running standalone
> +microblaze*-*-* | microblaze*-*-rtems*)
> + # Target: Xilinx MicroBlaze running standalone (or RTEMS)
> gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
> gdb_sim=../sim/microblaze/libsim.a
> ;;