Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Bjarke Viksoe" <bviksoe@hotmail.com>
To: gdb@sourceware.org
Subject: MI error msgs and localization
Date: Sun, 12 Feb 2006 14:54:00 -0000	[thread overview]
Message-ID: <BAY111-F17900FCC72ED8D8FA0E121A0040@phx.gbl> (raw)

Hi, I've been using the MI interface for quite some time and noticed that 
preparation for localization has begun in GDB. Can I express some concern 
that compatibility with existing MI systems may suffer from this.

For instance, a cleanup must be done to make sure all errors are still 
reported through MI in English – including the more exceptional ones 
(especially during startup). For instance, I am actively interpreting raw 
console-stream output for the following strings:

No debugging symbols found
Unable to attach to process
No such process
No symbol table is loaded
No such file
gdb: unrecognized option
An internal GDB error was detected.
Thread x has terminated.
No executable file specified
No executable specified, useÂ…

For yet-unsupported commands in MI I resort to “-interpreter-exec console 
xxx”, but that leaves a problem where I have to at least handle messages 
such as

---Type <return> Â…

Â…to keep the non-interactive experience a joy.

Please consider support for MI as an important feature in future versions of 
GDB as well. English MI error output should somehow be retained for Machine 
Interpreting (!!) perhaps with the additional inclusion of the localized 
display text.

Regards bjarke
BVRDE - http://bvrde.sourceforge.net/



             reply	other threads:[~2006-02-12 14:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-12 14:54 Bjarke Viksoe [this message]
2006-02-12 20:49 ` Nick Roberts
2006-02-13 18:37   ` Bjarke Viksoe
2006-02-13 19:56     ` Eli Zaretskii
2006-02-13 20:01     ` Daniel Jacobowitz
2006-02-14  1:30     ` Nick Roberts
2006-02-14 17:40       ` Bjarke Viksoe
2006-02-14 19:42         ` Eli Zaretskii
2006-02-14 20:59         ` Nick Roberts
2006-02-14 21:05           ` Daniel Jacobowitz
2006-02-14 23:26             ` Nick Roberts
2006-02-14 23:32               ` Daniel Jacobowitz
2006-02-15  1:48                 ` Nick Roberts
2006-02-15  3:05                   ` Daniel Jacobowitz
2006-02-15  4:48                     ` Nick Roberts
2006-02-15 13:37                       ` Daniel Jacobowitz
2006-02-15 21:03                         ` Nick Roberts
2006-02-15 21:17                           ` Daniel Jacobowitz
2006-02-15  1:55             ` Bob Rossi

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=BAY111-F17900FCC72ED8D8FA0E121A0040@phx.gbl \
    --to=bviksoe@hotmail.com \
    --cc=gdb@sourceware.org \
    /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