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: Make the "python" command resemble the standard Python interpreter


On Thu, Jan 12, 2012 at 8:52 AM,  <Paul_Koning@dell.com> wrote:
>>There already is an established behaviour for python without arguments (with or without a terminal).
>>
>>(gdb) python
>> > print 1 + 2
>> > end
>>3
>>(gdb)
>>
>>I've read the thread and I don't seen anyone raising this issue (could have missed it though. ?I saw Tom's message re: what output CLI will generate, but this is about behaviour).
>>I've read the patch and I don't think using from_tty is ok to select between the different behaviours.
>>
>>Can we pick a different way of invoking the python interpreter?
>
> But "python" seems rather an intuitive way of doing it.

I COMPLETELY AGREE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
However, this changes things incompatibly ...


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