This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: libgdb (was none)


> But how is anybody supposed to know what can be changed and what not?
Of course nobody can imagine what the mainatainer
of GDB will do with the sources (except of course the mainatiner itself).

> This is a perfect example of why things have to be at least documented.
> I had no idea that RHIDE did anything tricky with GDB main files, nor

That's true, but since it is not documented I thougt to assume some
things which are there since ages. For instance most of the global
variables declared in top.c and not in main.c.

The next is: I did not some tricky things with GDB main files, I simply
used them in a way so that many other people which don't like the
default commanline interface of GDB to use an other interface but
the power of GDB.

I really don't understand, why you are against such small changes
which doesn't affect any behaviour of GDB but which will help the
programming of others. (for instance simply moving the newly
introduced global variables from main.c to top.c)

> I imagine did HP or anybody else, so we'll assume that things can be
> rearranged or restructured as necessary.

I have leaned that already :-( But at this point I really don't understand,
why the the mainatainers of GNU tools nearly ever forget when introducing
new features, that there are also people, which use the GNU environment
for DOS called DJGPP where are some limitations exist. And as I have
heared, the GNU cdrom with DJGPP on it was a hit.

Sometimes I think, the GNU mainatiner have something against DJGPP.
Only as an example with the filenames in the GNU packages. There exists
a tool called doschk which is available on the GNU mirrors written by DJ Delorie.
This tool can be used to chack, if the filenames are valid for DOS. But currently
I don't know any package, which takes care of this so the people, who do
the job to port the GNU programs for DJGPP have to do for any new version
the same annoing work to convert the filenames. To illustrate it, I append
here the output of dosck on the filenames for gdb-4.17.86:


The following files are not valid DOS file names:
gdb-4.17.86/gdb/c-exp.tab.c - too many dots
gdb-4.17.86/gdb/jv-exp.tab.c - too many dots
gdb-4.17.86/gdb/f-exp.tab.c - too many dots
gdb-4.17.86/gdb/m2-exp.tab.c - too many dots
gdb-4.17.86/gdb/nindy-share/b.out.h - too many dots
gdb-4.17.86/gdb/testsuite/.gdbinit - file name cannot start with dot
gdb-4.17.86/readline/config.h.bot - too many dots
gdb-4.17.86/readline/config.h.in - too many dots
gdb-4.17.86/sim/ppc/.gdbinit - file name cannot start with dot
gdb-4.17.86/intl/intlh.inst.in - too many dots
gdb-4.17.86/intl/po2tbl.sed.in - too many dots

The following resolve to the same DOS file names:
   ALPHA-OS.MH : gdb-4.17.86/gdb/config/alpha/alpha-osf1.mh
		 gdb-4.17.86/gdb/config/alpha/alpha-osf2.mh
		 gdb-4.17.86/gdb/config/alpha/alpha-osf3.mh
   APOLLO68.MH : gdb-4.17.86/gdb/config/m68k/apollo68b.mh
		 gdb-4.17.86/gdb/config/m68k/apollo68v.mh
       BFD.INF : gdb-4.17.86/bfd/doc/bfd.info
		 gdb-4.17.86/bfd/doc/bfd.info-1
		 gdb-4.17.86/bfd/doc/bfd.info-2
		 gdb-4.17.86/bfd/doc/bfd.info-3
		 gdb-4.17.86/bfd/doc/bfd.info-4
		 gdb-4.17.86/bfd/doc/bfd.info-5
		 gdb-4.17.86/bfd/doc/bfd.info-6
    CALLFUNC.C : gdb-4.17.86/gdb/testsuite/gdb.base/callfuncs.c
		 gdb-4.17.86/gdb/testsuite/gdb.base/callfuncs2.c
  CALLFUNC.EXP : gdb-4.17.86/gdb/testsuite/gdb.base/callfuncs.exp
		 gdb-4.17.86/gdb/testsuite/gdb.base/callfuncs2.exp
      CHANGELO : gdb-4.17.86/bfd/ChangeLog
		 gdb-4.17.86/bfd/ChangeLog-9193
		 gdb-4.17.86/bfd/ChangeLog-9495
		 gdb-4.17.86/bfd/ChangeLog-9697
      CHANGELO : gdb-4.17.86/gdb/ChangeLog
		 gdb-4.17.86/gdb/ChangeLog-9091
		 gdb-4.17.86/gdb/ChangeLog-92
		 gdb-4.17.86/gdb/ChangeLog-93
		 gdb-4.17.86/gdb/ChangeLog-94
		 gdb-4.17.86/gdb/ChangeLog-95
		 gdb-4.17.86/gdb/ChangeLog-96
		 gdb-4.17.86/gdb/ChangeLog-97
		 gdb-4.17.86/gdb/ChangeLog-98
      CHANGELO : gdb-4.17.86/readline/CHANGELOG
		 gdb-4.17.86/readline/ChangeLog
    CMA_STAC.H : gdb-4.17.86/gdb/osf-share/cma_stack.h
		 gdb-4.17.86/gdb/osf-share/cma_stack_int.h
    COREFILE.H : gdb-4.17.86/sim/ppc/corefile-n.h
		 gdb-4.17.86/sim/ppc/corefile.h
   CTTI-ADD.CC : gdb-4.17.86/gdb/testsuite/gdb.hp/ctti-add.cc
		 gdb-4.17.86/gdb/testsuite/gdb.hp/ctti-add1.cc
		 gdb-4.17.86/gdb/testsuite/gdb.hp/ctti-add2.cc
		 gdb-4.17.86/gdb/testsuite/gdb.hp/ctti-add3.cc
    DV-MN103.C : gdb-4.17.86/sim/mn10300/dv-mn103cpu.c
		 gdb-4.17.86/sim/mn10300/dv-mn103int.c
		 gdb-4.17.86/sim/mn10300/dv-mn103iop.c
		 gdb-4.17.86/sim/mn10300/dv-mn103ser.c
		 gdb-4.17.86/sim/mn10300/dv-mn103tim.c
    DV-TX390.C : gdb-4.17.86/sim/mips/dv-tx3904cpu.c
		 gdb-4.17.86/sim/mips/dv-tx3904irc.c
		 gdb-4.17.86/sim/mips/dv-tx3904sio.c
		 gdb-4.17.86/sim/mips/dv-tx3904tmr.c
   EXTSTRUC.CH : gdb-4.17.86/gdb/testsuite/gdb.chill/extstruct-grt.ch
		 gdb-4.17.86/gdb/testsuite/gdb.chill/extstruct.ch
       GDB.INF : gdb-4.17.86/gdb/doc/gdb.info
		 gdb-4.17.86/gdb/doc/gdb.info-1
		 gdb-4.17.86/gdb/doc/gdb.info-10
		 gdb-4.17.86/gdb/doc/gdb.info-2
		 gdb-4.17.86/gdb/doc/gdb.info-3
		 gdb-4.17.86/gdb/doc/gdb.info-4
		 gdb-4.17.86/gdb/doc/gdb.info-5
		 gdb-4.17.86/gdb/doc/gdb.info-6
		 gdb-4.17.86/gdb/doc/gdb.info-7
		 gdb-4.17.86/gdb/doc/gdb.info-8
		 gdb-4.17.86/gdb/doc/gdb.info-9
    GDBINT.INF : gdb-4.17.86/gdb/doc/gdbint.info
		 gdb-4.17.86/gdb/doc/gdbint.info-1
		 gdb-4.17.86/gdb/doc/gdbint.info-2
		 gdb-4.17.86/gdb/doc/gdbint.info-3
    IDECODE_.H : gdb-4.17.86/sim/ppc/idecode_branch.h
		 gdb-4.17.86/sim/ppc/idecode_expression.h
		 gdb-4.17.86/sim/ppc/idecode_fields.h
    LS-LD4BH.S : gdb-4.17.86/sim/testsuite/d30v-elf/ls-ld4bh.S
		 gdb-4.17.86/sim/testsuite/d30v-elf/ls-ld4bhu.S
    M68K-AOU.U : gdb-4.17.86/gdb/testsuite/gdb.base/m68k-aout.u
		 gdb-4.17.86/gdb/testsuite/gdb.base/m68k-aout2.u
    NM-APOLL.H : gdb-4.17.86/gdb/config/m68k/nm-apollo68b.h
		 gdb-4.17.86/gdb/config/m68k/nm-apollo68v.h
    NM-HP300.H : gdb-4.17.86/gdb/config/m68k/nm-hp300bsd.h
		 gdb-4.17.86/gdb/config/m68k/nm-hp300hpux.h
    NM-HPPAH.H : gdb-4.17.86/gdb/config/pa/nm-hppah.h
		 gdb-4.17.86/gdb/config/pa/nm-hppah11.h
    NM-I386S.H : gdb-4.17.86/gdb/config/i386/nm-i386sco.h
		 gdb-4.17.86/gdb/config/i386/nm-i386sco4.h
		 gdb-4.17.86/gdb/config/i386/nm-i386sco5.h
		 gdb-4.17.86/gdb/config/i386/nm-i386sol2.h
    NM-I386V.H : gdb-4.17.86/gdb/config/i386/nm-i386v.h
		 gdb-4.17.86/gdb/config/i386/nm-i386v4.h
		 gdb-4.17.86/gdb/config/i386/nm-i386v42mp.h
    NM-RS600.H : gdb-4.17.86/gdb/config/rs6000/nm-rs6000.h
		 gdb-4.17.86/gdb/config/rs6000/nm-rs6000ly.h
    POINTERS.C : gdb-4.17.86/gdb/testsuite/gdb.base/pointers.c
		 gdb-4.17.86/gdb/testsuite/gdb.base/pointers2.c
  POINTERS.EXP : gdb-4.17.86/gdb/testsuite/gdb.base/pointers.exp
		 gdb-4.17.86/gdb/testsuite/gdb.base/pointers2.exp
   REF-TYPE.CC : gdb-4.17.86/gdb/testsuite/gdb.c++/ref-types.cc
		 gdb-4.17.86/gdb/testsuite/gdb.c++/ref-types2.cc
  REF-TYPE.EXP : gdb-4.17.86/gdb/testsuite/gdb.c++/ref-types.exp
		 gdb-4.17.86/gdb/testsuite/gdb.c++/ref-types2.exp
    REMOTE-A.C : gdb-4.17.86/gdb/remote-adapt.c
		 gdb-4.17.86/gdb/remote-array.c
    REMOTE-E.C : gdb-4.17.86/gdb/remote-e7000.c
		 gdb-4.17.86/gdb/remote-eb.c
		 gdb-4.17.86/gdb/remote-es.c
		 gdb-4.17.86/gdb/remote-est.c
    REMOTE-M.C : gdb-4.17.86/gdb/remote-mips.c
		 gdb-4.17.86/gdb/remote-mm.c
    REMOTE-N.C : gdb-4.17.86/gdb/remote-nindy.c
		 gdb-4.17.86/gdb/remote-nrom.c
    REMOTE-R.C : gdb-4.17.86/gdb/remote-rdi.c
		 gdb-4.17.86/gdb/remote-rdp.c
    REMOTE-S.C : gdb-4.17.86/gdb/remote-sds.c
		 gdb-4.17.86/gdb/remote-sim.c
		 gdb-4.17.86/gdb/remote-st.c
    REMOTE-U.C : gdb-4.17.86/gdb/remote-udi.c
		 gdb-4.17.86/gdb/remote-utils.c
    REMOTE-V.C : gdb-4.17.86/gdb/remote-vx.c
		 gdb-4.17.86/gdb/remote-vx29k.c
		 gdb-4.17.86/gdb/remote-vx68.c
		 gdb-4.17.86/gdb/remote-vx960.c
		 gdb-4.17.86/gdb/remote-vxmips.c
		 gdb-4.17.86/gdb/remote-vxsparc.c
    SIM-ENDI.H : gdb-4.17.86/sim/ppc/sim-endian-n.h
		 gdb-4.17.86/sim/ppc/sim-endian.h
    SPARCLET.C : gdb-4.17.86/gdb/sparclet-rom.c
		 gdb-4.17.86/gdb/sparclet-stub.c
     STABS.INF : gdb-4.17.86/gdb/doc/stabs.info
		 gdb-4.17.86/gdb/doc/stabs.info-1
		 gdb-4.17.86/gdb/doc/stabs.info-2
		 gdb-4.17.86/gdb/doc/stabs.info-3
		 gdb-4.17.86/gdb/doc/stabs.info-4
    TM-ALPHA.H : gdb-4.17.86/gdb/config/alpha/tm-alpha.h
		 gdb-4.17.86/gdb/config/alpha/tm-alphalinux.h
    TM-BIGMI.H : gdb-4.17.86/gdb/config/mips/tm-bigmips.h
		 gdb-4.17.86/gdb/config/mips/tm-bigmips64.h
    TM-DELTA.H : gdb-4.17.86/gdb/config/m88k/tm-delta88.h
		 gdb-4.17.86/gdb/config/m88k/tm-delta88v4.h
    TM-EMBED.H : gdb-4.17.86/gdb/config/mips/tm-embed.h
		 gdb-4.17.86/gdb/config/mips/tm-embed64.h
		 gdb-4.17.86/gdb/config/mips/tm-embedl.h
		 gdb-4.17.86/gdb/config/mips/tm-embedl64.h
    TM-HP300.H : gdb-4.17.86/gdb/config/m68k/tm-hp300bsd.h
		 gdb-4.17.86/gdb/config/m68k/tm-hp300hpux.h
    TM-I386M.H : gdb-4.17.86/gdb/config/i386/tm-i386m3.h
		 gdb-4.17.86/gdb/config/i386/tm-i386mk.h
    TM-I386S.H : gdb-4.17.86/gdb/config/i386/tm-i386sco5.h
		 gdb-4.17.86/gdb/config/i386/tm-i386sol2.h
    TM-I386V.H : gdb-4.17.86/gdb/config/i386/tm-i386v.h
		 gdb-4.17.86/gdb/config/i386/tm-i386v4.h
		 gdb-4.17.86/gdb/config/i386/tm-i386v42mp.h
    TM-PPCLE.H : gdb-4.17.86/gdb/config/powerpc/tm-ppcle-eabi.h
		 gdb-4.17.86/gdb/config/powerpc/tm-ppcle-sim.h
    TM-RS600.H : gdb-4.17.86/gdb/config/rs6000/tm-rs6000-aix4.h
		 gdb-4.17.86/gdb/config/rs6000/tm-rs6000.h
		 gdb-4.17.86/gdb/config/rs6000/tm-rs6000ly.h
    TM-SPARC.H : gdb-4.17.86/gdb/config/sparc/tm-sparc.h
		 gdb-4.17.86/gdb/config/sparc/tm-sparclet.h
		 gdb-4.17.86/gdb/config/sparc/tm-sparclite.h
		 gdb-4.17.86/gdb/config/sparc/tm-sparclynx.h
    TM-VR430.H : gdb-4.17.86/gdb/config/mips/tm-vr4300.h
		 gdb-4.17.86/gdb/config/mips/tm-vr4300el.h
    TM-VR500.H : gdb-4.17.86/gdb/config/mips/tm-vr5000.h
		 gdb-4.17.86/gdb/config/mips/tm-vr5000el.h
    TUISOURC.C : gdb-4.17.86/gdb/tui/tuiSource.c
		 gdb-4.17.86/gdb/tui/tuiSourceWin.c
    TUISOURC.H : gdb-4.17.86/gdb/tui/tuiSource.h
		 gdb-4.17.86/gdb/tui/tuiSourceWin.h
    XM-ALPHA.H : gdb-4.17.86/gdb/config/alpha/xm-alphalinux.h
		 gdb-4.17.86/gdb/config/alpha/xm-alphaosf.h
    XM-APOLL.H : gdb-4.17.86/gdb/config/m68k/xm-apollo68b.h
		 gdb-4.17.86/gdb/config/m68k/xm-apollo68v.h
    XM-DELTA.H : gdb-4.17.86/gdb/config/m88k/xm-delta88.h
		 gdb-4.17.86/gdb/config/m88k/xm-delta88v4.h
    XM-HP300.H : gdb-4.17.86/gdb/config/m68k/xm-hp300bsd.h
		 gdb-4.17.86/gdb/config/m68k/xm-hp300hpux.h
    XM-I386M.H : gdb-4.17.86/gdb/config/i386/xm-i386m3.h
		 gdb-4.17.86/gdb/config/i386/xm-i386mach.h
		 gdb-4.17.86/gdb/config/i386/xm-i386mk.h
    XM-I386V.H : gdb-4.17.86/gdb/config/i386/xm-i386v.h
		 gdb-4.17.86/gdb/config/i386/xm-i386v32.h
		 gdb-4.17.86/gdb/config/i386/xm-i386v4.h
    XM-RS600.H : gdb-4.17.86/gdb/config/rs6000/xm-rs6000.h
		 gdb-4.17.86/gdb/config/rs6000/xm-rs6000ly.h
    XM-SPARC.H : gdb-4.17.86/gdb/config/sparc/xm-sparc.h
		 gdb-4.17.86/gdb/config/sparc/xm-sparclynx.h
    XM-VAXUL.H : gdb-4.17.86/gdb/config/vax/xm-vaxult.h
		 gdb-4.17.86/gdb/config/vax/xm-vaxult2.h

The following resolve to the same SysV file names:
filter_filenam : gdb-4.17.86/sim/ppc/filter_filename.c
		 gdb-4.17.86/sim/ppc/filter_filename.h
gen-semantics. : gdb-4.17.86/sim/igen/gen-semantics.c
		 gdb-4.17.86/sim/igen/gen-semantics.h
gen-semantics. : gdb-4.17.86/sim/ppc/gen-semantics.c
		 gdb-4.17.86/sim/ppc/gen-semantics.h
hw-properties. : gdb-4.17.86/sim/common/hw-properties.c
		 gdb-4.17.86/sim/common/hw-properties.h
tuiGeneralWin. : gdb-4.17.86/gdb/tui/tuiGeneralWin.c
		 gdb-4.17.86/gdb/tui/tuiGeneralWin.h

The following file names are too long for SysV:
ChangeLog.Cygn : gdb-4.17.86/intl/ChangeLog.Cygnus
a1-selftest.ex : gdb-4.17.86/gdb/testsuite/gdb.base/a1-selftest.exp
cma_debug_clie : gdb-4.17.86/gdb/osf-share/cma_debug_client.h
cma_semaphore_ : gdb-4.17.86/gdb/osf-share/cma_semaphore_defs.h
cma_stack_int. : gdb-4.17.86/gdb/osf-share/cma_stack_int.h
cma_thread_io. : gdb-4.17.86/gdb/osf-share/AT386/cma_thread_io.h
cma_thread_io. : gdb-4.17.86/gdb/osf-share/HP800/cma_thread_io.h
cma_thread_io. : gdb-4.17.86/gdb/osf-share/RIOS/cma_thread_io.h
emc-support.ex : gdb-4.17.86/gdb/testsuite/lib/emc-support.exp
exc_request.de : gdb-4.17.86/gdb/exc_request.defs
execd-program. : gdb-4.17.86/gdb/testsuite/gdb.hp/execd-program.c
extstruct-grt. : gdb-4.17.86/gdb/testsuite/gdb.chill/extstruct-grt.ch
forward-includ : gdb-4.17.86/config/mpw/forward-include
gen-so-thresh. : gdb-4.17.86/gdb/testsuite/gdb.hp/gen-so-thresh.c
hp-psymtab-rea : gdb-4.17.86/gdb/hp-psymtab-read.c
hp-symtab-read : gdb-4.17.86/gdb/hp-symtab-read.c
idecode_branch : gdb-4.17.86/sim/ppc/idecode_branch.h
idecode_expres : gdb-4.17.86/sim/ppc/idecode_expression.h
idecode_fields : gdb-4.17.86/sim/ppc/idecode_fields.h
m68klinux-nat. : gdb-4.17.86/gdb/m68klinux-nat.c
mn10300-eval.e : gdb-4.17.86/gdb/testsuite/config/mn10300-eval.exp
ns32knbsd-nat. : gdb-4.17.86/gdb/ns32knbsd-nat.c
ppc-cache-rule : gdb-4.17.86/sim/ppc/ppc-cache-rules
ppc-instructio : gdb-4.17.86/sim/ppc/ppc-instructions
process_reply. : gdb-4.17.86/gdb/process_reply.defs
remote-vxmips. : gdb-4.17.86/gdb/remote-vxmips.c
remote-vxsparc : gdb-4.17.86/gdb/remote-vxsparc.c
reply_mig_hack : gdb-4.17.86/gdb/reply_mig_hack.awk
sim_callbacks. : gdb-4.17.86/sim/ppc/sim_callbacks.h
so-thresh.link : gdb-4.17.86/gdb/testsuite/gdb.hp/so-thresh.linkopts
sparclet-stub. : gdb-4.17.86/gdb/sparclet-stub.c
tm-alphalinux. : gdb-4.17.86/gdb/config/alpha/tm-alphalinux.h
tm-ppcle-eabi. : gdb-4.17.86/gdb/config/powerpc/tm-ppcle-eabi.h
tm-rs6000-aix4 : gdb-4.17.86/gdb/config/rs6000/tm-rs6000-aix4.h
trace-support. : gdb-4.17.86/gdb/testsuite/lib/trace-support.exp
vforked-progra : gdb-4.17.86/gdb/testsuite/gdb.hp/vforked-program.c
while-stepping : gdb-4.17.86/gdb/testsuite/gdb.trace/while-stepping.exp
xm-alphalinux. : gdb-4.17.86/gdb/config/alpha/xm-alphalinux.h
******************************************************
* email:   Robert Hoehne <robert.hoehne@gmx.net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************