Re: [PATCH][gdb] Don't set initial language if set manually

Tom Tromey
2020-02-26T13:27:10Z

>>>>> "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