This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][gdb] Don't set initial language if set manually
- From: Tom Tromey <tom at tromey dot com>
- To: Tom de Vries <tdevries at suse dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 26 Feb 2020 06:27:04 -0700
- Subject: Re: [PATCH][gdb] Don't set initial language if set manually
- References: <20200226124850.GA8450@delia>
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> Loading the file should get us either:
Tom> - auto/c++, or
Tom> - manual/c.
Tom> That is, either the manual setting should be reset by loading, or the manual
Tom> setting should persist.
Tom> Fix this in the manual/c fashion. [ Though we could make some gdb setting to
Tom> choose one or the other. ]
I think the choice you made makes sense.
Also, I wouldn't bother adding another setting.
Tom> [ Note: In PR23710 comment 1 a cc1 binary is attached for which gdb is slow when
Tom> loading and settting a breakpoint on do_rpo_vn:
Makes sense I suppose, for C++ we have to dissect the names.
Tom> OK for trunk?
Ok. Thank you.
Tom