aboutsummaryrefslogtreecommitdiff
path: root/gdb/maint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-10 22:00:20 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-10 22:00:20 +0000
commit67a2b77effae04a5f6c050fd191149c26deb8a82 (patch)
tree33c2090719d3d506ea87e5989838839155e2182a /gdb/maint.c
parent8d0da3c2f59a75ad13e0e1baf807e70e20e3bacf (diff)
downloadgdb-67a2b77effae04a5f6c050fd191149c26deb8a82.zip
gdb-67a2b77effae04a5f6c050fd191149c26deb8a82.tar.gz
gdb-67a2b77effae04a5f6c050fd191149c26deb8a82.tar.bz2
* maint.c (maint_print_section_info): Rename print_section_info.
(print_bfd_section_info, print_objfile_section_info): Update. * inferior.h (struct gdbarch): Add opaque declaration. * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. * gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/maint.c')
-rw-r--r--gdb/maint.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index aaa3c68..ddaa390 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -291,9 +291,9 @@ print_bfd_flags (flagword flags)
}
static void
-print_section_info (const char *name, flagword flags,
- CORE_ADDR addr, CORE_ADDR endaddr,
- unsigned long filepos)
+maint_print_section_info (const char *name, flagword flags,
+ CORE_ADDR addr, CORE_ADDR endaddr,
+ unsigned long filepos)
{
/* FIXME-32x64: Need print_address_numeric with field width. */
printf_filtered (" 0x%s", paddr (addr));
@@ -321,7 +321,7 @@ print_bfd_section_info (bfd *abfd,
addr = bfd_section_vma (abfd, asect);
endaddr = addr + bfd_section_size (abfd, asect);
- print_section_info (name, flags, addr, endaddr, asect->filepos);
+ maint_print_section_info (name, flags, addr, endaddr, asect->filepos);
}
}
@@ -337,7 +337,7 @@ print_objfile_section_info (bfd *abfd,
|| match_substring (string, name)
|| match_bfd_flags (string, flags))
{
- print_section_info (name, flags, asect->addr, asect->endaddr,
+ maint_print_section_info (name, flags, asect->addr, asect->endaddr,
asect->the_bfd_section->filepos);
}
}