This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: GDB frame


On Wed, 2004-06-30 at 07:48, David Lewin wrote:
> Does someone knows how to retrieve a human
> readable string instead a gdb like one, on error
> I always have an answer like this from redboot :
> 
> $T0a0f:00000801;0d:f8050060;#4b

Sadly, this is architecture specific.

My guess is that you're running on ARM.  IIRC, this says that
register 15 (PC?) is at 0x01080000 and 13 (SP?) is 0x600005F8.
(I might have those swapped).

Anyway, the best way to attack this is to disconnect minicom (or
whatever you use) and then attach via GDB.  For example:
  (gdb) tar rem /dev/ttyS0
  (gdb) info reg
  (gdb) bt

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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