mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-11 02:38:51 +08:00
Initial creation of sourceware repository
This commit is contained in:
gdb
29k-share
COPYINGChangeLogChangeLog-3.xChangeLog-9091ChangeLog-92ChangeLog-93ChangeLog-94ChangeLog-95ChangeLog-96ChangeLog-97ChangeLog-98Makefile.inNEWSREADMETODOa29k-tdep.ca68v-nat.cabug-rom.cacconfig.hacinclude.m4aclocal.m4alpha-nat.calpha-tdep.caltos-xdep.cannotate.cannotate.harc-tdep.carm-convert.sarm-tdep.carm-xdep.cax-gdb.cax-gdb.hax-general.cax.hbcache.cbcache.hblockframe.cbreakpoint.cbreakpoint.hbuildsym.cbuildsym.hc-exp.yc-lang.cc-lang.hc-typeprint.cc-valprint.ccall-cmds.hch-exp.cch-lang.cch-lang.hch-typeprint.cch-valprint.ccoff-solib.ccoff-solib.hcoffread.ccommand.ccommand.hcomplaints.ccomplaints.hconfig.inconfig
a29k
a29k-kern.mta29k-udi.mta29k.mtnm-ultra3.htm-a29k.htm-ultra3.htm-vx29k.hultra3.mhultra3.mtvx29k.mtxm-ultra3.h
alpha
alpha-linux.mhalpha-linux.mtalpha-osf1.mhalpha-osf1.mtalpha-osf2.mhalpha-osf3.mhnm-linux.hnm-osf.hnm-osf2.hnm-osf3.htm-alpha.htm-alphalinux.hxm-alphalinux.hxm-alphaosf.h
arc
arm
convex
d10v
d30v
fr30
gould
h8300
h8500
i386
cygwin.mhcygwin.mtfbsd.mhfbsd.mtgdbserve.mtgo32.mhi386aix.mhi386aix.mti386aout.mti386bsd.mhi386bsd.mti386dgux.mhi386gnu.mhi386gnu.mti386lynx.mhi386lynx.mti386m3.mhi386m3.mti386mach.mhi386mk.mhi386mk.mti386nw.mti386os9k.mti386sco.mhi386sco4.mhi386sco5.mhi386sco5.mti386sol2.mhi386sol2.mti386v.mhi386v.mti386v32.mhi386v4.mhi386v4.mti386v42mp.mhi386v42mp.mtlinux.mhlinux.mtnbsd.mhnbsd.mtncr3000.mhncr3000.mtnm-fbsd.hnm-gnu.hnm-i386aix.hnm-i386bsd.hnm-i386lynx.hnm-i386mach.hnm-i386sco.hnm-i386sco4.hnm-i386sco5.hnm-i386sol2.hnm-i386v.hnm-i386v4.hnm-i386v42mp.hnm-linux.hnm-m3.hnm-nbsd.hnm-ptx4.hnm-sun386.hnm-symmetry.hptx.mhptx.mtptx4.mhptx4.mtsun386.mhsun386.mtsymmetry.mhsymmetry.mttm-cygwin.htm-fbsd.htm-i386.htm-i386aix.htm-i386bsd.htm-i386gnu.htm-i386lynx.htm-i386m3.htm-i386mk.htm-i386nw.htm-i386os9k.htm-i386sco5.htm-i386sol2.htm-i386v.htm-i386v4.htm-i386v42mp.htm-linux.htm-nbsd.htm-ptx.htm-ptx4.htm-sun386.htm-symmetry.hxm-cygwin.hxm-go32.hxm-i386aix.hxm-i386bsd.hxm-i386gnu.hxm-i386lynx.hxm-i386m3.hxm-i386mach.hxm-i386mk.hxm-i386sco.hxm-i386v.hxm-i386v32.hxm-i386v4.hxm-linux.hxm-nbsd.hxm-ptx.hxm-ptx4.hxm-sun386.hxm-symmetry.hxm-windows.h
i960
m32r
m68k
3b1.mh3b1.mtaltos.mhaltos.mtapollo68b.mhapollo68b.mtapollo68v.mhcisco.mtdelta68.mhdelta68.mtdpx2.mhdpx2.mtes1800.mthp300bsd.mhhp300bsd.mthp300hpux.mhhp300hpux.mtisi.mhisi.mtlinux.mhlinux.mtm68klynx.mhm68klynx.mtm68kv4.mhm68kv4.mtmonitor.mtnbsd.mhnbsd.mtnews.mhnews.mtnews1000.mhnm-apollo68b.hnm-apollo68v.hnm-delta68.hnm-dpx2.hnm-hp300bsd.hnm-hp300hpux.hnm-linux.hnm-m68klynx.hnm-nbsd.hnm-news.hnm-sun2.hnm-sun3.hnm-sysv4.hos68k.mtst2000.mtsun2os3.mhsun2os3.mtsun2os4.mhsun2os4.mtsun3os3.mhsun3os3.mtsun3os4.mhsun3os4.mttm-3b1.htm-altos.htm-apollo68b.htm-cisco.htm-delta68.htm-dpx2.htm-es1800.htm-hp300bsd.htm-hp300hpux.htm-isi.htm-linux.htm-m68k.htm-m68klynx.htm-m68kv4.htm-mac.htm-monitor.htm-nbsd.htm-news.htm-os68k.htm-st2000.htm-sun2.htm-sun2os4.htm-sun3.htm-sun3os4.htm-vx68.hvxworks68.mtxm-3b1.hxm-altos.hxm-apollo68b.hxm-apollo68v.hxm-delta68.hxm-dpx2.hxm-hp300bsd.hxm-hp300hpux.hxm-isi.hxm-linux.hxm-m68k.hxm-m68klynx.hxm-m68kv4.hxm-mpw.hxm-nbsd.hxm-news.hxm-news1000.hxm-sun2.hxm-sun3.hxm-sun3os4.h
m88k
cxux.mhcxux.mtdelta88.mhdelta88.mtdelta88v4.mhdelta88v4.mtm88k.mhm88k.mtnm-cxux.hnm-delta88v4.hnm-m88k.htm-cxux.htm-delta88.htm-delta88v4.htm-m88k.hxm-cxux.hxm-delta88.hxm-delta88v4.hxm-dgux.hxm-m88k.h
mips
bigmips.mtbigmips64.mtdecstation.mhdecstation.mtembed.mtembed64.mtembedl.mtembedl64.mtirix3.mhirix3.mtirix4.mhirix5.mhirix5.mtlittlemips.mhlittlemips.mtmipsm3.mhmipsm3.mtmipsv4.mhmipsv4.mtnews-mips.mhnm-irix3.hnm-irix4.hnm-irix5.hnm-mips.hnm-news-mips.hnm-riscos.hriscos.mhtm-bigmips.htm-bigmips64.htm-embed.htm-embed64.htm-embedl.htm-embedl64.htm-irix3.htm-irix5.htm-mips.htm-mips64.htm-mipsm3.htm-mipsv4.htm-tx39.htm-tx39l.htm-vr4100.htm-vr4300.htm-vr4300el.htm-vr5000.htm-vr5000el.htm-vxmips.htx39.mttx39l.mtvr4100.mtvr4300.mtvr4300el.mtvr5000.mtvr5000el.mtvxmips.mtxm-irix3.hxm-irix4.hxm-irix5.hxm-mips.hxm-mipsm3.hxm-mipsv4.hxm-news-mips.hxm-riscos.h
mn10200
mn10300
nm-empty.hnm-gnu.hnm-lynx.hnm-m3.hnm-nbsd.hnm-sysv4.hnone
ns32k
merlin.mhmerlin.mtnbsd.mhnbsd.mtnm-nbsd.hnm-umax.hns32km3.mhns32km3.mttm-merlin.htm-nbsd.htm-ns32km3.htm-umax.humax.mhumax.mtxm-merlin.hxm-nbsd.hxm-ns32km3.hxm-umax.h
pa
hppabsd.mhhppabsd.mthppahpux.mhhppahpux.mthppaosf.mhhppaosf.mthppapro.mthpux1020.mhhpux1020.mthpux1100.mhhpux1100.mtnm-hppab.hnm-hppah.hnm-hppah11.hnm-hppao.htm-hppa.htm-hppab.htm-hppah.htm-hppao.htm-pro.hxm-hppab.hxm-hppah.hxm-pa.h
powerpc
aix.mhaix.mtcygwin.mhcygwin.mtgdbserve.mtlinux.mhmacos.mhmacos.mtnm-aix.hnm-macos.hnm-solaris.hppc-eabi.mtppc-nw.mtppc-sim.mtppcle-eabi.mtppcle-sim.mtsolaris.mhsolaris.mttm-cygwin.htm-macos.htm-ppc-aix.htm-ppc-eabi.htm-ppc-nw.htm-ppc-sim.htm-ppcle-eabi.htm-ppcle-sim.htm-solaris.hxm-aix.hxm-cygwin.hxm-linux.hxm-mpw.hxm-solaris.h
pyr
romp
rs6000
aix4.mhaix4.mtnm-rs6000.hnm-rs6000ly.hrs6000.mhrs6000.mtrs6000lynx.mhrs6000lynx.mttm-rs6000-aix4.htm-rs6000.htm-rs6000ly.hxm-aix4.hxm-rs6000.hxm-rs6000ly.h
sh
sparc
linux.mhlinux.mtnbsd.mhnbsd.mtnm-linux.hnm-nbsd.hnm-sparclynx.hnm-sun4os4.hnm-sun4sol2.hsp64.mtsp64sim.mtsp64sol2.mtsparc-em.mtsparclet.mtsparclite.mtsparclynx.mhsparclynx.mtsun4os4.mhsun4os4.mtsun4sol2.mhsun4sol2.mttm-linux.htm-nbsd.htm-sp64.htm-sp64sim.htm-sparc.htm-sparclet.htm-sparclite.htm-sparclynx.htm-spc-em.htm-sun4os4.htm-sun4sol2.htm-vxsparc.hvxsparc.mtxm-linux.hxm-nbsd.hxm-sparc.hxm-sparclynx.hxm-sun4os4.hxm-sun4sol2.h
tahoe
tm-lynx.htm-nbsd.htm-sunos.htm-sysv4.hv850
vax
w65
xm-aix4.hxm-lynx.hxm-mpw.hxm-nbsd.hxm-sysv4.hz8k
doc
ChangeLogHPPA-cfg.texiLRSMakefile.ina4rc.sedagentexpr.texiall-cfg.texiannotate.texiconfigureconfigure.ingdb.texinfogdbint.texinfolibgdb.texinfolpsrc.sedpsrc.sedrefcard.texremote.texistabs.texinfo
dpx2-nat.cdsrec.cdst.hdstread.cdve3900-rom.cdwarf2read.cdwarfread.celfread.cenviron.cenviron.heval.cexc_request.defsexec.cexpprint.cexpression.hf-exp.yf-lang.cf-lang.hf-typeprint.cf-valprint.cfindvar.cfork-child.cfr30-tdep.cframe.hgdb-stabs.hgdb.1gdb.gdbgdb_stat.hgdb_string.hgdba.elgdbarch.cgdbarch.hgdbcmd.hgdbcore.hgdbinit.ingdbserver
Makefile.inREADMEconfigure.ingdbreplay.cgdbserver.1low-hppabsd.clow-linux.clow-lynx.clow-sim.clow-sparc.clow-sun3.cremote-utils.cserver.cserver.hutils.c
gdbthread.hgdbtypes.cgdbtypes.hgnu-nat.cgnu-nat.hgnu-regex.cgnu-regex.hgould-tdep.cgould-xdep.ch8300-tdep.ch8500-tdep.chp-psymtab-read.chp-symtab-read.chp300ux-nat.chppa-tdep.chppab-nat.chppah-nat.chppam3-nat.chpread.chpread.hhpux-thread.ci386-stub.ci386-tdep.ci386aix-nat.ci386b-nat.ci386gnu-nat.ci386ly-tdep.ci386m3-nat.ci386mach-nat.ci386v-nat.ci386v4-nat.ci387-tdep.ci960-tdep.cinfcmd.cinferior.hinflow.cinfptrace.cinfrun.cinftarg.cinfttrace.cirix4-nat.cirix5-nat.cisi-xdep.cjv-exp.yjv-lang.cjv-lang.hjv-typeprint.cjv-valprint.ckdb-start.clanguage.clanguage.hlynx-nat.cm2-exp.ym2-lang.cm2-lang.hm2-typeprint.cm2-valprint.cm3-nat.cm32r-rom.cm32r-stub.cm32r-tdep.cm68k-stub.cm68k-tdep.cm68klinux-nat.cm68knbsd-nat.cm88k-nat.cm88k-tdep.cmac-defs.hmac-gdb.rmac-nat.cmac-xdep.cmain.cmaint.cmdebugread.cmem-break.cminimon.hminsyms.cmips-nat.cmips-tdep.cmipsm3-nat.cmipsread.cmipsv4-nat.cmn10200-tdep.cmn10300-tdep.cmon960-rom.cmonitor.cmonitor.hmpw-config.inmpw-make.sedmsg.defsmsg_reply.defsnews-xdep.cnindy-share
nindy-tdep.cnlm
nlmread.cnotify.defsns32k-tdep.cns32km3-nat.cns32knbsd-nat.cobjfiles.cobjfiles.hocd.cocd.hop50-rom.cos9kread.cosf-share
AT386
HP800
READMERIOS
cma_attr.hcma_deb_core.hcma_debug_client.hcma_errors.hcma_handle.hcma_init.hcma_list.hcma_mutex.hcma_sched.hcma_semaphore_defs.hcma_sequence.hcma_stack.hcma_stack_int.hcma_tcb_defs.hcma_util.hrdi-share
Makefile.amMakefile.inREADME.CYGNUSaclocal.m4adp.hadperr.hangel.hardi.cardi.harmdbg.hbuffers.hbytesex.cbytesex.hchandefs.hchannels.hchanpriv.hconfigureconfigure.incrc.ccrc.hdbg_conf.hdbg_cp.hdbg_hif.hdbg_rdi.hdevclnt.hdevices.hdevsw.cdevsw.hdrivers.cdrivers.hendian.hetherdrv.cethernet.hhost.hhostchan.chostchan.hhsys.chsys.hlogging.clogging.hmsgbuild.cmsgbuild.hparams.cparams.hrx.crxtx.hserdrv.cserpardr.csys.htx.cunixcomm.cunixcomm.h
remote-adapt.cremote-array.cremote-bug.cremote-d10v.cremote-e7000.cremote-eb.cremote-es.cremote-est.cremote-hms.cremote-mips.cremote-mm.cremote-nindy.cremote-nrom.cremote-os9k.cremote-rdi.cremote-rdp.cremote-sds.cremote-sim.cremote-st.cremote-udi.cremote-utils.cremote-utils.hremote-vx.cremote-vx29k.cremote-vx68.cremote-vx960.cremote-vxmips.cremote-vxsparc.cremote.creply_mig_hack.awkrom68k-rom.crs6000-nat.crs6000-tdep.csaber.suppressscm-exp.cscm-lang.cscm-lang.hscm-tags.hscm-valprint.cser-e7kpc.cser-go32.cser-mac.cser-ocd.cser-tcp.cser-unix.cserial.cserial.hsh-stub.csh-tdep.csh3-rom.csignals.hsol-thread.csolib.csolib.hsomread.csomsolib.csomsolib.hsource.csparc-nat.csparc-stub.csparc-tdep.csparcl-stub.csparcl-tdep.csparclet-rom.csparclet-stub.csrec.hstabsread.cstabsread.hstack.cstandalone.cstop-gdb.cstuff.csun3-nat.csun386-nat.csymfile.csymfile.hsymm-nat.csymm-tdep.csymmisc.csymtab.csymtab.htahoe-tdep.ctarget.ctarget.hterminal.htestsuite
.gdbinitChangeLogMakefile.inTODOaclocal.m4
thread.ctop.ctop.htracepoint.ctracepoint.hconfig
abug.exparm-ice.expcpu32bug.expcygmon.expd10v.expdve.expest.expgdbserver.exph8300.exphmsirom.exphppro.expi386-bozo.expi960.expm32r-stub.expm32r.expm68k-emc.expmips-idt.expmips.expmn10300-eval.expmonitor.expmt-a29k-udimt-i386-aoutmt-i960-nindymt-lynxmt-m68kmt-mips-ecoffmt-netwaremt-slitemt-sparc-aoutmt-unixmt-vxworksnetware.expnind.expproelf.exprom68k.expsh.expsim.expslite.expsparclet.expudi.expunix.expunknown.expvr4300.expvr5000.expvx.expvxworks.expvxworks29k.exp
configureconfigure.ingdb.asm
gdb.base
Makefile.inREADMEa1-selftest.expa2-run.expall-bin.expall-types.carithmet.expassign.expbar.cbaz.cbitfields.cbitfields.expbitops.expbranches.cbreak.cbreak.expcall-ar-st.ccall-ar-st.expcall-rt-st.ccall-rt-st.expcall-strs.ccall-strs.expcallfuncs.ccallfuncs.expcallfuncs2.ccallfuncs2.expcommands.expcompiler.ccompletion.expcond-expr.expcondbreak.ccondbreak.expconfigureconfigure.inconstvars.cconstvars.expcorefile.expcoremaker.ccrossload.expd10v.ldd10vovly.cdefault.expdefine.expdisplay.cdisplay.expdollar.expecho.expena-dis-br.expending-run.cending-run.expenviron.expeval-skip.expexprs.cexprs.expfoo.cfuncargs.cfuncargs.expgdbvars.expgrbx.chelp.expi486-elf.ui860-elf.uint-type.cinterrupt.cinterrupt.expjump.cjump.explangs.explangs0.clangs1.clangs1.flangs2.clangs2.cxxlist.explist0.clist0.hlist1.clogical.explong_long.clong_long.expm32r.ldm32rovly.cm68k-aout.um68k-aout2.um68k-elf.umaint.expmips-ecoff.umips_pro.cmips_pro.expmiscexprs.cmiscexprs.expnodebug.cnodebug.expopaque.expopaque0.copaque1.coverlays.coverlays.expovlymgr.covlymgr.hpointers.cpointers.exppointers2.cpointers2.expprintcmds.cprintcmds.expptype.cptype.expradix.exprecurse.crecurse.expregs.exprelational.expreread.expreread1.creread2.crestore.crestore.expreturn.creturn.exprun.cscope.expscope0.cscope1.csect-cmd.expsetshow.csetshow.expsetvar.csetvar.expshlib-call.expshmain.cshr1.cshr2.csigall.csigall.expsignals.csignals.expsmoke.csmoke.ccsmoke.expso-impl-ld.cso-impl-ld.expso-indr-cl.cso-indr-cl.expsolib.csolib.expsolib1.csolib2.csparc-aout.usparc-elf.uss.hstep-test.cstep-test.expstructs2.cstructs2.expterm.exptwice.ctwice.expvarargs.cvarargs.expvolatile.expwatchpoint.cwatchpoint.expwhatis-exp.expwhatis.cwhatis.exp
gdb.c++
Makefile.inanon-union.ccanon-union.expclasses.expcompiler.ccconfigureconfigure.incplusfuncs.cccplusfuncs.expdemangle.expderivation.ccderivation.expinherit.explocal.cclocal.expmember-ptr.ccmember-ptr.expmethod.ccmethod.expmisc.ccmisc.expoverload.ccoverload.expovldbreak.ccovldbreak.expref-types.ccref-types.expref-types2.ccref-types2.exptemplates.cctemplates.expuserdef.ccuserdef.expvirtfunc.ccvirtfunc.exp
gdb.chill
ChangeLogMakefile.inbuiltins.chbuiltins.expcallch.chcallch.expchexp.expchillvars.chchillvars.expconfigureconfigure.inenum.chenum.expextstruct-grt.chextstruct.chextstruct.expfunc1.chgch1041.chgch1041.expgch1272.chgch1272.expgch1280.chgch1280.expgch922.chgch922.expgch981.chgch981.expmisc.chmisc.exppowerset.chpowerset.exppr-4975-grt.chpr-4975.chpr-4975.exppr-5016.chpr-5016.exppr-5020.chpr-5020.exppr-5022.chpr-5022.exppr-5646-grt.chpr-5646.chpr-5646.exppr-5984.chpr-5984.exppr-6292.chpr-6292.exppr-6632-grt.chpr-6632.chpr-6632.exppr-8134.exppr-8136.chpr-8136.exppr-8405.chpr-8405.exppr-8742.chpr-8742.exppr-8894-grt.chpr-8894.chpr-8894.exppr-9095.chpr-9095.exppr-9946.chpr-9946.expresult.chresult.expstring.chstring.exptests1.chtests1.exptests2.chtests2.exptuples.chtuples.exp
gdb.disasm
gdb.fortran
gdb.hp
Makefile.inambiguous.ccambiguous.expattach.cattach.expattach2.cattach2.expaverage.cclasses-hp.expcompiler.ccompiler.ccctti-add.ccctti-add1.ccctti-add2.ccctti-add3.ccctti.expdbx.expexception.ccexception.expexecd-program.cfoll-exec.cfoll-exec.expfoll-fork.cfoll-fork.expfoll-vfork.cfoll-vfork.expgen-so-thresh.chwwatchbus.chwwatchbus.expinherit-hp.expmisc-hp.ccmore-steps.cmore-steps.expnamespace.ccnamespace.expoptimize.coptimize.exppxdb.cpxdb.expquicksort.cquicksort.expreg-test.expreg-test.srun-hp.csized-enum.csized-enum.expso-thresh.expso-thresh.linkoptsso-thresh.mkso-thresh.shstart-stop.cstart-stop.expsum.ctempl-hp.cctempl-hp.expthr-lib.cthr-lib.expthr-lib.hthr-liblib.cthr-stg.expvforked-program.cvirtfun-hp.ccvirtfun-hp.expwatch-cmd.expwatch-hp.cwatch-hp.expxdb.cxdb0.cxdb0.hxdb1.cxdb1.expxdb2.expxdb3.exp
gdb.stabs
gdb.threads
gdb.trace
Makefile.inactions.cactions.expbacktrace.expcirc.ccirc.expcollection.ccollection.expconfigureconfigure.indeltrace.expgdb_c_test.cinfotrace.explimits.climits.exppacketlen.exppassc-dyn.exppasscount.expreport.expsave-trace.exptfind.exptracecmd.expwhile-dyn.expwhile-stepping.exp
lib
tui
ChangeLogMakefile.intui.ctui.htuiCommand.ctuiCommand.htuiData.ctuiData.htuiDataWin.ctuiDataWin.htuiDisassem.ctuiDisassem.htuiGeneralWin.ctuiGeneralWin.htuiIO.ctuiIO.htuiLayout.ctuiLayout.htuiRegs.ctuiRegs.htuiSource.ctuiSource.htuiSourceWin.ctuiSourceWin.htuiStack.ctuiStack.htuiWin.ctuiWin.h
typeprint.ctypeprint.hultra3-nat.cultra3-xdep.cumax-xdep.cutils.cv850-tdep.cvalarith.cvalops.cvalprint.cvalprint.hvalue.hvalues.cvax-tdep.cvx-share
READMEdbgRpcLib.hptrace.hregPacket.hvxTypes.hvxWorks.hwait.hxdr_ld.cxdr_ld.hxdr_ptrace.cxdr_ptrace.hxdr_rdb.cxdr_rdb.h
w65-tdep.cw89k-rom.cwin32-nat.cxcoffread.cxcoffsolib.cxcoffsolib.hxmodem.cxmodem.hz8k-tdep.cmmalloc
COPYING.LIBChangeLogMakefile.inTODOattach.cconfigureconfigure.indetach.ckeys.cmcalloc.cmfree.cmm.cmmalloc.cmmalloc.hmmalloc.teximmap-sup.cmmcheck.cmmemalign.cmmprivate.hmmstats.cmmtrace.awkmmtrace.cmrealloc.cmvalloc.csbrk-sup.c
readline
sim
ChangeLogMakefile.inREADME-HACKING
arm
COPYINGChangeLogMakefile.inREADME.Cygnusacconfig.harmcopro.carmdefs.harmemu.carmemu.harmfpe.harminit.carmopts.harmos.carmos.harmrdi.carmsupp.carmvirt.cbag.cbag.hcommunicate.ccommunicate.hconfig.inconfigureconfigure.indbg_conf.hdbg_cp.hdbg_hif.hdbg_rdi.hgdbhost.cgdbhost.hkid.cmain.cparent.ctconfig.inthumbemu.cwrapper.c
common
ChangeLogMake-common.inMakefile.inacconfig.haclocal.m4callback.ccgen-cpu.hcgen-defs.hcgen-engine.hcgen-mem.hcgen-ops.hcgen-run.ccgen-scache.ccgen-scache.hcgen-sim.hcgen-trace.ccgen-trace.hcgen-types.hcgen-utils.cconfig.inconfigureconfigure.indv-core.cdv-glue.cdv-pal.cdv-sockser.cdv-sockser.hgdbinit.ingenmloop.shgennltvals.shgentmap.cgentvals.shhw-alloc.chw-alloc.hhw-base.chw-base.hhw-device.chw-device.hhw-events.chw-events.hhw-handles.chw-handles.hhw-instances.chw-instances.hhw-main.hhw-ports.chw-ports.hhw-properties.chw-properties.hhw-tree.chw-tree.hnltvals.defnrun.crun.1run.csim-abort.csim-alu.hsim-arange.csim-arange.hsim-assert.hsim-base.hsim-basics.hsim-bits.csim-bits.hsim-break.csim-break.hsim-config.csim-config.hsim-core.csim-core.hsim-cpu.csim-cpu.hsim-endian.csim-endian.hsim-engine.csim-engine.hsim-events.csim-events.hsim-fpu.csim-fpu.hsim-hload.csim-hrw.csim-hw.csim-hw.hsim-info.csim-inline.csim-inline.hsim-io.csim-io.hsim-load.csim-memopt.csim-memopt.hsim-model.csim-model.hsim-module.csim-module.hsim-n-bits.hsim-n-core.hsim-n-endian.hsim-options.csim-options.hsim-profile.csim-profile.hsim-reason.csim-reg.csim-resume.csim-run.csim-signal.csim-signal.hsim-stop.csim-trace.csim-trace.hsim-types.hsim-utils.csim-utils.hsim-watch.csim-watch.hsyscall.ctconfig.in
configureconfigure.ind10v
ChangeLogMakefile.inacconfig.hconfig.inconfigureconfigure.ind10v_sim.hendian.cgencode.cinterp.csimops.c
d30v
ChangeLogMakefile.inacconfig.halu.hconfig.inconfigureconfigure.incpu.ccpu.hd30v-insnsdc-shortengine.cic-d30vsim-calls.csim-main.htconfig.in
erc32
ChangeLogMakefile.inNEWSREADME.erc32README.gdbREADME.sisacconfig.hconfig.inconfigureconfigure.inend.cerc32.cexec.cfloat.cfunc.chelp.cinterf.csis.csis.hstartsim
fr30
ChangeLogMakefile.inREADMETODOarch.carch.hconfig.inconfigureconfigure.incpu.ccpu.hcpuall.hdecode.cdecode.hdevices.cfr30-sim.hfr30.cmloop.inmodel.csem-switch.csem.csim-if.csim-main.htconfig.intraps.c
h8300
h8500
i960
ChangeLogMakefile.inREADMETODOacconfig.harch.carch.hconfig.inconfigureconfigure.incpu.ccpu.hcpuall.hdecode.cdecode.hdevices.ci960-desc.ci960-desc.hi960-opc.hi960-sim.hi960.cmloop.inmodel.csem-switch.csem.csim-if.csim-main.htconfig.intraps.c
igen
ChangeLogMakefile.inacconfig.hconfig.inconfigureconfigure.infilter.cfilter.hfilter_host.cfilter_host.hgen-engine.cgen-engine.hgen-icache.cgen-icache.hgen-idecode.cgen-idecode.hgen-itable.cgen-itable.hgen-model.cgen-model.hgen-semantics.cgen-semantics.hgen-support.cgen-support.hgen.cgen.higen.cigen.hld-cache.cld-cache.hld-decode.cld-decode.hld-insn.cld-insn.hlf.clf.hmisc.cmisc.htable.ctable.h
m32r
ChangeLogMakefile.inREADMETODOacconfig.harch.carch.hconfig.inconfigureconfigure.incpu.ccpu.hcpuall.hdecode.cdecode.hdevices.cm32r-sim.hm32r.cmloop.inmodel.csem-switch.csem.csim-if.csim-main.htconfig.intraps.c
mips
ChangeLogMakefile.inacconfig.hconfig.inconfigureconfigure.indv-tx3904cpu.cdv-tx3904irc.cdv-tx3904sio.cdv-tx3904tmr.cinterp.cm16.dcm16.igenm16run.cmips.dcmips.igensim-main.csim-main.htconfig.intx.igenvr.igen
mn10200
mn10300
ChangeLogMakefile.inacconfig.hconfig.inconfigureconfigure.indv-mn103cpu.cdv-mn103int.cdv-mn103iop.cdv-mn103ser.cdv-mn103tim.cgencode.cinterp.cmn10300.dcmn10300.igenmn10300_sim.hop_utils.csim-main.csim-main.hsimops.ctconfig.in
ppc
.gdbinitBUGSCOPYINGCOPYING.LIBChangeLogChangeLog.00INSTALLMakefile.inREADMERUNacconfig.haclocal.m4basics.hbits.cbits.hcap.ccap.hconfig.inconfigureconfigure.incorefile-n.hcorefile.ccorefile.hcpu.ccpu.hdc-complexdc-simpledc-stupiddc-test.01dc-test.02debug.cdebug.hdevice.cdevice.hdevice_table.cdevice_table.hdgen.cdouble.cdp-bit.cemul_bugapi.cemul_bugapi.hemul_chirp.cemul_chirp.hemul_generic.cemul_generic.hemul_netbsd.cemul_netbsd.hemul_unix.cemul_unix.hevents.cevents.hfilter.cfilter.hfilter_filename.cfilter_filename.hgen-icache.cgen-icache.hgen-idecode.cgen-idecode.hgen-itable.cgen-itable.hgen-model.cgen-model.hgen-semantics.cgen-semantics.hgen-support.cgen-support.hhw_com.chw_core.chw_cpu.chw_cpu.hhw_disk.chw_eeprom.chw_glue.chw_htab.chw_ide.chw_init.chw_iobus.chw_memory.chw_nvram.chw_opic.chw_pal.chw_phb.chw_phb.hhw_register.chw_trace.chw_vm.cidecode_branch.hidecode_expression.hidecode_fields.higen.cigen.hinline.cinline.hinterrupts.cinterrupts.hld-cache.cld-cache.hld-decode.cld-decode.hld-insn.cld-insn.hlf.clf.hmain.cmisc.cmisc.hmon.cmon.hoptions.coptions.hos_emul.cos_emul.hpk_disklabel.cppc-cache-rulesppc-instructionsppc-spr-tableppc.mtpsim.cpsim.hpsim.texinforegisters.cregisters.hsim-endian-n.hsim-endian.csim-endian.hsim_callbacks.hsim_calls.cstd-config.htable.ctable.htree.ctree.hvm.cvm.hvm_n.hwords.h
sh
testsuite
ChangeLogMakefile.in
common
config
configureconfigure.ind10v-elf
ChangeLogMakefile.inconfigureconfigure.inexit47.shello.sloop.st-dbt.st-mac.st-macros.it-msbu.st-mulxu.st-mvtac.st-mvtc.st-rac.st-rachi.st-rdt.st-rep.st-rte.st-sadd.st-sp.st-sub.st-sub2w.st-subi.st-trap.s
d30v-elf
ChangeLogMakefile.inbr-bra.Sbr-bratnz.Sbr-bratzr.Sbr-bsr.Sbr-dbra.Sbr-djmp.Sbr-djsr.Sconfigureconfigure.indo-2wordops.Sdo-flags.Sdo-shifts.Sem-e0.Sem-e47.Sem-pchr.Sem-pstr.Sexit47.shello.sloop.sls-ld2h.Sls-ld2w.Sls-ld4bh.Sls-ld4bhu.Sls-ldb.Sls-ldbu.Sls-ldh.Sls-ldhh.Sls-ldhu.Sls-ldw.Sls-modaddr.Sls-moddec.Sls-modinc.Sls-st2h.Sls-st2w.Sls-st4hb.Sls-stb.Sls-sth.Sls-sthh.Sls-stw.Sos-dbt.Stick.strap.S
fr30-elf
lib
m32r-elf
mips64el-elf
sim
fr30
add.cgsadd.msadd2.cgsaddc.cgsaddn.cgsaddn2.cgsaddsp.cgsallinsn.expand.cgsandb.cgsandccr.cgsandh.cgsasr.cgsasr2.cgsbandh.cgsbandl.cgsbc.cgsbeorh.cgsbeorl.cgsbeq.cgsbge.cgsbgt.cgsbhi.cgsble.cgsbls.cgsblt.cgsbn.cgsbnc.cgsbne.cgsbno.cgsbnv.cgsborh.cgsborl.cgsbp.cgsbra.cgsbtsth.cgsbtstl.cgsbv.cgscall.cgscmp.cgscmp2.cgscopld.cgscopop.cgscopst.cgscopsv.cgsdiv.msdiv0s.cgsdiv0u.cgsdiv1.cgsdiv2.cgsdiv3.cgsdiv4s.cgsdmov.cgsdmovb.cgsdmovh.cgsenter.cgseor.cgseorb.cgseorh.cgsextsb.cgsextsh.cgsextub.cgsextuh.cgshello.msint.cgsinte.cgsjmp.cgsld.cgsldi20.cgsldi32.cgsldi8.cgsldm0.cgsldm1.cgsldres.cgsldub.cgslduh.cgsleave.cgslsl.cgslsl2.cgslsr.cgslsr2.cgsmisc.expmov.cgsmul.cgsmulh.cgsmulu.cgsmuluh.cgsnop.cgsor.cgsorb.cgsorccr.cgsorh.cgsret.cgsreti.cgsst.cgsstb.cgssth.cgsstilm.cgsstm0.cgsstm1.cgsstres.cgssub.cgssubc.cgssubn.cgstestutils.incxchb.cgs
m32r
add.cgsadd3.cgsaddi.cgsaddv.cgsaddv3.cgsaddx.cgsallinsn.expand.cgsand3.cgsbc24.cgsbc8.cgsbeq.cgsbeqz.cgsbgez.cgsbgtz.cgsbl24.cgsbl8.cgsblez.cgsbltz.cgsbnc24.cgsbnc8.cgsbne.cgsbnez.cgsbra24.cgsbra8.cgscmp.cgscmpi.cgscmpu.cgscmpui.cgsdiv.cgsdivu.cgshello.mshw-trap.msjl.cgsjmp.cgsld-d.cgsld-plus.cgsld.cgsld24.cgsldb-d.cgsldb.cgsldh-d.cgsldh.cgsldi16.cgsldi8.cgsldub-d.cgsldub.cgslduh-d.cgslduh.cgslock.cgsmachi.cgsmaclo.cgsmacwhi.cgsmacwlo.cgsmisc.expmul.cgsmulhi.cgsmullo.cgsmulwhi.cgsmulwlo.cgsmv.cgsmvfachi.cgsmvfaclo.cgsmvfacmi.cgsmvfc.cgsmvtachi.cgsmvtaclo.cgsmvtc.cgsneg.cgsnop.cgsnot.cgsor.cgsor3.cgsrac.cgsrach.cgsrem.cgsremu.cgsrte.cgsseth.cgssll.cgssll3.cgsslli.cgssra.cgssra3.cgssrai.cgssrl.cgssrl3.cgssrli.cgsst-d.cgsst-minus.cgsst-plus.cgsst.cgsstb-d.cgsstb.cgssth-d.cgssth.cgssub.cgssubv.cgssubx.cgstestutils.inctrap.cgsunlock.cgsuread16.msuread32.msuwrite16.msuwrite32.msxor.cgsxor3.cgs
v850
ChangeLogMakefile.inacconfig.hconfig.inconfigureconfigure.ingencode.cinterp.csim-main.hsimops.cv850-dcv850.igenv850_sim.h
w65
z8k
449
gdb/maint.c
Normal file
449
gdb/maint.c
Normal file
@ -0,0 +1,449 @@
|
||||
/* Support for GDB maintenance commands.
|
||||
Copyright 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||
Written by Fred Fish at Cygnus Support.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#if MAINTENANCE_CMDS /* Entire rest of file goes away if not including maint cmds */
|
||||
|
||||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
#include "command.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "symtab.h"
|
||||
#include "gdbtypes.h"
|
||||
#include "demangle.h"
|
||||
#include "gdbcore.h"
|
||||
#include "expression.h" /* For language.h */
|
||||
#include "language.h"
|
||||
#include "symfile.h"
|
||||
#include "objfiles.h"
|
||||
#include "value.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
static void maintenance_command PARAMS ((char *, int));
|
||||
|
||||
static void maintenance_dump_me PARAMS ((char *, int));
|
||||
|
||||
static void maintenance_demangle PARAMS ((char *, int));
|
||||
|
||||
static void maintenance_time_display PARAMS ((char *, int));
|
||||
|
||||
static void maintenance_space_display PARAMS ((char *, int));
|
||||
|
||||
static void maintenance_info_command PARAMS ((char *, int));
|
||||
|
||||
static void print_section_table PARAMS ((bfd *, asection *, PTR));
|
||||
|
||||
static void maintenance_info_sections PARAMS ((char *, int));
|
||||
|
||||
static void maintenance_print_command PARAMS ((char *, int));
|
||||
|
||||
/* Set this to the maximum number of seconds to wait instead of waiting forever
|
||||
in target_wait(). If this timer times out, then it generates an error and
|
||||
the command is aborted. This replaces most of the need for timeouts in the
|
||||
GDB test suite, and makes it possible to distinguish between a hung target
|
||||
and one with slow communications. */
|
||||
|
||||
int watchdog = 0;
|
||||
|
||||
/*
|
||||
|
||||
LOCAL FUNCTION
|
||||
|
||||
maintenance_command -- access the maintenance subcommands
|
||||
|
||||
SYNOPSIS
|
||||
|
||||
void maintenance_command (char *args, int from_tty)
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
*/
|
||||
|
||||
static void
|
||||
maintenance_command (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{
|
||||
printf_unfiltered ("\"maintenance\" must be followed by the name of a maintenance command.\n");
|
||||
help_list (maintenancelist, "maintenance ", -1, gdb_stdout);
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
maintenance_dump_me (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{
|
||||
if (query ("Should GDB dump core? "))
|
||||
{
|
||||
signal (SIGQUIT, SIG_DFL);
|
||||
kill (getpid (), SIGQUIT);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Someday we should allow demangling for things other than just
|
||||
explicit strings. For example, we might want to be able to
|
||||
specify the address of a string in either GDB's process space
|
||||
or the debuggee's process space, and have gdb fetch and demangle
|
||||
that string. If we have a char* pointer "ptr" that points to
|
||||
a string, we might want to be able to given just the name and
|
||||
have GDB demangle and print what it points to, etc. (FIXME) */
|
||||
|
||||
static void
|
||||
maintenance_demangle (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{
|
||||
char *demangled;
|
||||
|
||||
if (args == NULL || *args == '\0')
|
||||
{
|
||||
printf_unfiltered ("\"maintenance demangle\" takes an argument to demangle.\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
demangled = cplus_demangle (args, DMGL_ANSI | DMGL_PARAMS);
|
||||
if (demangled != NULL)
|
||||
{
|
||||
printf_unfiltered ("%s\n", demangled);
|
||||
free (demangled);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf_unfiltered ("Can't demangle \"%s\"\n", args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
maintenance_time_display (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{
|
||||
extern int display_time;
|
||||
|
||||
if (args == NULL || *args == '\0')
|
||||
printf_unfiltered ("\"maintenance time\" takes a numeric argument.\n");
|
||||
else
|
||||
display_time = strtol (args, NULL, 10);
|
||||
}
|
||||
|
||||
static void
|
||||
maintenance_space_display (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{
|
||||
extern int display_space;
|
||||
|
||||
if (args == NULL || *args == '\0')
|
||||
printf_unfiltered ("\"maintenance space\" takes a numeric argument.\n");
|
||||
else
|
||||
display_space = strtol (args, NULL, 10);
|
||||
}
|
||||
|
||||
/* The "maintenance info" command is defined as a prefix, with allow_unknown 0.
|
||||
Therefore, its own definition is called only for "maintenance info" with
|
||||
no args. */
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
maintenance_info_command (arg, from_tty)
|
||||
char *arg;
|
||||
int from_tty;
|
||||
{
|
||||
printf_unfiltered ("\"maintenance info\" must be followed by the name of an info command.\n");
|
||||
help_list (maintenanceinfolist, "maintenance info ", -1, gdb_stdout);
|
||||
}
|
||||
|
||||
static void
|
||||
print_section_table (abfd, asect, ignore)
|
||||
bfd *abfd;
|
||||
asection *asect;
|
||||
PTR ignore;
|
||||
{
|
||||
flagword flags;
|
||||
|
||||
flags = bfd_get_section_flags (abfd, asect);
|
||||
|
||||
/* FIXME-32x64: Need print_address_numeric with field width. */
|
||||
printf_filtered (" %s",
|
||||
local_hex_string_custom
|
||||
((unsigned long) bfd_section_vma (abfd, asect), "08l"));
|
||||
printf_filtered ("->%s",
|
||||
local_hex_string_custom
|
||||
((unsigned long) (bfd_section_vma (abfd, asect)
|
||||
+ bfd_section_size (abfd, asect)),
|
||||
"08l"));
|
||||
printf_filtered (" at %s",
|
||||
local_hex_string_custom
|
||||
((unsigned long) asect->filepos, "08l"));
|
||||
printf_filtered (": %s", bfd_section_name (abfd, asect));
|
||||
|
||||
if (flags & SEC_ALLOC)
|
||||
printf_filtered (" ALLOC");
|
||||
if (flags & SEC_LOAD)
|
||||
printf_filtered (" LOAD");
|
||||
if (flags & SEC_RELOC)
|
||||
printf_filtered (" RELOC");
|
||||
if (flags & SEC_READONLY)
|
||||
printf_filtered (" READONLY");
|
||||
if (flags & SEC_CODE)
|
||||
printf_filtered (" CODE");
|
||||
if (flags & SEC_DATA)
|
||||
printf_filtered (" DATA");
|
||||
if (flags & SEC_ROM)
|
||||
printf_filtered (" ROM");
|
||||
if (flags & SEC_CONSTRUCTOR)
|
||||
printf_filtered (" CONSTRUCTOR");
|
||||
if (flags & SEC_HAS_CONTENTS)
|
||||
printf_filtered (" HAS_CONTENTS");
|
||||
if (flags & SEC_NEVER_LOAD)
|
||||
printf_filtered (" NEVER_LOAD");
|
||||
if (flags & SEC_COFF_SHARED_LIBRARY)
|
||||
printf_filtered (" COFF_SHARED_LIBRARY");
|
||||
if (flags & SEC_IS_COMMON)
|
||||
printf_filtered (" IS_COMMON");
|
||||
|
||||
printf_filtered ("\n");
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
maintenance_info_sections (arg, from_tty)
|
||||
char *arg;
|
||||
int from_tty;
|
||||
{
|
||||
if (exec_bfd)
|
||||
{
|
||||
printf_filtered ("Exec file:\n");
|
||||
printf_filtered (" `%s', ", bfd_get_filename(exec_bfd));
|
||||
wrap_here (" ");
|
||||
printf_filtered ("file type %s.\n", bfd_get_target(exec_bfd));
|
||||
bfd_map_over_sections(exec_bfd, print_section_table, 0);
|
||||
}
|
||||
|
||||
if (core_bfd)
|
||||
{
|
||||
printf_filtered ("Core file:\n");
|
||||
printf_filtered (" `%s', ", bfd_get_filename(core_bfd));
|
||||
wrap_here (" ");
|
||||
printf_filtered ("file type %s.\n", bfd_get_target(core_bfd));
|
||||
bfd_map_over_sections(core_bfd, print_section_table, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
void
|
||||
maintenance_print_statistics (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{
|
||||
print_objfile_statistics ();
|
||||
print_symbol_bcache_statistics ();
|
||||
}
|
||||
|
||||
/* The "maintenance print" command is defined as a prefix, with allow_unknown
|
||||
0. Therefore, its own definition is called only for "maintenance print"
|
||||
with no args. */
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
maintenance_print_command (arg, from_tty)
|
||||
char *arg;
|
||||
int from_tty;
|
||||
{
|
||||
printf_unfiltered ("\"maintenance print\" must be followed by the name of a print command.\n");
|
||||
help_list (maintenanceprintlist, "maintenance print ", -1, gdb_stdout);
|
||||
}
|
||||
|
||||
/* The "maintenance translate-address" command converts a section and address
|
||||
to a symbol. This can be called in two ways:
|
||||
maintenance translate-address <secname> <addr>
|
||||
or maintenance translate-address <addr>
|
||||
*/
|
||||
|
||||
static void
|
||||
maintenance_translate_address (arg, from_tty)
|
||||
char *arg;
|
||||
int from_tty;
|
||||
{
|
||||
CORE_ADDR address;
|
||||
asection *sect;
|
||||
char *p;
|
||||
struct minimal_symbol *sym;
|
||||
struct objfile *objfile;
|
||||
|
||||
if (arg == NULL || *arg == 0)
|
||||
error ("requires argument (address or section + address)");
|
||||
|
||||
sect = NULL;
|
||||
p = arg;
|
||||
|
||||
if (!isdigit (*p))
|
||||
{ /* See if we have a valid section name */
|
||||
while (*p && !isspace (*p)) /* Find end of section name */
|
||||
p++;
|
||||
if (*p == '\000') /* End of command? */
|
||||
error ("Need to specify <section-name> and <address>");
|
||||
*p++ = '\000';
|
||||
while (isspace (*p)) p++; /* Skip whitespace */
|
||||
|
||||
ALL_OBJFILES (objfile)
|
||||
{
|
||||
sect = bfd_get_section_by_name (objfile->obfd, arg);
|
||||
if (sect != NULL)
|
||||
break;
|
||||
}
|
||||
|
||||
if (!sect)
|
||||
error ("Unknown section %s.", arg);
|
||||
}
|
||||
|
||||
address = parse_and_eval_address (p);
|
||||
|
||||
if (sect)
|
||||
sym = lookup_minimal_symbol_by_pc_section (address, sect);
|
||||
else
|
||||
sym = lookup_minimal_symbol_by_pc (address);
|
||||
|
||||
if (sym)
|
||||
printf_filtered ("%s+%u\n",
|
||||
SYMBOL_SOURCE_NAME (sym),
|
||||
address - SYMBOL_VALUE_ADDRESS (sym));
|
||||
else if (sect)
|
||||
printf_filtered ("no symbol at %s:0x%08x\n", sect->name, address);
|
||||
else
|
||||
printf_filtered ("no symbol at 0x%08x\n", address);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#endif /* MAINTENANCE_CMDS */
|
||||
|
||||
void
|
||||
_initialize_maint_cmds ()
|
||||
{
|
||||
#if MAINTENANCE_CMDS /* Entire file goes away if not including maint cmds */
|
||||
add_prefix_cmd ("maintenance", class_maintenance, maintenance_command,
|
||||
"Commands for use by GDB maintainers.\n\
|
||||
Includes commands to dump specific internal GDB structures in\n\
|
||||
a human readable form, to cause GDB to deliberately dump core,\n\
|
||||
to test internal functions such as the C++ demangler, etc.",
|
||||
&maintenancelist, "maintenance ", 0,
|
||||
&cmdlist);
|
||||
|
||||
add_com_alias ("mt", "maintenance", class_maintenance, 1);
|
||||
|
||||
add_prefix_cmd ("info", class_maintenance, maintenance_info_command,
|
||||
"Commands for showing internal info about the program being debugged.",
|
||||
&maintenanceinfolist, "maintenance info ", 0,
|
||||
&maintenancelist);
|
||||
|
||||
add_cmd ("sections", class_maintenance, maintenance_info_sections,
|
||||
"List the BFD sections of the exec and core files.",
|
||||
&maintenanceinfolist);
|
||||
|
||||
add_prefix_cmd ("print", class_maintenance, maintenance_print_command,
|
||||
"Maintenance command for printing GDB internal state.",
|
||||
&maintenanceprintlist, "maintenance print ", 0,
|
||||
&maintenancelist);
|
||||
|
||||
#ifndef _WIN32
|
||||
add_cmd ("dump-me", class_maintenance, maintenance_dump_me,
|
||||
"Get fatal error; make debugger dump its core.\n\
|
||||
GDB sets it's handling of SIGQUIT back to SIG_DFL and then sends\n\
|
||||
itself a SIGQUIT signal.",
|
||||
&maintenancelist);
|
||||
#endif
|
||||
|
||||
add_cmd ("demangle", class_maintenance, maintenance_demangle,
|
||||
"Demangle a C++ mangled name.\n\
|
||||
Call internal GDB demangler routine to demangle a C++ link name\n\
|
||||
and prints the result.",
|
||||
&maintenancelist);
|
||||
|
||||
add_cmd ("time", class_maintenance, maintenance_time_display,
|
||||
"Set the display of time usage.\n\
|
||||
If nonzero, will cause the execution time for each command to be\n\
|
||||
displayed, following the command's output.",
|
||||
&maintenancelist);
|
||||
|
||||
add_cmd ("space", class_maintenance, maintenance_space_display,
|
||||
"Set the display of space usage.\n\
|
||||
If nonzero, will cause the execution space for each command to be\n\
|
||||
displayed, following the command's output.",
|
||||
&maintenancelist);
|
||||
|
||||
add_cmd ("type", class_maintenance, maintenance_print_type,
|
||||
"Print a type chain for a given symbol.\n\
|
||||
For each node in a type chain, print the raw data for each member of\n\
|
||||
the type structure, and the interpretation of the data.",
|
||||
&maintenanceprintlist);
|
||||
|
||||
add_cmd ("symbols", class_maintenance, maintenance_print_symbols,
|
||||
"Print dump of current symbol definitions.\n\
|
||||
Entries in the full symbol table are dumped to file OUTFILE.\n\
|
||||
If a SOURCE file is specified, dump only that file's symbols.",
|
||||
&maintenanceprintlist);
|
||||
|
||||
add_cmd ("msymbols", class_maintenance, maintenance_print_msymbols,
|
||||
"Print dump of current minimal symbol definitions.\n\
|
||||
Entries in the minimal symbol table are dumped to file OUTFILE.\n\
|
||||
If a SOURCE file is specified, dump only that file's minimal symbols.",
|
||||
&maintenanceprintlist);
|
||||
|
||||
add_cmd ("psymbols", class_maintenance, maintenance_print_psymbols,
|
||||
"Print dump of current partial symbol definitions.\n\
|
||||
Entries in the partial symbol table are dumped to file OUTFILE.\n\
|
||||
If a SOURCE file is specified, dump only that file's partial symbols.",
|
||||
&maintenanceprintlist);
|
||||
|
||||
add_cmd ("objfiles", class_maintenance, maintenance_print_objfiles,
|
||||
"Print dump of current object file definitions.",
|
||||
&maintenanceprintlist);
|
||||
|
||||
add_cmd ("statistics", class_maintenance, maintenance_print_statistics,
|
||||
"Print statistics about internal gdb state.",
|
||||
&maintenanceprintlist);
|
||||
|
||||
add_cmd ("check-symtabs", class_maintenance, maintenance_check_symtabs,
|
||||
"Check consistency of psymtabs and symtabs.",
|
||||
&maintenancelist);
|
||||
|
||||
add_cmd ("translate-address", class_maintenance, maintenance_translate_address,
|
||||
"Translate a section name and address to a symbol.",
|
||||
&maintenancelist);
|
||||
|
||||
add_show_from_set (
|
||||
add_set_cmd ("watchdog", class_maintenance, var_zinteger, (char *)&watchdog,
|
||||
"Set watchdog timer.\n\
|
||||
When non-zero, this timeout is used instead of waiting forever for a target to\n\
|
||||
finish a low-level step or continue operation. If the specified amount of time\n\
|
||||
passes without a response from the target, an error occurs.", &setlist),
|
||||
&showlist);
|
||||
#endif /* MAINTENANCE_CMDS */
|
||||
}
|
Reference in New Issue
Block a user