aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-07-18 20:45:01 +0000
committerDaniel Jacobowitz <drow@false.org>2006-07-18 20:45:01 +0000
commit08ae6d950debd23965eb158310e8243e98ff1747 (patch)
tree1cd8e9286dba9b6b4ab271dda8d4ffc1019f48ad /gdb
parent2b516b729733ce699f8232719df5fc0d7b073cec (diff)
downloadgdb-08ae6d950debd23965eb158310e8243e98ff1747.zip
gdb-08ae6d950debd23965eb158310e8243e98ff1747.tar.gz
gdb-08ae6d950debd23965eb158310e8243e98ff1747.tar.bz2
* monitor.c: Remove unused prototypes.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/monitor.c39
2 files changed, 6 insertions, 37 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2458508..fb1f243 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-18 Denis PILAT <denis.pilat@st.com>
+
+ * monitor.c: Remove unused prototypes.
+
2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
* target.c (tcomplain): Mark with ATTR_NORETURN.
diff --git a/gdb/monitor.c b/gdb/monitor.c
index a6c0823..be807bc 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -60,49 +60,14 @@
static char *dev_name;
static struct target_ops *targ_ops;
-static void monitor_vsprintf (char *sndbuf, char *pattern, va_list args);
-
-static int readchar (int timeout);
-
-static void monitor_fetch_register (int regno);
-static void monitor_store_register (int regno);
-
-static void monitor_printable_string (char *newstr, char *oldstr, int len);
-static void monitor_error (char *function, char *message, CORE_ADDR memaddr, int len, char *string, int final_char);
-static void monitor_detach (char *args, int from_tty);
-static void monitor_resume (ptid_t ptid, int step, enum target_signal sig);
-static void monitor_interrupt (int signo);
-static void monitor_interrupt_twice (int signo);
static void monitor_interrupt_query (void);
-static void monitor_wait_cleanup (void *old_timeout);
-
-static ptid_t monitor_wait (ptid_t ptid, struct target_waitstatus *status);
-static void monitor_fetch_registers (int regno);
-static void monitor_store_registers (int regno);
-static void monitor_prepare_to_store (void);
-static int monitor_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
- int write,
- struct mem_attrib *attrib,
- struct target_ops *target);
-static void monitor_files_info (struct target_ops *ops);
-static void monitor_kill (void);
-static void monitor_load (char *file, int from_tty);
-static void monitor_mourn_inferior (void);
+static void monitor_interrupt_twice (int);
static void monitor_stop (void);
-
-static int monitor_read_memory (CORE_ADDR addr, char *myaddr, int len);
-static int monitor_write_memory (CORE_ADDR addr, char *myaddr, int len);
-static int monitor_write_memory_bytes (CORE_ADDR addr, char *myaddr, int len);
-static int monitor_write_memory_block (CORE_ADDR memaddr,
- char *myaddr, int len);
-static int monitor_expect_regexp (struct re_pattern_buffer *pat,
- char *buf, int buflen);
static void monitor_dump_regs (void);
+
#if 0
static int from_hex (int a);
-static unsigned long get_hex_word (void);
#endif
-static void parse_register_dump (char *, int);
static struct monitor_ops *current_monitor;