aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-pa64.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-04-20 22:35:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-04-20 22:35:03 +0000
commite294797a886401059bdfbc51228390b40cebe4d5 (patch)
treefd5bba62d3421c85ceffff506831a9025f0b88af /gdb/solib-pa64.h
parenta223f1e7a0d0c668e1bfbadbf5c3e3159b31cbf1 (diff)
downloadgdb-e294797a886401059bdfbc51228390b40cebe4d5.zip
gdb-e294797a886401059bdfbc51228390b40cebe4d5.tar.gz
gdb-e294797a886401059bdfbc51228390b40cebe4d5.tar.bz2
procfs.c: Move solib_mappings_callback up to avoid compiler warning.
There are currently 2 issues with the placement of this routine: - It's defined after it is being used (causing an implicit declaration); - It looks like it's being defined all the time, whereas it is used only on mips-irix (AFAICT) - shouldn't have this triggered a warning on sparc-solaris, for instance??? In any case, this patch moves this function up, inside the right region, just before the function where it is actually used. gdb/ChangeLog: * procfs.c (solib_mappings_callback): Move function up to avoid a compiler warning.
Diffstat (limited to 'gdb/solib-pa64.h')
0 files changed, 0 insertions, 0 deletions