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


On 24/09/2010 14:36, Pedro Alves wrote:
On Friday 24 September 2010 13:58:08, Ulrich Weigand wrote:

Usually, gdbserver will inform GDB via the remote protocol about the
set of registers supported on the platform, and GDB is supposed to
automatically take that information into account.

However, this requires that GDB is built to include XML support to
parse this configuration information; if the expat libraries were
not available when you built GDB, the configure process might have
decided to build GDB without XML support instead ...
Can you try rebuilding with the --with-expat configure option?
This will cause the build to fail if XML support is not available.
Note that GDB issues a warning at connect time in that case:

"Can not parse XML target description; XML support was disabled at compile time"

When I run gdb I see that warning, did not realise what the consequence of not having XML support was. Will recompile with expat and see if that fixes it.


Thanks everyone for the help.

Will

--
------------------------------------------------------------------------
Will Wagner                                     will_wagner@carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------



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