This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix "list" when control characters are seen
- From: Tom Tromey <tromey at adacore dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Tom Tromey <tromey at adacore dot com>, gdb-patches at sourceware dot org
- Date: Wed, 10 Apr 2019 10:53:21 -0600
- Subject: Re: [PATCH] Fix "list" when control characters are seen
- References: <20190409185432.16985-1-tromey@adacore.com> <87wok36kyb.fsf@igel.home>
>> + else if (c >= 0 && c < 040 && c != '\t')
Andreas> Does this give a warning when char is unsigned?
I tried with -funsigned-char, and did not get a warning.
Tom