aboutsummaryrefslogtreecommitdiff
path: root/binutils/sysdump.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-01-21 05:40:24 +0000
committerBen Elliston <bje@au.ibm.com>2005-01-21 05:40:24 +0000
commit84e43642e3e9729371f4a62b8b1cb5f15008017c (patch)
tree6563e0b243beefe943934cb44dc37f23e0692813 /binutils/sysdump.c
parent7a64f7b8d66f81748f711b5511e716abd63548e0 (diff)
downloadgdb-84e43642e3e9729371f4a62b8b1cb5f15008017c.zip
gdb-84e43642e3e9729371f4a62b8b1cb5f15008017c.tar.gz
gdb-84e43642e3e9729371f4a62b8b1cb5f15008017c.tar.bz2
* dlltool.c (dump_iat): Remove unused function.
(gen_exp_file): Remove #if 0'd code. (make_one_lib_file): Likewise. * srconv.c: Remove #if 0'd code throughout. * size.c (lprint_number): Remove. (print_berkeley_format): Remove #if 0'd code. * ar.c (do_quick_append): Remove declaration and definiton. (main): Remove #if 0'd code. * filemode.c (filemodestring): Remove #if 0'd function. * sysdump.c (unit_info_list): Remove function. (object_body_list): Likewise. (program_structure): Likewise. (debug_list): Likewise. (module): Remove #if 0'd code.
Diffstat (limited to 'binutils/sysdump.c')
-rw-r--r--binutils/sysdump.c92
1 files changed, 0 insertions, 92 deletions
diff --git a/binutils/sysdump.c b/binutils/sysdump.c
index a1df1e0..e75de84 100644
--- a/binutils/sysdump.c
+++ b/binutils/sysdump.c
@@ -515,48 +515,6 @@ opt (int x)
return getone (x);
}
-#if 0
-
-/* This is no longer used. */
-
-static void
-unit_info_list (void)
-{
- while (opt (IT_un_CODE))
- {
- getone (IT_us_CODE);
-
- while (getone (IT_sc_CODE))
- getone (IT_ss_CODE);
-
- while (getone (IT_er_CODE))
- ;
-
- while (getone (IT_ed_CODE))
- ;
- }
-}
-
-#endif
-
-#if 0
-
-/* This is no longer used. */
-
-static void
-object_body_list (void)
-{
- while (getone (IT_sh_CODE))
- {
- while (getone (IT_ob_CODE))
- ;
- while (getone (IT_rl_CODE))
- ;
- }
-}
-
-#endif
-
static void
must (int x)
{
@@ -649,45 +607,6 @@ derived_type (void)
tab (-1, "");
}
-#if 0
-
-/* This is no longer used. */
-
-static void
-program_structure (void)
-{
- tab (1, "PROGRAM STRUCTURE");
- while (opt (IT_dps_CODE))
- {
- must (IT_dso_CODE);
- opt (IT_dss_CODE);
- dump_symbol_info ();
- must (IT_dps_CODE);
- }
- tab (-1, "");
-}
-
-#endif
-
-#if 0
-
-/* This is no longer used. */
-
-static void
-debug_list (void)
-{
- tab (1, "DEBUG LIST");
-
- must (IT_du_CODE);
- opt (IT_dus_CODE);
- program_structure ();
- must (IT_dln_CODE);
-
- tab (-1, "");
-}
-
-#endif
-
static void
module (void)
{
@@ -705,17 +624,6 @@ module (void)
}
while (getone (c) && c != IT_tr_CODE);
-#if 0
- must (IT_cs_CODE);
- must (IT_hd_CODE);
- opt (IT_hs_CODE);
-
- unit_info_list ();
- object_body_list ();
- debug_list ();
-
- must (IT_tr_CODE);
-#endif
tab (-1, "");
c = getc (file);