diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-27 23:19:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-27 23:19:51 +0000 |
commit | 2579ab59bdfada183f19ff40ea51d77985c19483 (patch) | |
tree | 2f039922751903640f562f0088315e107cb30fe6 /gdb | |
parent | 7d3c1e56f95f5db8874f3b6f93983b80cdbaac37 (diff) | |
download | gdb-2579ab59bdfada183f19ff40ea51d77985c19483.tar.gz |
2004-01-27 Andrew Cagney <cagney@redhat.com>
* source.c (ambiguous_line_spec): Delete undefined declaration.
* m32r-rom.c (m32r_set_board_address): Delete unused function.
(m32r_set_server_address, m32r_set_download_path): Ditto.
* remote-fileio.c (remote_fileio_to_fio_int): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/m32r-rom.c | 57 | ||||
-rw-r--r-- | gdb/remote-fileio.c | 6 | ||||
-rw-r--r-- | gdb/source.c | 2 |
4 files changed, 7 insertions, 65 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f742de1ea8c..75567737420 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2004-01-27 Andrew Cagney <cagney@redhat.com> + + * source.c (ambiguous_line_spec): Delete undefined declaration. + * m32r-rom.c (m32r_set_board_address): Delete unused function. + (m32r_set_server_address, m32r_set_download_path): Ditto. + * remote-fileio.c (remote_fileio_to_fio_int): Ditto. + 2004-01-27 Daniel Jacobowitz <drow@mvista.com> * dwarf2read.c: Update calls to changed and renamed functions, and diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c index 970a8e64a84..ef8c2716e78 100644 --- a/gdb/m32r-rom.c +++ b/gdb/m32r-rom.c @@ -398,63 +398,6 @@ mon2000_open (char *args, int from_tty) monitor_open (args, &mon2000_cmds, from_tty); } -/* Function: set_board_address - Tell the BootOne monitor what it's ethernet IP address is. */ - -static void -m32r_set_board_address (char *args, int from_tty) -{ - int resp_len; - char buf[1024]; - - if (args && *args) - { - monitor_printf ("ulip %s\n", args); - resp_len = monitor_expect_prompt (buf, sizeof (buf)); - /* now parse the result for success */ - } - else - error ("Requires argument (IP address for M32R-EVA board)"); -} - -/* Function: set_server_address - Tell the BootOne monitor what gdb's ethernet IP address is. */ - -static void -m32r_set_server_address (char *args, int from_tty) -{ - int resp_len; - char buf[1024]; - - if (args && *args) - { - monitor_printf ("uhip %s\n", args); - resp_len = monitor_expect_prompt (buf, sizeof (buf)); - /* now parse the result for success */ - } - else - error ("Requires argument (IP address of GDB's host computer)"); -} - -/* Function: set_download_path - Tell the BootOne monitor the default path for downloadable SREC files. */ - -static void -m32r_set_download_path (char *args, int from_tty) -{ - int resp_len; - char buf[1024]; - - if (args && *args) - { - monitor_printf ("up %s\n", args); - resp_len = monitor_expect_prompt (buf, sizeof (buf)); - /* now parse the result for success */ - } - else - error ("Requires argument (default path for downloadable SREC files)"); -} - static void m32r_upload_command (char *args, int from_tty) { diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index ead40f04783..281872ec6c0 100644 --- a/gdb/remote-fileio.c +++ b/gdb/remote-fileio.c @@ -364,12 +364,6 @@ remote_fileio_to_be (LONGEST num, char *buf, int bytes) } static void -remote_fileio_to_fio_int (long num, fio_int_t fnum) -{ - remote_fileio_to_be ((LONGEST) num, (char *) fnum, 4); -} - -static void remote_fileio_to_fio_uint (long num, fio_uint_t fnum) { remote_fileio_to_be ((LONGEST) num, (char *) fnum, 4); diff --git a/gdb/source.c b/gdb/source.c index 6c0e213a345..ba2dc06f72a 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -80,8 +80,6 @@ static void forward_search_command (char *, int); static void line_info (char *, int); -static void ambiguous_line_spec (struct symtabs_and_lines *); - static void source_info (char *, int); static void show_directories (char *, int); |