This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] remote protocol support for harvard architecture
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [PATCH] remote protocol support for harvard architecture
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 15 Feb 2001 18:05:08 -0500
- Cc: gdb-patches at sources dot redhat dot com, taylor at redhat dot com, cagney at redhat dot com
- References: <3A8C5A2A.7808464E@cygnus.com>
Michael Snyder wrote:
>
> I'll check this in in a day or two.
Ok, it definitly won't affect existing targets.
Andrew
> ------------------------------------------------------------------------
> 2001-02-15 Michael Snyder <msnyder@mvstp600e.cygnus.com>
>
> * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
> instead of TARGET_PTR_BIT (to support Harvard architectures).
>
> Index: remote.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/remote.c,v
> retrieving revision 1.38
> diff -c -3 -p -r1.38 remote.c
> *** remote.c 2001/02/08 06:03:53 1.38
> --- remote.c 2001/02/15 22:35:26
> *************** build_remote_gdbarch_data (void)
> *** 5516,5522 ****
>
> /* Cisco stuff */
> tty_input = xmalloc (PBUFSIZ);
> ! remote_address_size = TARGET_PTR_BIT;
> }
>
> void
> --- 5516,5522 ----
>
> /* Cisco stuff */
> tty_input = xmalloc (PBUFSIZ);
> ! remote_address_size = TARGET_ADDR_BIT;
> }
>
> void