This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]