Need Help for bringing m68k-based bdm target-patches form gdb-5.2.1 to gdb-5.3
Andrew Cagney
ac131313@redhat.com
Thu Aug 7 14:35:00 GMT 2003
> Josef Wolf <jw@raven.inka.de> writes:
>
>
>> Ough? Does that mean that gdb should not be used to debug supervisor mode?
>
>
> GDB was designed to debug user level programs, which have no way to
> see supervisor-only registers. So from GDB's point of view they don't
> exist. That does not mean that GDB on m68k can not be extended to
> handle them, you just need a way to get their contents from the target
> (no current m68k target provides that).
Originally yes. Since then (was the MIPS first?) people have been
adding architecture variants that include the supervisor registers. The
native register set, though, still only includes user-visible registers.
Josef,
The m68hc11 is hopefully a straight forward enough embedded architecture
to see how it works.
Do you have an FSF copyright assignment for GDB? And, would you know
the history of these BDM patches - who their author was?
Andrew
More information about the Gdb
mailing list