This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [RFC] New GDB Port CR16


Hi,
Thanks for looking at the patch.

> I didn't see a gdbserver port in the patch.
Yes, that is correct. We do have a gdbserver port ready in the pipeline. 
I plan to post that later along with a tdep file customized for uclinux
platform. The current cr16-tdep.c works well with the existing simulator.

I have another cr16-tdep.c file (might call it cr16-linux-tdep.c) that would 
work with the kernel port. They have slightly different register set and use 
different breakpoint instruction. I am still not sure how to go about that part.

Right now, as per Mike's suggestion I will get the sim related changes approved
and checked in, then go step by step from there.

Best Regards,
Kaushik
KPIT Cummins Infosystems Ltd
www.kpitcummins.com

-----Original Message-----
From: Pedro Alves [mailto:palves@redhat.com] 
Sent: 28 August 2012 20:59
To: Kaushik Phatak
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] New GDB Port CR16

On 08/27/2012 07:36 AM, Kaushik Phatak wrote:
> +cr16*-*-*)
> +	# Target: CR16 processor
> +	gdb_target_obs="cr16-tdep.o"
> +	gdb_sim=../sim/cr16/libsim.a
> +	build_gdbserver=yes

I didn't see a gdbserver port in the patch.  In any case, setting "build_gdbserver" means
that on a native cr16 gdb build, the build system will descend into gdbserver, and build
it as well, automatically.  I don't think you'll be able to gdb build natively on
cr16 (at least with this patch set).

> +	;;
> +
>  cris*)
-- 
Pedro Alves



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]