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: [reverse RFA] Remove process record warning code


It just for the reverse-20080930-branch. This remove just mean that we
don't need this code.

BTW There are a lot query don't have _(. Maybe you can make a patch for them.

On Fri, Oct 17, 2008 at 18:57, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 17 Oct 2008 15:57:03 +0800
>> From: teawater <teawater@gmail.com>
>>
>> @@ -427,12 +426,8 @@ kill_if_already_running (int from_tty)
>>        restart it.  */
>>        target_require_runnable ();
>>
>> -      if (from_tty)
>> -     if (!query (RECORD_IS_USED ?
>> -                 "The program being debugged has been started already,\n\
>> -and is running in record/replay mode.  Do you want to abandon\n\
>> -the recording and start the program from the beginning? " :
>> -                 "The program being debugged has been started already.\n\
>> +      if (from_tty
>> +       && !query ("The program being debugged has been started already.\n\
>>  Start it from the beginning? "))
>>         error (_("Program not restarted."));
>>        target_kill ();
>
> Should the string in the call to `query' be in _() ?  (Yes, I know you
> just copied existing code, but why not fix it while at that?)
>


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