Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Steffen Dettmer <steffen.dettmer@googlemail.com>
To: gdb@sourceware.org
Subject: Re: gdbserver 7.1 unable to read registers
Date: Mon, 27 Sep 2010 10:25:00 -0000	[thread overview]
Message-ID: <AANLkTin_JX+2mFw26oUOn6KmVu2uxqY4J+6LTXhG7kxW@mail.gmail.com> (raw)
In-Reply-To: <201009241539.35561.pedro@codesourcery.com>

On Fri, Sep 24, 2010 at 4:39 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> On the other hand, there's scope for improvement in those warnings.
> It's not surprising that users don't know the consequences of not
> being able to parse a "XML target description" are.  Making
> those clearer in terms of consequences would probably already
> go a long way in avoiding surprises.  Something along the lines
> of:
>
>  "Can not parse XML target description; XML support was
> disabled at compile time."
>  "GDB may not be able to read registers correctly."

Yes, at least for me I never guessed that XML support is needed
to read registers... BTW, where can I learn more why XML is
suited and needed to read registers? XML remembers me to complex
stuff like parsers needing 10 MB source code, Unicode with
chinese characters, OpenOffice documents...

I do not see an XML warning message when gdb tries to connect,
but I have a problem with "call" in remote debugging
(arm-elf-nonlinux-gdb-7.20):

  (gdb) p strlen("")
  Could not write register "cpsr"; remote failure reply 'E00'
  An error occurred while in a function called from GDB.
  Evaluation of the expression containing the function
  (malloc) will be abandoned.
  When the function is done executing, GDB will silently stop.

Could this be caused by missing expat support, or would I
definitely see a XML warning message in case?

oki,

Steffen


  reply	other threads:[~2010-09-27 10:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 17:17 William Wagner
2010-09-24  7:47 ` Jan Kratochvil
2010-09-24  7:54   ` William Wagner
2010-09-24 13:30   ` Jon Smirl
2010-09-24 12:58 ` Ulrich Weigand
2010-09-24 13:36   ` Pedro Alves
2010-09-24 13:44     ` William Wagner
2010-09-24 14:05     ` Ulrich Weigand
2010-09-24 14:39       ` Pedro Alves
2010-09-27 10:25         ` Steffen Dettmer [this message]
2010-09-27 14:44           ` Daniel Jacobowitz
2010-10-07 17:16         ` Ulrich Weigand

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=AANLkTin_JX+2mFw26oUOn6KmVu2uxqY4J+6LTXhG7kxW@mail.gmail.com \
    --to=steffen.dettmer@googlemail.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