This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, doc RFA] New option: set print symbol-loading
- From: Doug Evans <dje at google dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 26 Feb 2014 11:18:40 -0800
- Subject: Re: [PATCH, doc RFA] New option: set print symbol-loading
- Authentication-results: sourceware.org; auth=none
- References: <yjt261o46pf3 dot fsf at ruffy dot mtv dot corp dot google dot com> <530E2C51 dot 8090306 at redhat dot com>
On Wed, Feb 26, 2014 at 10:02 AM, Pedro Alves <palves@redhat.com> wrote:
> On 02/24/2014 11:50 PM, Doug Evans wrote:
>> + if (print_symbol_loading_p (from_tty, 0, 0))
>> + {
>> + if (pattern != NULL)
>> + printf_unfiltered (_("Loading symbols for shared libraries.\n"));
>> + else
>> + printf_unfiltered (_("Loading symbols for shared libraries: %s\n"),
>> + pattern);
>
> then/else looks reversed here.
Blech. Thanks.