aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-11-30 10:00:26 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-11-30 10:00:26 +0000
commite236ba4424253599ed1f75a522c863d2afc8cd03 (patch)
treec9759cd957cc5ff0a0063afd851cf34c84002dc1 /gdb/breakpoint.h
parent888cab372296966d80fc5d77ec17e1ee226cf56d (diff)
downloadgdb-e236ba4424253599ed1f75a522c863d2afc8cd03.zip
gdb-e236ba4424253599ed1f75a522c863d2afc8cd03.tar.gz
gdb-e236ba4424253599ed1f75a522c863d2afc8cd03.tar.bz2
Make insert_breakpoints return void.
* breakpoint.h (insert_breakpoints): Change return type to void. * breakpoint.c (insert_breakpoints): Change return type to void. Rename local return_val variable to error. * infrun.c (keep_going): Instead of checking return value from insert_breakpoints, catch exception.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 4b84502..56b9a6e 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -717,7 +717,7 @@ extern void awatch_command_wrapper (char *, int);
extern void rwatch_command_wrapper (char *, int);
extern void tbreak_command (char *, int);
-extern int insert_breakpoints (void);
+extern void insert_breakpoints (void);
extern int remove_breakpoints (void);