This is the mail archive of the gdb@sources.redhat.com 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: Need Help for bringing m68k-based bdm target-patches form gdb-5.2.1to gdb-5.3


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



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