[image of Archer
Fish]

GDB: The GNU Project Debugger

[bugs] [committee] [contributing] [current cvs] [documentation] [download] [home] [irc] [links] [mailing lists] [news] [schedule] [song] [wiki]

A.R. Index for GDB version 6.8.0.20090704

40.5741

You can not take this seriously!

Also available: most recent branch | current | last release
Last updated: Sat Jul 4 02:04:48 UTC 2009

Critical

Things previously eliminated but returned. This should always be empty.

BUGTotalDescription
PTR6Do not use PTR, ISO C 90 implies `void *'
IN SOLIB DYNSYM RESOLVE CODE5Replace IN_SOLIB_DYNSYM_RESOLVE_CODE with nothing, not needed?
TARGET HAS HARDWARE WATCHPOINTS5Replace TARGET_HAS_HARDWARE_WATCHPOINTS with nothing, not needed
SOLIB LOADED LIBRARY PATHNAME4Replace SOLIB_LOADED_LIBRARY_PATHNAME with nothing, not needed?
ADD SHARED SYMBOL FILES3Replace ADD_SHARED_SYMBOL_FILES with nothing, not needed?
FUNCTION EPILOGUE SIZE2Replace FUNCTION_EPILOGUE_SIZE with nothing, not needed?
var boolean2Replace var_boolean with add_setshow_boolean_cmd
asprintf1Do not use asprintf(), instead use xstrprintf()
dirent.h1Do not include dirent.h, instead include gdb_dirent.h
d namelen1Do not use dirent.d_namelen, instead use NAMELEN
gdb/utils.c missing abort1Expecting 4 occurances of bug abort in file gdb/utils.c, only found 3
hash1Do not use ` #...', instead use `#...'(some compilers only correctly parse a C preprocessor directive when `#' is the first character on the line)
strlen d name1Do not use strlen dirent.d_name, instead use NAMELEN
1333

File Total  %ll  %p  ADD SHARED SYMBOL FILES  asprintf  d namelen  deprecated  dirent.h  editCase function  frame register read  FUNCTION EPILOGUE SIZE  get frame base  hash  if assignment  IN SOLIB DYNSYM RESOLVE CODE  inline  long long  OP eol  PTR  SOLIB LOADED LIBRARY PATHNAME  sprintf  strlen d name  TARGET HAS HARDWARE WATCHPOINTS  UCASE function  var boolean   Total File
Totals 1477> 24^v  18^v  3^v  1^v  1^v  712^v  1^v  12^v  19^v  2^v  22^v  1^v  103^v  5^v  9^v  50^v  314^v  6^v  4^v  145^v  1^v  5^v  17^v  2^v  1477< Totals
ada-exp.y 2>                                 1^v      1^v          2< ada-exp.y
ada-lang.c 14>           7^v                            7^v          14< ada-lang.c
addrmap.c 1>               1^v                                  1< addrmap.c
aix-thread.c 9>                         2^v      5^v  2^v                9< aix-thread.c
alpha-nat.c 1>           1^v                                      1< alpha-nat.c
alpha-tdep.c 2>                 1^v                1^v                2< alpha-tdep.c
alphanbsd-tdep.c 1>                     1^v                            1< alphanbsd-tdep.c
annotate.c 19>           19^v                                      19< annotate.c
annotate.h 5>           5^v                                      5< annotate.h
arch-utils.c 2>           2^v                                      2< arch-utils.c
arm-tdep.c 15>           1^v                      14^v                15< arm-tdep.c
armnbsd-nat.c 2>           2^v                                      2< armnbsd-nat.c
ax-gdb.c 2>           2^v                                      2< ax-gdb.c
bcache.c 1>           1^v                                      1< bcache.c
bcache.h 1>           1^v                                      1< bcache.h
blockframe.c 6>           5^v                      1^v                6< blockframe.c
breakpoint.c 49>           14^v              3^v        28^v    4^v            49< breakpoint.c
breakpoint.h 2>           2^v                                      2< breakpoint.h
buildsym.c 4>           1^v                      3^v                4< buildsym.c
c-exp.y 4>                                 4^v                4< c-exp.y
c-typeprint.c 9>                                 9^v                9< c-typeprint.c
c-valprint.c 3>           2^v                      1^v                3< c-valprint.c
cli-out.c 1>                                       1^v          1< cli-out.c
cli/cli-cmds.c 11>           6^v              5^v                        11< cli/cli-cmds.c
cli/cli-decode.c 12>           9^v                      3^v                12< cli/cli-decode.c
cli/cli-decode.h 2>           2^v                                      2< cli/cli-decode.h
cli/cli-script.c 9>           5^v                            4^v          9< cli/cli-script.c
cli/cli-setshow.c 4>           4^v                                      4< cli/cli-setshow.c
coffread.c 29>           19^v        2^v      1^v        7^v                29< coffread.c
command.h 3>           3^v                                      3< command.h
complaints.c 2>           2^v                                      2< complaints.c
config/i386/nm-cygwin.h 1>     1^v                                            1< config/i386/nm-cygwin.h
config/i386/nm-i386sol2.h 1>                                           1^v      1< config/i386/nm-i386sol2.h
config/mips/nm-irix5.h 2>                           1^v                1^v      2< config/mips/nm-irix5.h
config/rs6000/nm-rs6000.h 1>           1^v                                      1< config/rs6000/nm-rs6000.h
config/sparc/nm-sol2.h 1>                                           1^v      1< config/sparc/nm-sol2.h
core-regset.c 1>           1^v                                      1< core-regset.c
corefile.c 5>           5^v                                      5< corefile.c
corelow.c 5>           4^v                      1^v                5< corelow.c
cris-tdep.c 2>           1^v                      1^v                2< cris-tdep.c
dbxread.c 9>           8^v              1^v                        9< dbxread.c
defs.h 33>           31^v                    2^v                  33< defs.h
dfp.c 1>       1^v                                          1< dfp.c
doublest.c 3>           2^v                      1^v                3< doublest.c
doublest.h 2>           2^v                                      2< doublest.h
dsrec.c 4>           4^v                                      4< dsrec.c
dummy-frame.c 1>           1^v                                      1< dummy-frame.c
dwarf2-frame.c 1>                     1^v                            1< dwarf2-frame.c
dwarf2expr.c 1>                     1^v                            1< dwarf2expr.c
dwarf2expr.h 1>                     1^v                            1< dwarf2expr.h
dwarf2loc.c 2>                     2^v                            2< dwarf2loc.c
dwarf2read.c 7>           3^v                      3^v      1^v          7< dwarf2read.c
elfread.c 7>           7^v                                      7< elfread.c
eval.c 9>           3^v                      6^v                9< eval.c
event-loop.c 3>                                 3^v                3< event-loop.c
exceptions.c 3>           3^v                                      3< exceptions.c
exceptions.h 1>           1^v                                      1< exceptions.h
exec.c 8>           7^v                      1^v                8< exec.c
expprint.c 3>           1^v                      1^v      1^v          3< expprint.c
f-exp.y 1>                                 1^v                1< f-exp.y
f-typeprint.c 2>                                 2^v                2< f-typeprint.c
f-valprint.c 15>           11^v          4^v                            15< f-valprint.c
findvar.c 2>           2^v                                      2< findvar.c
frame-base.c 1>                     1^v                            1< frame-base.c
frame.c 13>           7^v      5^v    1^v                            13< frame.c
frame.h 7>           5^v      1^v    1^v                            7< frame.h
frv-tdep.c 2>                                       2^v          2< frv-tdep.c
gcore.c 3>                     2^v                  1^v          3< gcore.c
gdb-events.c 2>           2^v                                      2< gdb-events.c
gdb-events.h 1>           1^v                                      1< gdb-events.h
gdb-stabs.h 1>           1^v                                      1< gdb-stabs.h
gdb_dirent.h 3>         1^v    1^v                            1^v        3< gdb_dirent.h
gdbarch.c 15>           15^v                                      15< gdbarch.c
gdbarch.h 4>           4^v                                      4< gdbarch.h
gdbcore.h 3>           3^v                                      3< gdbcore.h
gdbtypes.c 1>                         1^v                        1< gdbtypes.c
gnu-nat.c 14>   2^v        2^v                            3^v      6^v  1^v  14< gnu-nat.c
gnu-nat.h 1>   1^v                                              1< gnu-nat.h
gnu-v2-abi.c 3>           2^v                      1^v                3< gnu-v2-abi.c
go32-nat.c 7> 1^v          1^v              1^v      1^v  2^v      1^v          7< go32-nat.c
hppa-hpux-tdep.c 8>           5^v                      3^v                8< hppa-hpux-tdep.c
hppa-tdep.c 1>               1^v                                  1< hppa-tdep.c
hppanbsd-nat.c 3>                                 3^v                3< hppanbsd-nat.c
hpux-thread.c 21>           20^v                            1^v          21< hpux-thread.c
i386-nat.c 2>           1^v                                    1^v  2< i386-nat.c
ia64-tdep.c 28>   4^v            2^v  1^v              12^v  9^v                28< ia64-tdep.c
infcmd.c 9>           7^v      1^v                1^v                9< infcmd.c
infrun.c 20>           9^v                4^v            7^v          20< infrun.c
interps.c 22>           21^v                            1^v          22< interps.c
irix5-nat.c 1>           1^v                                      1< irix5-nat.c
jv-exp.y 4>                                 3^v      1^v          4< jv-exp.y
jv-lang.c 3>           3^v                                      3< jv-lang.c
jv-valprint.c 1>                         1^v                        1< jv-valprint.c
language.c 17>           4^v                      13^v                17< language.c
libunwind-frame.c 1>           1^v                                      1< libunwind-frame.c
linespec.c 15>           2^v              2^v        9^v      2^v          15< linespec.c
linux-fork.c 5>                         4^v        1^v                5< linux-fork.c
linux-nat.c 39> 11^v                        9^v      8^v        11^v          39< linux-nat.c
m2-exp.y 4>                                 4^v                4< m2-exp.y
m2-valprint.c 2>                                 2^v                2< m2-valprint.c
m32c-tdep.c 5>                                 3^v      2^v          5< m32c-tdep.c
m32r-linux-nat.c 1>                         1^v                        1< m32r-linux-nat.c
m68hc11-tdep.c 1>                                       1^v          1< m68hc11-tdep.c
m68klinux-nat.c 3>           1^v                            2^v          3< m68klinux-nat.c
macroscope.c 1>           1^v                                      1< macroscope.c
main.c 3>           3^v                                      3< main.c
maint.c 4>           4^v                                      4< maint.c
mdebugread.c 11>           5^v                      6^v                11< mdebugread.c
mi/mi-cmd-break.c 2>           2^v                                      2< mi/mi-cmd-break.c
mi/mi-interp.c 26>           26^v                                      26< mi/mi-interp.c
mi/mi-main.c 2>                                 1^v      1^v          2< mi/mi-main.c
mi/mi-out.c 1>                                       1^v          1< mi/mi-out.c
minsyms.c 6>           1^v                      5^v                6< minsyms.c
mips-linux-tdep.c 1>           1^v                                      1< mips-linux-tdep.c
mips-tdep.c 12>           2^v      4^v                6^v                12< mips-tdep.c
mips-tdep.h 1>           1^v                                      1< mips-tdep.h
mn10300-tdep.c 2>                                 2^v                2< mn10300-tdep.c
monitor.c 18>           2^v              6^v      6^v  1^v      3^v          18< monitor.c
mt-tdep.c 8>                 4^v              1^v  2^v      1^v          8< mt-tdep.c
nto-procfs.c 5>           2^v                    2^v  1^v                5< nto-procfs.c
nto-tdep.c 6>                                       5^v      1^v    6< nto-tdep.c
objc-exp.y 10>                         1^v        9^v                10< objc-exp.y
objc-lang.c 14>           1^v                      13^v                14< objc-lang.c
objfiles.c 1>                                 1^v                1< objfiles.c
objfiles.h 4>           4^v                                      4< objfiles.h
parse.c 7>           1^v                      6^v                7< parse.c
ppc-linux-nat.c 3>                               1^v        2^v          3< ppc-linux-nat.c
ppc-sysv-tdep.c 1>                                 1^v                1< ppc-sysv-tdep.c
printcmd.c 13>           7^v              1^v      2^v  3^v                13< printcmd.c
procfs.c 71>           6^v    2^v          23^v        25^v      13^v    2^v      71< procfs.c
reggroups.c 1>           1^v                                      1< reggroups.c
remote-fileio.c 4>           1^v                      1^v      2^v          4< remote-fileio.c
remote-m32r-sdi.c 3>           1^v                            2^v          3< remote-m32r-sdi.c
remote-sim.c 5>           5^v                                      5< remote-sim.c
remote.c 30>           11^v    5^v          3^v        1^v      10^v          30< remote.c
remote.h 2>           2^v                                      2< remote.h
rs6000-nat.c 6> 1^v          2^v                    3^v                  6< rs6000-nat.c
rs6000-tdep.c 24>           1^v          1^v            22^v                24< rs6000-tdep.c
scm-lang.c 1>                         1^v                        1< scm-lang.c
scm-valprint.c 1>                                       1^v          1< scm-valprint.c
score-tdep.c 3>                         3^v                        3< score-tdep.c
ser-base.c 2>           2^v                                      2< ser-base.c
ser-go32.c 1>                         1^v                        1< ser-go32.c
ser-tcp.c 2>           2^v                                      2< ser-tcp.c
ser-unix.c 2>           2^v                                      2< ser-unix.c
serial.c 1>           1^v                                      1< serial.c
serial.h 1>           1^v                                      1< serial.h
sh64-tdep.c 10>           1^v      2^v              7^v                  10< sh64-tdep.c
sol-thread.c 19>           8^v    1^v          3^v              7^v          19< sol-thread.c
solib-irix.c 3>           2^v              1^v                        3< solib-irix.c
solib-pa64.c 11> 11^v                                                11< solib-pa64.c
solib-som.c 1>                         1^v                        1< solib-som.c
solib-sunos.c 4>                         1^v                    3^v    4< solib-sunos.c
solib-svr4.c 7>                                             7^v    7< solib-svr4.c
solib.c 1>                                 1^v                1< solib.c
somread.c 2>           2^v                                      2< somread.c
source.c 5>                                       5^v          5< source.c
stabsread.c 41>           37^v                      4^v                41< stabsread.c
stack.c 16>           13^v          3^v                            16< stack.c
symfile.c 27>     2^v      16^v              1^v        5^v      3^v          27< symfile.c
symmisc.c 22>   9^v        10^v              3^v                        22< symmisc.c
symtab.c 24>                         1^v        19^v      4^v          24< symtab.c
symtab.h 1>           1^v                                      1< symtab.h
target.c 12>           12^v                                      12< target.c
target.h 2>           2^v                                      2< target.h
thread.c 1>                         1^v                        1< thread.c
top.c 32>           31^v                      1^v                32< top.c
tracepoint.c 80>           39^v          3^v    6^v        16^v      16^v          80< tracepoint.c
tracepoint.h 5>           5^v                                      5< tracepoint.h
tui/tui-data.c 2>                         2^v                        2< tui/tui-data.c
tui/tui-hooks.c 14>           14^v                                      14< tui/tui-hooks.c
tui/tui-io.c 1>                                       1^v          1< tui/tui-io.c
tui/tui-layout.c 1>                                 1^v                1< tui/tui-layout.c
tui/tui-out.c 1>                                       1^v          1< tui/tui-out.c
tui/tui-regs.c 1>                         1^v                        1< tui/tui-regs.c
tui/tui-source.c 5>                         2^v              3^v          5< tui/tui-source.c
tui/tui-stack.c 7>           1^v                            6^v          7< tui/tui-stack.c
tui/tui-win.c 4>           2^v                            2^v          4< tui/tui-win.c
tui/tui-windata.c 2>                         1^v        1^v                2< tui/tui-windata.c
tui/tui.c 2>           2^v                                      2< tui/tui.c
typeprint.c 2>           2^v                                      2< typeprint.c
user-regs.c 1>           1^v                                      1< user-regs.c
utils.c 15>           6^v                      3^v  6^v              15< utils.c
v850-tdep.c 2>                         2^v                        2< v850-tdep.c
valarith.c 3>                         1^v        2^v                3< valarith.c
valops.c 19>           17^v                      2^v                19< valops.c
valprint.c 1>                                 1^v                1< valprint.c
value.c 8>           8^v                                      8< value.c
value.h 13>           13^v                                      13< value.h
varobj.c 4>           2^v                      2^v                4< varobj.c
vec.c 1>                             1^v                    1< vec.c
vec.h 7>                             7^v                    7< vec.h
win32-nat.c 15>           6^v              4^v              5^v          15< win32-nat.c
xcoffread.c 28>           27^v              1^v                        28< xcoffread.c
xstormy16-tdep.c 1>                                 1^v                1< xstormy16-tdep.c
xtensa-tdep.c 7>   2^v                    1^v  1^v    1^v    1^v      1^v          7< xtensa-tdep.c
Totals 1477> 24^v  18^v  3^v  1^v  1^v  712^v  1^v  12^v  19^v  2^v  22^v  1^v  103^v  5^v  9^v  50^v  314^v  6^v  4^v  145^v  1^v  5^v  17^v  2^v  1477< Totals
File Total  %ll  %p  ADD SHARED SYMBOL FILES  asprintf  d namelen  deprecated  dirent.h  editCase function  frame register read  FUNCTION EPILOGUE SIZE  get frame base  hash  if assignment  IN SOLIB DYNSYM RESOLVE CODE  inline  long long  OP eol  PTR  SOLIB LOADED LIBRARY PATHNAME  sprintf  strlen d name  TARGET HAS HARDWARE WATCHPOINTS  UCASE function  var boolean   Total File

Code

Coding standard problems, portability problems, readability problems.

BUGTotalDescription
OP eol314Do not use &&, or || at the end of a line
sprintf145Do not use sprintf, instead use xstrprintf
if assignment103An IF statement's expression contains an assignment
long long50Do not use `long long', instead use LONGEST
%ll24Do not use printf("%ll"), instead use printf("%s",phex()) to dump a `long long' value
%p18Do not use printf("%p"), instead use printf("%s",paddr()) to dump a target address
UCASE function17Function name is uppercase.
editCase function12Function name starts lower case but has uppercased letters.
inline9Do not use the inline attribute; since the compiler generally ignores this, better algorithm selection is needed to improved performance
if clause more than 50 lines0An IF statement's expression expands over 50 lines
10692

Comments

Problems concerning comments in source files.

BUGTotalDescription
GNU/Linux0Do not use `Linux', instead use `Linux kernel' or `GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word `Linux' appears on the same line as the word `GNU' or `kernel' or a kernel version
10

DOS 8.3 File Names

File names with problems on 8.3 file systems.

BUGTotalDescription
POWERPC-.C DOS 8.3 dup15DOSCHK - the names POWERPC-.C and gdb/features/rs6000/powerpc-32.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
POWERPC-.XML DOS 8.3 dup13DOSCHK - the names POWERPC-.XML and gdb/features/rs6000/powerpc-32.xml resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECIMAL1.H DOS 8.3 dup6DOSCHK - the names DECIMAL1.H and libdecnumber/bid/decimal128.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
CHANGELO DOS 8.3 dup5DOSCHK - the names CHANGELO and bfd/ChangeLog resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECIMAL3.H DOS 8.3 dup4DOSCHK - the names DECIMAL3.H and libdecnumber/bid/decimal32.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECIMAL6.H DOS 8.3 dup4DOSCHK - the names DECIMAL6.H and libdecnumber/bid/decimal64.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECNUMBE.H DOS 8.3 dup3DOSCHK - the names DECNUMBE.H and libdecnumber/decNumber.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
EFI-BSDR.C DOS 8.3 dup3DOSCHK - the names EFI-BSDR.C and bfd/efi-bsdrv-ia32.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
EFI-RTDR.C DOS 8.3 dup3DOSCHK - the names EFI-RTDR.C and bfd/efi-rtdrv-ia32.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
HOST-IEE.C DOS 8.3 dup3DOSCHK - the names HOST-IEE.C and libdecnumber/bid/host-ieee128.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
POWERPC-.DAT DOS 8.3 dup3DOSCHK - the names POWERPC-.DAT and gdb/regformats/rs6000/powerpc-32.dat resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
WATCHPOI.C DOS 8.3 dup3DOSCHK - the names WATCHPOI.C and gdb/testsuite/gdb.base/watchpoint-solib-shr.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
too many dots3DOSCHK - too many dots
CPU-CR16.C DOS 8.3 dup2DOSCHK - the names CPU-CR16.C and bfd/cpu-cr16.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECCONTE.H DOS 8.3 dup2DOSCHK - the names DECCONTE.H and libdecnumber/decContext.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECDOUBL.H DOS 8.3 dup2DOSCHK - the names DECDOUBL.H and libdecnumber/decDouble.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECPACKE.H DOS 8.3 dup2DOSCHK - the names DECPACKE.H and libdecnumber/decPacked.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
DECSINGL.H DOS 8.3 dup2DOSCHK - the names DECSINGL.H and libdecnumber/decSingle.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
ELF32-SH.H DOS 8.3 dup2DOSCHK - the names ELF32-SH.H and bfd/elf32-sh-relocs.h resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
ELF32-SP.C DOS 8.3 dup2DOSCHK - the names ELF32-SP.C and bfd/elf32-sparc.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
HPPANBSD.C DOS 8.3 dup2DOSCHK - the names HPPANBSD.C and gdb/hppanbsd-nat.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
I386-SIZ.C DOS 8.3 dup2DOSCHK - the names I386-SIZ.C and gdb/testsuite/gdb.arch/i386-size-overlap.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
I386-SIZ.EXP DOS 8.3 dup2DOSCHK - the names I386-SIZ.EXP and gdb/testsuite/gdb.arch/i386-size-overlap.exp resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
MB-INLIN.CC DOS 8.3 dup2DOSCHK - the names MB-INLIN.CC and gdb/testsuite/gdb.cp/mb-inline1.cc resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
MIPS32-D.S DOS 8.3 dup2DOSCHK - the names MIPS32-D.S and sim/testsuite/sim/mips/mips32-dsp.s resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
MIPS64-C.XML DOS 8.3 dup2DOSCHK - the names MIPS64-C.XML and gdb/features/mips64-cp0.xml resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
MI-VAR-C.EXP DOS 8.3 dup2DOSCHK - the names MI-VAR-C.EXP and gdb/testsuite/gdb.mi/mi-var-child-f.exp resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
MPROTECT.C DOS 8.3 dup2DOSCHK - the names MPROTECT.C and sim/testsuite/sim/cris/c/mprotect1.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
POWERPC-.EXP DOS 8.3 dup2DOSCHK - the names POWERPC-.EXP and gdb/testsuite/gdb.arch/powerpc-d128-regs.exp resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
REG-X86-.DAT DOS 8.3 dup2DOSCHK - the names REG-X86-.DAT and gdb/regformats/reg-x86-64-linux.dat resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
RTSIGPRO.C DOS 8.3 dup2DOSCHK - the names RTSIGPRO.C and sim/testsuite/sim/cris/c/rtsigprocmask1.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
RTSIGSUS.C DOS 8.3 dup2DOSCHK - the names RTSIGSUS.C and sim/testsuite/sim/cris/c/rtsigsuspend1.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
SIGRETUR.C DOS 8.3 dup2DOSCHK - the names SIGRETUR.C and sim/testsuite/sim/cris/c/sigreturn3.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
SOLIB-SY.C DOS 8.3 dup2DOSCHK - the names SOLIB-SY.C and gdb/testsuite/gdb.base/solib-symbol-lib.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
TYPE-OPA.C DOS 8.3 dup2DOSCHK - the names TYPE-OPA.C and gdb/testsuite/gdb.base/type-opaque-lib.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
WATCHPOI.EXP DOS 8.3 dup2DOSCHK - the names WATCHPOI.EXP and gdb/testsuite/gdb.base/watchpoint-solib.exp resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
XTENSA-L.C DOS 8.3 dup2DOSCHK - the names XTENSA-L.C and gdb/xtensa-linux-nat.c resolve to the same file on a DOS 8.3 system.
For DOS, this can be fixed by modifying the file fnchange.lst.
37116

Deprecated

Mechanisms that have been replaced with something better, simpler, cleaner; or are no longer required by core-GDB. New code should not use deprecated mechanisms. Existing code, when touched, should be updated to use non-deprecated mechanisms. See obsolete and deprecate. (The declaration and definition are hopefully excluded from count so zero should indicate no remaining uses).

BUGTotalDescription
deprecated symbol name131Do not use deprecated symbol_name, see declaration for details
deprecated xfer memory32Do not use deprecated xfer_memory, see declaration for details
deprecated sym private31Do not use deprecated sym_private, see declaration for details
deprecated set value type24Do not use deprecated set_value_type, see declaration for details
deprecated sym stab info20Do not use deprecated sym_stab_info, see declaration for details
deprecated safe get selected frame19Do not use deprecated safe_get_selected_frame, see declaration for details
deprecated child ops18Do not use deprecated child_ops, see declaration for details
deprecated ui loop hook10Do not use deprecated ui_loop_hook, see declaration for details
deprecated warn user10Do not use deprecated warn_user, see declaration for details
deprecated command loop hook9Do not use deprecated command_loop_hook, see declaration for details
deprecated print address numeric9Do not use deprecated print_address_numeric, see declaration for details
deprecated add core fns8Do not use deprecated add_core_fns, see declaration for details
deprecated detach hook8Do not use deprecated detach_hook, see declaration for details
deprecated query hook8Do not use deprecated query_hook, see declaration for details
deprecated readline hook8Do not use deprecated readline_hook, see declaration for details
deprecated target wait hook8Do not use deprecated target_wait_hook, see declaration for details
deprecated modify breakpoint hook7Do not use deprecated modify_breakpoint_hook, see declaration for details
deprecated readline begin hook7Do not use deprecated readline_begin_hook, see declaration for details
deprecated readline end hook7Do not use deprecated readline_end_hook, see declaration for details
deprecated show value hack7Do not use deprecated show_value_hack, see declaration for details
deprecated context hook6Do not use deprecated context_hook, see declaration for details
deprecated exec file display hook6Do not use deprecated exec_file_display_hook, see declaration for details
deprecated fp regnum6Do not use deprecated fp_regnum, see declaration for details
deprecated init ui hook6Do not use deprecated init_ui_hook, see declaration for details
deprecated memory changed hook6Do not use deprecated memory_changed_hook, see declaration for details
deprecated print frame info listing hook6Do not use deprecated print_frame_info_listing_hook, see declaration for details
deprecated register changed hook6Do not use deprecated register_changed_hook, see declaration for details
deprecated remove raw breakpoint6Do not use deprecated remove_raw_breakpoint, see declaration for details
deprecated ui load progress hook6Do not use deprecated ui_load_progress_hook, see declaration for details
deprecated warning hook6Do not use deprecated warning_hook, see declaration for details
deprecated delete breakpoint hook5Do not use deprecated delete_breakpoint_hook, see declaration for details
deprecated function start offset5Do not use deprecated function_start_offset, see declaration for details
deprecated set gdb event hooks5Do not use deprecated set_gdb_event_hooks, see declaration for details
deprecated throw reason5Do not use deprecated throw_reason, see declaration for details
deprecated call command hook4Do not use deprecated call_command_hook, see declaration for details
deprecated create breakpoint hook4Do not use deprecated create_breakpoint_hook, see declaration for details
deprecated error begin hook4Do not use deprecated error_begin_hook, see declaration for details
deprecated error hook4Do not use deprecated error_hook, see declaration for details
deprecated insert raw breakpoint4Do not use deprecated insert_raw_breakpoint, see declaration for details
deprecated interactive hook4Do not use deprecated interactive_hook, see declaration for details
deprecated selected frame level changed hook4Do not use deprecated selected_frame_level_changed_hook, see declaration for details
deprecated show load progress4Do not use deprecated show_load_progress, see declaration for details
deprecated target wait loop hook4Do not use deprecated target_wait_loop_hook, see declaration for details
deprecated value modifiable4Do not use deprecated value_modifiable, see declaration for details
deprecated cmd warning3Do not use deprecated cmd_warning, see declaration for details
deprecated set gdbarch data3Do not use deprecated set_gdbarch_data, see declaration for details
deprecated trace start stop hook3Do not use deprecated trace_start_stop_hook, see declaration for details
deprecated add set cmd2Do not use deprecated add_set_cmd, see declaration for details
deprecated annotate exited hook2Do not use deprecated annotate_exited_hook, see declaration for details
deprecated annotate signal hook2Do not use deprecated annotate_signal_hook, see declaration for details
deprecated annotate signalled hook2Do not use deprecated annotate_signalled_hook, see declaration for details
deprecated annotate starting hook2Do not use deprecated annotate_starting_hook, see declaration for details
deprecated annotate stopped hook2Do not use deprecated annotate_stopped_hook, see declaration for details
deprecated attach hook2Do not use deprecated attach_hook, see declaration for details
deprecated current gdbarch select hack2Do not use deprecated current_gdbarch_select_hack, see declaration for details
deprecated file changed hook2Do not use deprecated file_changed_hook, see declaration for details
deprecated ibm6000 target2Do not use deprecated ibm6000_target, see declaration for details
deprecated post add symbol hook2Do not use deprecated post_add_symbol_hook, see declaration for details
deprecated pre add symbol hook2Do not use deprecated pre_add_symbol_hook, see declaration for details
deprecated set hook2Do not use deprecated set_hook, see declaration for details
deprecated set value modifiable2Do not use deprecated set_value_modifiable, see declaration for details
deprecated target resume hook2Do not use deprecated target_resume_hook, see declaration for details
deprecated update frame pc hack2Do not use deprecated update_frame_pc_hack, see declaration for details
deprecated bcache1Do not use deprecated bcache, see declaration for details
deprecated extract floating1Do not use deprecated extract_floating, see declaration for details
deprecated pc in call dummy1Do not use deprecated pc_in_call_dummy, see declaration for details
deprecated trace find hook1Do not use deprecated trace_find_hook, see declaration for details
deprecated update frame base hack1Do not use deprecated update_frame_base_hack, see declaration for details
deprecated value address hack1Do not use deprecated value_address_hack, see declaration for details
deprecated value frame id hack1Do not use deprecated value_frame_id_hack, see declaration for details
deprecated value internalvar hack1Do not use deprecated value_internalvar_hack, see declaration for details
deprecated value lval hack1Do not use deprecated value_lval_hack, see declaration for details
deprecated value regnum hack1Do not use deprecated value_regnum_hack, see declaration for details
deprecated debug xfer memory0Do not use deprecated debug_xfer_memory, see declaration for details
deprecated mips set processor regs hack0Do not use deprecated mips_set_processor_regs_hack, see declaration for details
deprecated serial fd0Do not use deprecated serial_fd, see declaration for details
deprecated store floating0Do not use deprecated store_floating, see declaration for details
deprecated command loop-1Do not use deprecated command_loop, see declaration for details
deprecated create tracepoint hook-1Do not use deprecated create_tracepoint_hook, see declaration for details
deprecated delete tracepoint hook-1Do not use deprecated delete_tracepoint_hook, see declaration for details
deprecated flush hook-1Do not use deprecated flush_hook, see declaration for details
deprecated modify tracepoint hook-1Do not use deprecated modify_tracepoint_hook, see declaration for details
deprecated obj private-1Do not use deprecated obj_private, see declaration for details
83712

Obsolete

Mechanisms that have been replaced, but have not yet been marked as such (using the deprecated_ prefix). See deprecate and deprecated.

BUGTotalDescription
get frame base22Replace get_frame_base with get_frame_id, get_frame_base_address, get_frame_locals_address, or get_frame_args_address.
frame register read19Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
241

Deprecate

Mechanisms that are a candidate for being made obsolete. Once core GDB no longer depends on these mechanisms and/or there is a replacement available, these mechanims can be deprecated (adding the deprecated prefix) obsoleted (put into category obsolete) or deleted. See obsolete and deprecated.

BUGTotalDescription
read memory134Replace read_memory() with regcache_read() et.al.
write memory124Replace write_memory() with regcache_read() et.al.
read pc47Replace READ_PC() with frame_pc_unwind; at present the inferior function call code still uses this
write pc33Replace write_pc() with get_frame_base_address or get_frame_id; at present the inferior function call code still uses this when doing a DECR_PC_AFTER_BREAK
SOLIB ADD9Replace SOLIB_ADD with nothing, not needed?
PC SOLIB7Replace PC_SOLIB with nothing, not needed?
GCC2 COMPILED FLAG SYMBOL6Replace GCC2_COMPILED_FLAG_SYMBOL with nothing, not needed?
GCC COMPILED FLAG SYMBOL5Replace GCC_COMPILED_FLAG_SYMBOL with nothing, not needed?
SOLIB CREATE INFERIOR HOOK5Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
9370

Legacy

Methods used to prop up targets using targets that still depend on deprecated mechanisms. (The method's declaration and definition are hopefully excluded from count).

BUGTotalDescription
legacy register sim regno7Do not use legacy register_sim_regno, see declaration for details
legacy sim regno ignore3Do not use legacy sim_regno_ignore, see declaration for details
legacy name2Do not use legacy name, see declaration for details
legacy virtual frame pointer2Do not use legacy virtual_frame_pointer, see declaration for details
422

Gdbarch

Count of calls to the gdbarch set methods. (Declaration and definition hopefully excluded from count).

BUGTotalDescription
set register name56Call to set_gdbarch_register_name
set return value51Call to set_gdbarch_return_value
set push dummy call44Call to set_gdbarch_push_dummy_call
set num regs43Call to set_gdbarch_num_regs
set register type39Call to set_gdbarch_register_type
set long double bit36Call to set_gdbarch_long_double_bit
set print insn34Call to set_gdbarch_print_insn
set ptr bit34Call to set_gdbarch_ptr_bit
set sp regnum33Call to set_gdbarch_sp_regnum
set unwind pc33Call to set_gdbarch_unwind_pc
set skip prologue32Call to set_gdbarch_skip_prologue
set unwind dummy id32Call to set_gdbarch_unwind_dummy_id
set pc regnum31Call to set_gdbarch_pc_regnum
set breakpoint from pc30Call to set_gdbarch_breakpoint_from_pc
set inner than30Call to set_gdbarch_inner_than
set regset from core section30Call to set_gdbarch_regset_from_core_section
set num pseudo regs29Call to set_gdbarch_num_pseudo_regs
set skip trampoline code29Call to set_gdbarch_skip_trampoline_code
set long bit27Call to set_gdbarch_long_bit
set long long bit24Call to set_gdbarch_long_long_bit
set long double format23Call to set_gdbarch_long_double_format
set frame align22Call to set_gdbarch_frame_align
set pseudo register read21Call to set_gdbarch_pseudo_register_read
set fp0 regnum20Call to set_gdbarch_fp0_regnum
set pseudo register write20Call to set_gdbarch_pseudo_register_write
set unwind sp20Call to set_gdbarch_unwind_sp
set double bit19Call to set_gdbarch_double_bit
set dwarf2 reg to regnum19Call to set_gdbarch_dwarf2_reg_to_regnum
set int bit17Call to set_gdbarch_int_bit
set write pc17Call to set_gdbarch_write_pc
set register reggroup p16Call to set_gdbarch_register_reggroup_p
set software single step16Call to set_gdbarch_software_single_step
set addr bit15Call to set_gdbarch_addr_bit
set float bit15Call to set_gdbarch_float_bit
set short bit15Call to set_gdbarch_short_bit
set dwarf reg to regnum14Call to set_gdbarch_dwarf_reg_to_regnum
set fetch tls load module address14Call to set_gdbarch_fetch_tls_load_module_address
set register sim regno13Call to set_gdbarch_register_sim_regno
set skip solib resolver13Call to set_gdbarch_skip_solib_resolver
set stab reg to regnum13Call to set_gdbarch_stab_reg_to_regnum
set decr pc after break11Call to set_gdbarch_decr_pc_after_break
set believe pcc promotion10Call to set_gdbarch_believe_pcc_promotion
set frame args skip10Call to set_gdbarch_frame_args_skip
set char signed9Call to set_gdbarch_char_signed
set read pc9Call to set_gdbarch_read_pc
set get longjmp target8Call to set_gdbarch_get_longjmp_target
set in function epilogue p8Call to set_gdbarch_in_function_epilogue_p
set convert register p7Call to set_gdbarch_convert_register_p
set double format7Call to set_gdbarch_double_format
set register to value7Call to set_gdbarch_register_to_value
set value to register7Call to set_gdbarch_value_to_register
set call dummy location6Call to set_gdbarch_call_dummy_location
set cannot fetch register6Call to set_gdbarch_cannot_fetch_register
set cannot store register6Call to set_gdbarch_cannot_store_register
set float format6Call to set_gdbarch_float_format
set have nonsteppable watchpoint6Call to set_gdbarch_have_nonsteppable_watchpoint
set pointer to address6Call to set_gdbarch_pointer_to_address
set ps regnum6Call to set_gdbarch_ps_regnum
set addr bits remove5Call to set_gdbarch_addr_bits_remove
set address to pointer5Call to set_gdbarch_address_to_pointer
set convert from func ptr addr5Call to set_gdbarch_convert_from_func_ptr_addr
set ecoff reg to regnum5Call to set_gdbarch_ecoff_reg_to_regnum
set print registers info5Call to set_gdbarch_print_registers_info
set sofun address maybe missing5Call to set_gdbarch_sofun_address_maybe_missing
set elf make msymbol special4Call to set_gdbarch_elf_make_msymbol_special
set push dummy code4Call to set_gdbarch_push_dummy_code
set deprecated fp regnum3Call to set_gdbarch_deprecated_fp_regnum
set fetch pointer argument3Call to set_gdbarch_fetch_pointer_argument
set frame red zone size3Call to set_gdbarch_frame_red_zone_size
set from file3Call to set_gdbarch_from_file
set memory remove breakpoint3Call to set_gdbarch_memory_remove_breakpoint
set print float info3Call to set_gdbarch_print_float_info
set static transform name3Call to set_gdbarch_static_transform_name
set virtual frame pointer3Call to set_gdbarch_virtual_frame_pointer
set adjust breakpoint address2Call to set_gdbarch_adjust_breakpoint_address
set cannot step breakpoint2Call to set_gdbarch_cannot_step_breakpoint
set in solib return trampoline2Call to set_gdbarch_in_solib_return_trampoline
set integer to address2Call to set_gdbarch_integer_to_address
set memory insert breakpoint2Call to set_gdbarch_memory_insert_breakpoint
set overlay update2Call to set_gdbarch_overlay_update
set single step through delay2Call to set_gdbarch_single_step_through_delay
set smash text address2Call to set_gdbarch_smash_text_address
set stabs argument has addr2Call to set_gdbarch_stabs_argument_has_addr
set value from register2Call to set_gdbarch_value_from_register
set vbit in delta2Call to set_gdbarch_vbit_in_delta
set address class name to type flags1Call to set_gdbarch_address_class_name_to_type_flags
set address class type flags1Call to set_gdbarch_address_class_type_flags
set address class type flags to name1Call to set_gdbarch_address_class_type_flags_to_name
set coff make msymbol special1Call to set_gdbarch_coff_make_msymbol_special
set core read description1Call to set_gdbarch_core_read_description
set core xfer shared libraries1Call to set_gdbarch_core_xfer_shared_libraries
set deprecated function start offset1Call to set_gdbarch_deprecated_function_start_offset
set frame num args1Call to set_gdbarch_frame_num_args
set remote register number1Call to set_gdbarch_remote_register_number
set sdb reg to regnum1Call to set_gdbarch_sdb_reg_to_regnum
set skip permanent breakpoint1Call to set_gdbarch_skip_permanent_breakpoint
set vtable function descriptors1Call to set_gdbarch_vtable_function_descriptors
set bits big endian0Call to set_gdbarch_bits_big_endian
set construct inferior arguments0Call to set_gdbarch_construct_inferior_arguments
set name of malloc0Call to set_gdbarch_name_of_malloc
set print vector info0Call to set_gdbarch_print_vector_info
1011472

Macro

Breakdown of macro definitions (and #undef) in configuration files.

BUGTotalDescription
nm I386 DR LOW GET STATUS5Do not define macros such as I386_DR_LOW_GET_STATUS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm I386 DR LOW RESET ADDR5Do not define macros such as I386_DR_LOW_RESET_ADDR in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm I386 DR LOW SET ADDR5Do not define macros such as I386_DR_LOW_SET_ADDR in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm I386 DR LOW SET CONTROL5Do not define macros such as I386_DR_LOW_SET_CONTROL in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm I386 USE GENERIC WATCHPOINTS5Do not define macros such as I386_USE_GENERIC_WATCHPOINTS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm STOPPED BY WATCHPOINT4Do not define macros such as STOPPED_BY_WATCHPOINT in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm target insert watchpoint4Do not define macros such as target_insert_watchpoint in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm target remove watchpoint4Do not define macros such as target_remove_watchpoint in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm HAVE CONTINUABLE WATCHPOINT3Do not define macros such as HAVE_CONTINUABLE_WATCHPOINT in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm TARGET HAS HARDWARE WATCHPOINTS3Do not define macros such as TARGET_HAS_HARDWARE_WATCHPOINTS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm TARGET REGION SIZE OK FOR HW WATCHPOINT3Do not define macros such as TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm ATTACH NO WAIT2Do not define macros such as ATTACH_NO_WAIT in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm GDB FPREGSET T2Do not define macros such as GDB_FPREGSET_T in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm GDB GREGSET T2Do not define macros such as GDB_GREGSET_T in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm TARGET CAN USE HARDWARE WATCHPOINT2Do not define macros such as TARGET_CAN_USE_HARDWARE_WATCHPOINT in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm ADD SHARED SYMBOL FILES1Do not define macros such as ADD_SHARED_SYMBOL_FILES in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm CANNOT STEP HW WATCHPOINTS1Do not define macros such as CANNOT_STEP_HW_WATCHPOINTS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm DEPRECATED IBM6000 TARGET1Do not define macros such as DEPRECATED_IBM6000_TARGET in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm FILL FPXREGSET1Do not define macros such as FILL_FPXREGSET in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm GET THREAD SIGNALS1Do not define macros such as GET_THREAD_SIGNALS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm IN SOLIB DYNSYM RESOLVE CODE1Do not define macros such as IN_SOLIB_DYNSYM_RESOLVE_CODE in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm PC SOLIB1Do not define macros such as PC_SOLIB in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm PROCFS DONT TRACE FAULTS1Do not define macros such as PROCFS_DONT_TRACE_FAULTS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm PROCFS NEED CLEAR CURSIG FOR KILL1Do not define macros such as PROCFS_NEED_CLEAR_CURSIG_FOR_KILL in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm REALTIME HI1Do not define macros such as REALTIME_HI in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm REALTIME LO1Do not define macros such as REALTIME_LO in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm SOLIB ADD1Do not define macros such as SOLIB_ADD in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm SOLIB CREATE INFERIOR HOOK1Do not define macros such as SOLIB_CREATE_INFERIOR_HOOK in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm START INFERIOR TRAPS EXPECTED1Do not define macros such as START_INFERIOR_TRAPS_EXPECTED in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm TARGET HAS DR LEN 81Do not define macros such as TARGET_HAS_DR_LEN_8 in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm TARGET REGION OK FOR HW WATCHPOINT1Do not define macros such as TARGET_REGION_OK_FOR_HW_WATCHPOINT in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm THREAD STATE CLEAR TRACED1Do not define macros such as THREAD_STATE_CLEAR_TRACED in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm THREAD STATE FLAVOR1Do not define macros such as THREAD_STATE_FLAVOR in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm THREAD STATE SET TRACED1Do not define macros such as THREAD_STATE_SET_TRACED in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm THREAD STATE SIZE1Do not define macros such as THREAD_STATE_SIZE in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm target insert hw breakpoint1Do not define macros such as target_insert_hw_breakpoint in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm target remove hw breakpoint1Do not define macros such as target_remove_hw_breakpoint in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
nm target stopped data address1Do not define macros such as target_stopped_data_address in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
3877

Fixed

Problems that have been expunged from the source code.

BUGTotalDescription
PTR6Do not use PTR, ISO C 90 implies `void *'
IN SOLIB DYNSYM RESOLVE CODE5Replace IN_SOLIB_DYNSYM_RESOLVE_CODE with nothing, not needed?
TARGET HAS HARDWARE WATCHPOINTS5Replace TARGET_HAS_HARDWARE_WATCHPOINTS with nothing, not needed
SOLIB LOADED LIBRARY PATHNAME4Replace SOLIB_LOADED_LIBRARY_PATHNAME with nothing, not needed?
ADD SHARED SYMBOL FILES3Replace ADD_SHARED_SYMBOL_FILES with nothing, not needed?
FUNCTION EPILOGUE SIZE2Replace FUNCTION_EPILOGUE_SIZE with nothing, not needed?
var boolean2Replace var_boolean with add_setshow_boolean_cmd
asprintf1Do not use asprintf(), instead use xstrprintf()
dirent.h1Do not include dirent.h, instead include gdb_dirent.h
d namelen1Do not use dirent.d_namelen, instead use NAMELEN
hash1Do not use ` #...', instead use `#...'(some compilers only correctly parse a C preprocessor directive when `#' is the first character on the line)
strlen d name1Do not use strlen dirent.d_name, instead use NAMELEN
ARGSUSED0Do not use ARGSUSED, unnecessary
ATTRIBUTE UNUSED0Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
BIG ENDIAN0Do not use BIG_ENDIAN, instead use BFD_ENDIAN_BIG
CYGWIN32 0Do not use __CYGWIN32__, instead use __CYGWIN__ or, better, an explicit autoconf tests
FUNCTION 0Do not use __FUNCTION__, ISO C 90 does not support this macro
HAVE VFORK0Do not use HAVE_VFORK, instead include "gdb_vfork.h" and call vfork() unconditionally
LITTLE ENDIAN0Do not use LITTLE_ENDIAN, instead use BFD_ENDIAN_LITTLE
PARAMS0Do not use PARAMS(), ISO C 90 implies prototypes
PROCESS LINENUMBER HOOK0Replace PROCESS_LINENUMBER_HOOK with nothing, not needed?
REGISTER U ADDR0Replace REGISTER_U_ADDR with nothing, not needed?
abort0Do not use abort, instead use internal_error; GDB should never abort
assert0Do not use assert, instead use gdb_assert or internal_error; assert calls abort and GDB should never call abort
assert.h0Do not include assert.h, instead include "gdb_assert.h"
basename0Do not use basename, instead use lbasename
bcmp0Do not use bcmp(), ISO C 90 implies memcmp()
bcopy0Do not use bcopy(), ISO C 90 implies memcpy() and memmove()
boolean0Do not use `boolean', use `int' instead
bzero0Do not use bzero(), instead use memset()
error not internal-warning0Do not use error("internal-warning"), instead use internal_warning
false0Definitely do not use `false' in boolean expressions
floatformat from double0Do not use floatformat_from_double() from libierty, instead use floatformat_from_doublest()
floatformat to double0Do not use floatformat_to_double() from libierty, instead use floatformat_to_doublest()
frame unwind unsigned register0Replace frame_unwind_unsigned_register with frame_unwind_register_unsigned
func 0Do not use __func__, ISO C 90 does not support this macro
generic target write pc0Replace generic_target_write_pc with a per-architecture implementation, this relies on PC_REGNUM which is being eliminated
generic use struct convention0Replace generic_use_struct_convention with nothing, EXTRACT_STRUCT_VALUE_ADDRESS is a predicate
gnu-regex.h0Do not include gnu-regex.h, instead include gdb_regex.h
multi-line string0Multi-line string must have the newline escaped
read register0Replace read_register() with regcache_read() et.al.
read sp0Replace read_sp() with frame_sp_unwind
regex.h0Do not include regex.h, instead include gdb_regex.h
register cached0Replace register_cached() with nothing, does not have a regcache parameter
sec ptr0Instead of sec_ptr, use struct bfd_section
setlinebuf0Do not use setlinebuf(), ISO C 90 implies setvbuf()
set register cached0Replace set_register_cached() with nothing, does not have a regcache parameter
stat.h0Do not include stat.h or sys/stat.h, instead include gdb_stat.h
strdup0Do not use strdup(), instead use xstrdup()
strerror0Do not use strerror(), instead use safe_strerror()
strnicmp0Do not use strnicmp(), instead use strncasecmp()
strsave0Do not use strsave(), instead use xstrdup() et.al.
true0Do not try to use `true' in boolean expressions
vasprintf0Do not use vasprintf(), instead use xstrvprintf
vfork.h0Do not include vfork.h, instead include gdb_vfork.h
vsprint0Do not use vsprint(), instead use xstrvprintf
wait.h0Do not include wait.h or sys/wait.h, instead include gdb_wait.h
write register0Replace write_register() with regcache_read() et.al.
xasprintf0Do not use xasprintf(), instead use xstrprintf
xregex.h0Do not include xregex.h, instead include gdb_regex.h
xvasprintf0Do not use xvasprintf(), instead use xstrvprintf
6132

Input files: ari.doc ari.doc.bug ari.doschk.bug ari.idx ari.source.bug ari.werror.bug
Scripts: gdb_ari.sh gdb_copyright.sh gdb_find.sh gdb_indent.sh gdb_makefile.sh gdb_orphan.sh

[bugs] [committee] [contributing] [current cvs] [documentation] [download] [home] [irc] [links] [mailing lists] [news] [schedule] [song] [wiki]

Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.

This page is maintained by the GDB developers.

Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Last modified 2009-07-04.