diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-04-20 22:35:03 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-04-20 22:35:03 +0000 |
commit | e294797a886401059bdfbc51228390b40cebe4d5 (patch) | |
tree | fd5bba62d3421c85ceffff506831a9025f0b88af /gdb/amd64-darwin-tdep.h | |
parent | a223f1e7a0d0c668e1bfbadbf5c3e3159b31cbf1 (diff) | |
download | gdb-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/amd64-darwin-tdep.h')
0 files changed, 0 insertions, 0 deletions