From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: "Sérgio Durigan Júnior" <sergiodj@linux.vnet.ibm.com>,
teawater <teawater@gmail.com>
Subject: Re: [PATCH 1/4] catch syscall -- try 4 -- Architecture-independent part
Date: Mon, 26 Jan 2009 00:51:00 -0000 [thread overview]
Message-ID: <200901260053.06295.pedro@codesourcery.com> (raw)
In-Reply-To: <1232929831.26873.22.camel@miki>
One quick comment before bedtime :-),
On Monday 26 January 2009 00:30:31, Sérgio Durigan Júnior wrote:
> + printf_filtered (_("\nCatchpoint %d ("), b->number);
> +
> + if (last.kind == TARGET_WAITKIND_SYSCALL_ENTRY)
> + printf_filtered (_("call to "));
> + else
> + printf_filtered (_("returned from "));
> +
> + printf_filtered (_("syscall "));
> +
> + if (s.name == NULL)
> + printf_filtered (_("%d"), b->syscall_number);
> + else
> + printf_filtered (_("'%s'"), s.name);
> + printf_filtered (_("), "));
> +
Could you please combine this into full sentences, please? It
will be better for translation, and probably clearer to read. Say:
struct cleanup *old_chain;
char *syscall_id;
if (s.name == NULL)
syscall_id = xstrprintf ("%d", b->syscall_number);
else
syscall_id = xstrprintf ("'%s'", s.name);
old_chain = make_cleanup (xfree, syscall_id);
if (last.kind == TARGET_WAITKIND_SYSCALL_ENTRY)
printf_filtered (_("\nCatchpoint %d (call to syscall %s), "),
syscall_id);
else
printf_filtered (_("\nCatchpoint %d (returned from %s), "),
syscall_id);
do_cleanups (old_chain);
--
Pedro Alves
next prev parent reply other threads:[~2009-01-26 0:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 0:31 Sérgio Durigan Júnior
2009-01-26 0:51 ` Pedro Alves [this message]
2009-01-26 4:56 ` Sérgio Durigan Júnior
2009-01-26 17:04 ` Sérgio Durigan Júnior
2009-02-01 19:33 ` Daniel Jacobowitz
2009-02-25 21:44 ` Sérgio Durigan Júnior
2009-02-28 0:44 ` Daniel Jacobowitz
2009-03-08 18:16 ` Sérgio Durigan Júnior
2009-03-09 13:19 ` Daniel Jacobowitz
2009-03-09 14:09 ` Sérgio Durigan Júnior
2009-03-09 18:39 ` Pedro Alves
2009-03-09 18:56 ` Daniel Jacobowitz
2009-03-09 18:31 ` Pedro Alves
2009-03-29 21:16 ` Sérgio Durigan Júnior
2009-03-31 16:39 ` Daniel Jacobowitz
2009-04-09 19:29 ` Sérgio Durigan Júnior
2009-04-09 19:36 ` Daniel Jacobowitz
2009-04-09 20:21 ` Sérgio Durigan Júnior
2009-04-15 23:12 ` Sérgio Durigan Júnior
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=200901260053.06295.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=sergiodj@linux.vnet.ibm.com \
--cc=teawater@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