This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbserver 7.1 unable to read registers


Pedro Alves wrote:
> On Friday 24 September 2010 15:05:11, Ulrich Weigand wrote:
> > As we have more and more platforms where gdbserver simply will not work
> > correctly without XML support, maybe we should make --with-expat the
> > default mode at some point in time?   Users would still be able to
> > build with --without-expat if they really want to ...
> 
> I guess.  Most native targets don't need it though.

OK, I see.

> 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."

This would certainly be helpful.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]