[PATCH] Don't mention "Unix" in native target name.

Doug Evans dje@google.com
Thu Mar 13 00:13:00 GMT 2014


On Wed, Mar 12, 2014 at 6:16 AM, Gary Benson <gbenson@redhat.com> wrote:
> Pedro Alves wrote:
>> I wonder whether anyone would miss this badly?  The difference would be:
>>
>>   (gdb) maint print target-stack
>>   The current target stack is:
>>    - multi-thread (multi-threaded child process.)
>> -  - child (Unix child process)
>> +  - child (Child process)
>>    - exec (Local exec file)
>>    - None (None)
>>
>>  (gdb) help target child
>> - Unix child process (started by the "run" command).
>> + Child process (started by the "run" command).
>>
>> I find it unnecessary (and really slightly a lie) on GNU/Linux.
>>
>> It's also odd that e.g., the Windows port says "Unix" in reaction to
>> "target child" (it was already that way before Windows used
>> inf-child.c).
>>
>> How about we just say the same mostly everywhere?
>
> I'm all for this.
>
>> In the same vein, I'd also rename Solaris/procfs.c's "target procfs"
>> to "target child".
>
> Ditto.

+1



More information about the Gdb-patches mailing list