RE: Re:RE: GDB get wrong debug infos on TI DSP architecture extension

2020-05-29 Thread Taylor Simpson
: casmac <1482995...@qq.com> Sent: Friday, May 29, 2020 2:28 AM To: Taylor Simpson ; qemu-devel Subject: Re:RE: GDB get wrong debug infos on TI DSP architecture extension Hi, Thanks for the hints!! I put "-d trace:gdbstub_io_command,trace:gdbstub_io_reply" to command line, ge

Re:RE: GDB get wrong debug infos on TI DSP architecture extension

2020-05-29 Thread casmac
Hi, Thanks for the hints!! I put "-d trace:gdbstub_io_command,trace:gdbstub_io_reply" to command line, get the following from QEMU at the beginning when gdb starts, is there anything went wrong? 6792@1590734139.390330:gdbstub_io_command Received:

?????? GDB get wrong debug infos on TI DSP architecture extension

2020-05-28 Thread xiaolei
?: "casmac"<1482995...@qq.com>; : "Philippe Mathieu-Daud??";"qemu-devel"; : Re: GDB get wrong debug infos on TI DSP architecture extension casmac <1482995...@qq.com> writes: > Hi, Thank you for forwarding my question to developers and sharing

Re: GDB get wrong debug infos on TI DSP architecture extension

2020-05-28 Thread Alex Bennée
er IRQs or IO events). A number of helpers will "kick" the cpu by calling cpu_exit(). > Thanks again!! > > > regards > xiaolei > > > > --Original-- > From:"Philippe Mathieu-Daudé" Date:Wed, May 27, 2020 03:19 PM > To:&q

Re: GDB get wrong debug infos on TI DSP architecture extension

2020-05-27 Thread casmac
Hi, Thank you for forwarding my question to developers and sharing the C6x implementation. Perhaps I should follow up with another problem I encountered. The senerio is the emulator keeps running eventhough the program it emulates has already exited. And it keeps retrieving instructions which

RE: GDB get wrong debug infos on TI DSP architecture extension

2020-05-27 Thread Taylor Simpson
e- > From: Philippe Mathieu-Daudé On > Behalf Of Philippe Mathieu-Daudé > Sent: Wednesday, May 27, 2020 2:20 AM > To: casmac <1482995...@qq.com>; qemu-devel de...@nongnu.org> > Cc: Luc Michel ; Alex Bennée > ; Taylor Simpson > Subject: Re: GDB get wrong debug in

Re: GDB get wrong debug infos on TI DSP architecture extension

2020-05-27 Thread Alex Bennée
casmac <1482995...@qq.com> writes: > Hi all, > I am working on a TI DSP architecture extension for QEMU. Now, > we are adding GDB debugging features. > We have done the following, but not sure we are on the right > track : > - add a xml description file in gdb-xml, without > understanding

Re: GDB get wrong debug infos on TI DSP architecture extension

2020-05-27 Thread Philippe Mathieu-Daudé
Hi Xiaolei, Cc'ing more developers who might answer you. On 5/27/20 8:48 AM, casmac wrote: > Hi all, >    I am working on a TI DSP architecture extension for QEMU. FYI you can find the TI TMS320C6x target implemented here: https://github.com/philmd/qemu/releases/tag/target-c6x-2.4 I started

GDB get wrong debug infos on TI DSP architecture extension

2020-05-27 Thread casmac
Hi all, I am working on a TI DSP architecture extension for QEMU. Now, we are adding GDB debugging features. We have done the following, but not sure we are on the right track : - add a xml description file in gdb-xml, without understanding the purpose of the file, why some architectures