This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: xtensa: fix on 64 bit hosts
- From: Baruch Siach <baruch at tkos dot co dot il>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 Jan 2014 06:48:36 +0200
- Subject: Re: [PATCH] gdb: xtensa: fix on 64 bit hosts
- Authentication-results: sourceware.org; auth=none
- References: <db6eeeae015d93276f85b4323903afb804cb255d dot 1389877349 dot git dot baruch at tkos dot co dot il> <52D80DC6 dot 5030703 at redhat dot com>
Hi Pedro,
On Thu, Jan 16, 2014 at 04:50:14PM +0000, Pedro Alves wrote:
> On 01/16/2014 01:02 PM, Baruch Siach wrote:
> > On 64 bit hosts unsigned long is 64 bit. Use uint32_t instead.
> >
> > * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t
>
> Missing period.
>
> OK (and obvious).
Should I resend?
baruch
> > ---
> > gdb/xtensa-tdep.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h
> > index 968b9d2916b7..d7ba5628e42a 100644
> > --- a/gdb/xtensa-tdep.h
> > +++ b/gdb/xtensa-tdep.h
> > @@ -84,7 +84,7 @@ typedef enum
> > /* Xtensa ELF core file register set representation ('.reg' section).
> > Copied from target-side ELF header <xtensa/elf.h>. */
> >
> > -typedef unsigned long xtensa_elf_greg_t;
> > +typedef uint32_t xtensa_elf_greg_t;
> >
> > typedef struct
> > {
> >
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -