mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] cross GDB


From: Nagaev Boris
Subject: Re: [Mingw-cross-env-list] cross GDB
Date: Sat, 19 Mar 2016 10:29:10 +0000

On Fri, Mar 18, 2016 at 1:17 AM, Hansni Liu <address@hidden> wrote:
> Hi,
> When we are building cross toolchain for embedded system, we usually build
> the cross GDB. Most software developers are more familiar with GDB, I think.
> We can run GDB server on Windows or Wine, then connect with the cross GDB.
> Maybe, it depends on the developer. I build the cross GDB myself.

I forgot about remote gdb.Target code (PE32) is executed on remote
machine, so it will be a good option to have native cross-gdb tool. It
can be built as a native version of package "gdb".

I am not familiar with building gdb and using remote gdb. Does remote
gdb have a target? I mean, can we compile one tool which can run
remotely both x86 and x86_64 code?

>
> Thanks.
> Hansni
>
> 2016-03-18 5:07 GMT+08:00 Nagaev Boris <address@hidden>:
>>
>> On Thu, Mar 17, 2016 at 11:42 AM, Hansni Liu <address@hidden> wrote:
>> > Hi,
>> >
>> > I see Windows native (PE32) GDB is built if I enable the gdb package.
>> > However, I think a complete cross-toolchain shall have a cross GDB, for
>> > example, x86_64-w64-mingw32.static-gdb. Is there any plan to add that?
>> >
>> > Best Regards.
>> > Hansni
>>
>> Hello!
>>
>> gdb allows to run its target code, but MXE doesn't run target code.
>> For this purpose Wine can be used, it includes a tool called winedbg.
>>
>> --
>>
>>
>> Best regards,
>> Boris Nagaev
>
>



-- 


Best regards,
Boris Nagaev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]