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: G packet format ...


Andrew 

What about having built-in sets of such configurations and 
letting the user select from the one available for the
currently selected architecture.

Like:

show remote registers

(prints the currently selected spec and the available ones)

set remote registers <spec>

where <spec> is from the list of available ones.

For instance, for i386, one could have:

i386-std
i386-extended
i386-cygmon
i386-codetap


This way we can minimize the risk of a mismatch with the target.


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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