Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: Yongtao Yang <yongtao.y@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Can gdb display the source code lines with comments in other 	languages?
Date: Mon, 24 May 2010 02:28:00 -0000	[thread overview]
Message-ID: <AANLkTikDx3jGiZxsX-Bs5Nv6p6VPzDZlCHrRJueCgLB1@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinGDZWjhlmksELmk4UynFDhMbwG-RlbowVEKmHy@mail.gmail.com>

On Mon, May 24, 2010 at 00:51, Yongtao Yang <yongtao.y@gmail.com> wrote:
>
> Can gdb display the source code lines correctly with comments in other
> languages, such as Chinese?

gdb ./a.out
GNU gdb (GDB) 7.1.50.20100524-cvs
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/teawater/gdb/a.out...done.
(gdb) start
Temporary breakpoint 1 at 0x8048428: file 1.c, line 21.
Starting program: /home/teawater/gdb/a.out

Temporary breakpoint 1, main (argc=1, argv=0xbffff5a4,
envp=0xbffff5ac) at 1.c:21
21		if (argc < 2) /* 为什么不支持? */


  reply	other threads:[~2010-05-24  2:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-23 16:52 Yongtao Yang
2010-05-24  2:28 ` Hui Zhu [this message]
     [not found]   ` <AANLkTimP5I5dcTTTzMvv8Yu1Q_au7k6Fr0TcO2zkPt_d@mail.gmail.com>
2010-05-25  3:26     ` Hui Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikDx3jGiZxsX-Bs5Nv6p6VPzDZlCHrRJueCgLB1@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=yongtao.y@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox