aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-27 00:11:39 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-27 00:11:39 +0000
commitc1321b30cfad7a5435684824d5d5bf80dfa616b5 (patch)
treeaf33afaf8c9b1ab46c81a0e5534fce5a62eab436
parent8b610789204be621bdd4fd3e73ac2b20e35b1c80 (diff)
downloadgdb-c1321b30cfad7a5435684824d5d5bf80dfa616b5.zip
gdb-c1321b30cfad7a5435684824d5d5bf80dfa616b5.tar.gz
gdb-c1321b30cfad7a5435684824d5d5bf80dfa616b5.tar.bz2
2004-01-26 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (watchpoint_check): Delete #if0ed variable. (catch_breakpoint): Delete #if0ed function. (disable_catch_breakpoint): Ditto. (delete_catch_breakpoint, enable_catch_breakpoint): Ditto. (disable_catch, enable_catch, delete_catch): Ditto. Index: breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.c,v retrieving revision 1.149 diff -u -r1.149 breakpoint.c --- breakpoint.c 17 Jan 2004 21:56:12 -0000 1.149 +++ breakpoint.c 27 Jan 2004 00:11:06 -0000 @@ -2455,9 +2455,6 @@ struct breakpoint *b; struct frame_info *fr; int within_current_scope; -#if 0 - struct frame_id current_frame_id; -#endif b = bs->breakpoint_at; @@ -5879,30 +5876,6 @@ do_cleanups (old_chain); } -#if 0 -/* These aren't used; I don't konw what they were for. */ -/* Set a breakpoint at the catch clause for NAME. */ -static int -catch_breakpoint (char *name) -{ -} - -static int -disable_catch_breakpoint (void) -{ -} - -static int -delete_catch_breakpoint (void) -{ -} - -static int -enable_catch_breakpoint (void) -{ -} -#endif /* 0 */ - static void ep_skip_leading_whitespace (char **s) { @@ -6482,30 +6455,6 @@ b->thread = -1; return b; } - -#if 0 -/* These aren't used; I don't know what they were for. */ -/* Disable breakpoints on all catch clauses described in ARGS. */ -static void -disable_catch (char *args) -{ - /* Map the disable command to catch clauses described in ARGS. */ -} - -/* Enable breakpoints on all catch clauses described in ARGS. */ -static void -enable_catch (char *args) -{ - /* Map the disable command to catch clauses described in ARGS. */ -} - -/* Delete breakpoints on all catch clauses in the active scope. */ -static void -delete_catch (char *args) -{ - /* Map the delete command to catch clauses described in ARGS. */ -} -#endif /* 0 */ static void catch_command (char *arg, int from_tty)
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/breakpoint.c51
2 files changed, 8 insertions, 51 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 84e9ec0..83d1de1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
2004-01-26 Andrew Cagney <cagney@redhat.com>
+ * breakpoint.c (watchpoint_check): Delete #if0ed variable.
+ (catch_breakpoint): Delete #if0ed function.
+ (disable_catch_breakpoint): Ditto.
+ (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
+ (disable_catch, enable_catch, delete_catch): Ditto.
+
+2004-01-26 Andrew Cagney <cagney@redhat.com>
+
* remote.c (echo_check, quit_flag): Delete variables.
(cisco_kernel_mode): Delete variable.
(minitelnet_return, tty_input, escape_count): Delete variables.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 19e8454..c9ee54c 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -2455,9 +2455,6 @@ watchpoint_check (void *p)
struct breakpoint *b;
struct frame_info *fr;
int within_current_scope;
-#if 0
- struct frame_id current_frame_id;
-#endif
b = bs->breakpoint_at;
@@ -5879,30 +5876,6 @@ until_break_command (char *arg, int from_tty, int anywhere)
do_cleanups (old_chain);
}
-#if 0
-/* These aren't used; I don't konw what they were for. */
-/* Set a breakpoint at the catch clause for NAME. */
-static int
-catch_breakpoint (char *name)
-{
-}
-
-static int
-disable_catch_breakpoint (void)
-{
-}
-
-static int
-delete_catch_breakpoint (void)
-{
-}
-
-static int
-enable_catch_breakpoint (void)
-{
-}
-#endif /* 0 */
-
static void
ep_skip_leading_whitespace (char **s)
{
@@ -6483,30 +6456,6 @@ set_breakpoint_sal (struct symtab_and_line sal)
return b;
}
-#if 0
-/* These aren't used; I don't know what they were for. */
-/* Disable breakpoints on all catch clauses described in ARGS. */
-static void
-disable_catch (char *args)
-{
- /* Map the disable command to catch clauses described in ARGS. */
-}
-
-/* Enable breakpoints on all catch clauses described in ARGS. */
-static void
-enable_catch (char *args)
-{
- /* Map the disable command to catch clauses described in ARGS. */
-}
-
-/* Delete breakpoints on all catch clauses in the active scope. */
-static void
-delete_catch (char *args)
-{
- /* Map the delete command to catch clauses described in ARGS. */
-}
-#endif /* 0 */
-
static void
catch_command (char *arg, int from_tty)
{