This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/4] Change field separator in gdbarch.sh
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>, gdb-patches at sourceware dot org
- Date: Tue, 18 Apr 2017 21:20:42 +0100
- Subject: Re: [PATCH 1/4] Change field separator in gdbarch.sh
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com AD771C059752
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AD771C059752
- References: <20170416141430.2585-1-simon.marchi@polymtl.ca> <20170416141430.2585-2-simon.marchi@polymtl.ca>
On 04/16/2017 03:14 PM, Simon Marchi wrote:
> --- a/gdb/gdbarch.h
> +++ b/gdb/gdbarch.h
> @@ -129,7 +129,7 @@ extern void set_gdbarch_bits_big_endian (struct gdbarch *gdbarch, int bits_big_e
>
> /* Number of bits in a char or unsigned char for the target machine.
> Just like CHAR_BIT in <limits.h> but describes the target machine.
> - v:TARGET_CHAR_BIT:int:char_bit::::8 * sizeof (char):8::0:
> + v;TARGET_CHAR_BIT;int;char_bit;;;;8 * sizeof (char);8;;0;
BTW, do you know why does this bit appear in the .h file in the
first place?
Thanks,
Pedro Alves