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: want to extend the gdb


s88 <dave.tw@gmail.com> writes:
>    If I want to extend the gdb to support my remote debugging for my
> ARM simulator.
> I mean, how to add a gdb command (for example: display/tlb to display TLB) ?
> which source file could let me getting start?!

You may want to let your stub implement the "qRcmd" packet, described
in the GDB manual appendix on the remote protocol.  The GDB 'monitor'
command lets the user send whatever qRcmd command they like.


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