Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [obish] -Wunused-function warnings
Date: Mon, 19 Jan 2004 18:31:00 -0000	[thread overview]
Message-ID: <400C227B.9040704@gnu.org> (raw)
In-Reply-To: <400194E8.10201@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

> Hello,
> 
> Attached is a list of all the -Wunused-function warnings that I'm seeing.  Since all these functions are unreachable (i.e., dead code), I think their removal is pretty obvious.
> 
> However, before I start doing this, I might as well give architecture maintainers an oportunity to look over their code.  It will make the task of removing this stuff easier.
> 
> I'll follow up in a week,

Here's this week's list.  It's noticably shorter, and core-GDB items 
still remaining have been figured out.  Again, can I encourage 
architecture maintainers to check this out.

Andrew


[-- Attachment #2: errors --]
[-- Type: text/plain, Size: 3446 bytes --]

src/gdb/arm-tdep.c:1196: warning: `arm_push_return_address' defined but not used
src/gdb/arm-tdep.c:1205: warning: `arm_push_dummy_frame' defined but not used
src/gdb/arm-tdep.c:1287: warning: `arm_fix_call_dummy' defined but not used
src/gdb/avr-tdep.c:231: warning: `avr_iaddr_p' defined but not used
src/gdb/avr-tdep.c:256: warning: `avr_saddr_p' defined but not used
src/gdb/ax-gdb.c:1807: warning: `print_axs_value' defined but not used
src/gdb/breakpoint.c:5987: warning: `ep_parse_optional_filename' defined but not used
src/gdb/cli/cli-cmds.c:62: warning: `validate_comname' declared `static' but never defined
src/gdb/cli/cli-dump.c:335: warning: `dump_filetype' defined but not used
src/gdb/cris-tdep.c:177: warning: `cris_abi' defined but not used
src/gdb/cris-tdep.c:2784: warning: `reg_pop_op' defined but not used
src/gdb/cris-tdep.c:2812: warning: `move_reg_to_mem_index_inc_op' defined but not used
src/gdb/cris-tdep.c:297: warning: `cris_get_wide_opcode' defined but not used
src/gdb/cris-tdep.c:303: warning: `cris_get_short_size' defined but not used
src/gdb/cris-tdep.c:333: warning: `cris_get_asr_quick_shift_steps' defined but not used
src/gdb/cris-tdep.c:726: warning: `cris_skip_prologue_frameless_p' defined but not used
src/gdb/d10v-tdep.c:297: warning: `d10v_daddr_p' defined but not used
src/gdb/dink32-rom.c:101: warning: `dink32_load' defined but not used
src/gdb/frv-tdep.c:47: warning: `frv_push_arguments' declared `static' but never defined
src/gdb/frv-tdep.c:48: warning: `frv_saved_pc_after_call' declared `static' but never defined
src/gdb/gdbtypes.c:130: warning: `add_name' declared `static' but never defined
src/gdb/gdbtypes.c:131: warning: `add_mangled_type' declared `static' but never defined
src/gdb/ia64-tdep.c:3261: warning: `process_note_abi_tag_sections' defined but not used
src/gdb/ia64-tdep.c:342: warning: `read_sigcontext_register' defined but not used
src/gdb/ia64-tdep.c:654: warning: `ia64_read_fp' defined but not used
src/gdb/jv-lang.c:769: warning: `java_lookup_type' defined but not used
src/gdb/m32r-rom.c:406: warning: `m32r_set_board_address' defined but not used
src/gdb/m32r-rom.c:425: warning: `m32r_set_server_address' defined but not used
src/gdb/m32r-rom.c:444: warning: `m32r_set_download_path' defined but not used
src/gdb/monitor.c:1520: warning: `monitor_write_even_block' defined but not used
src/gdb/remote-fileio.c:368: warning: `remote_fileio_to_fio_int' defined but not used
src/gdb/remote-mips.c:2435: warning: `remote_mips_insert_hw_breakpoint' defined but not used
src/gdb/remote-mips.c:2448: warning: `remote_mips_remove_hw_breakpoint' defined but not used
src/gdb/remote-mips.c:606: warning: `mips_getstring' defined but not used
src/gdb/remote-rdi.c:142: warning: `arm_rdi_start_remote' defined but not used
src/gdb/remote-rdi.c:491: warning: `arm_rdi_interrupt' defined but not used
src/gdb/remote-rdi.c:499: warning: `arm_rdi_interrupt_twice' defined but not used
src/gdb/remote-rdi.c:506: warning: `interrupt_query' defined but not used
src/gdb/remote-rdi.c:79: warning: `arm_rdi_mourn' declared `static' but never defined
src/gdb/remote-rdi.c:81: warning: `arm_rdi_send' declared `static' but never defined
src/gdb/rs6000-tdep.c:2056: warning: `rs6000_pc_in_call_dummy' defined but not used
src/gdb/s390-tdep.c:1571: warning: `s390_function_start' defined but not used
src/gdb/source.c:83: warning: `ambiguous_line_spec' declared `static' but never defined

  parent reply	other threads:[~2004-01-19 18:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-11 18:26 Andrew Cagney
2004-01-12  2:05 ` Daniel Jacobowitz
2004-01-12 14:58   ` Andrew Cagney
2004-01-15 18:46 ` Elena Zannoni
2004-01-17  1:04   ` [commit] rm unused symtab & sh functions; Was: " Andrew Cagney
2004-01-19 18:31 ` Andrew Cagney [this message]
2004-01-19 23:14   ` Kevin Buettner
2004-01-19 23:21   ` Kevin Buettner
2004-02-03 22:23     ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=400C227B.9040704@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox