Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] 答复: What does the number in the front of GDB trace mean?

Thank you very much!

-----邮件原件-----
发件人: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] 代表 Jonah Graham
发送时间: 2017年11月8日 22:03
收件人: CDT General developers list.
主题: Re: [cdt-dev] What does the number in the front of GDB trace mean?

It is a timestamp: Seconds,milliseconds.

The message is generated in the
org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl.RxThread.run()
method. The time itself is converted to a string in
org.eclipse.cdt.dsf.gdb.internal.GdbPlugin.getDebugTime() and the time source is System.currentTimeMillis()

HTH
Jonah

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 8 November 2017 at 06:50, 高国胜 <guosheng_gao@xxxxxxxxxxxxxx> wrote:
> Dear all!
>
> What does the red number mean in the front of every line?
>
>
>
> 020,003 *running,thread-id="all"
>
> 020,003 &"Sending packet: $vCont;c#a8..."
>
> 020,003 (gdb)
>
> 022,409 409-exec-interrupt --thread-group i1
>
> 022,411 &"remote_interrupt called\n"
>
> 022,411 409^done
>
> 022,411 (gdb)
>
> 022,414 &"remote_interrupt called\n"
>
> 022,414 ~"\nProgram"
>
> 022,414 ~" received signal SIGINT, Interrupt.\n"
>
> 022,414 ~"0x800014ec in main () at ./test1.c:123\n"
>
>
>
> Best regards!
> ---------------------------------------------
> guosheng_gao 高国胜
> Realsil Microelectronics Inc.
> Tel: +86-512-6258-8966 ext.6617
> E-Mail: guosheng_gao@xxxxxxxxxxxxxx
> ---------------------------------------------
>
>
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or 
> unsubscribe from this list, visit 
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cdt-dev
------Please consider the environment before printing this e-mail.

Back to the top