aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2010-03-16 08:42:20 +0000
committerVladimir Prus <vladimir@codesourcery.com>2010-03-16 08:42:20 +0000
commit8cdf0e150657da2086efc67c83e04619139081b2 (patch)
tree4903f987393a768fc1aedd773226e5903af0783e /gdb/breakpoint.h
parent1aa37384696ad1fcec310e8d3c7955b0266f61d5 (diff)
downloadbinutils-8cdf0e150657da2086efc67c83e04619139081b2.zip
binutils-8cdf0e150657da2086efc67c83e04619139081b2.tar.gz
binutils-8cdf0e150657da2086efc67c83e04619139081b2.tar.bz2
Simplify MI breakpoint setting.
* breakpoint.c (break_command_really): Make nonstatic and rename to... (create_breakpoint): ...this. Rename prior function by this name to... (create_breakpoint_sal): ...this. (create_breakpoints): Rename to... (create_breakpoints_sal): ...this. (set_breakpoint): Remove. * breakpoint.h: Adjust to above changes. * mi/mi-cmd-break.c (mi_cmd_break_insert): Simplify.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 73e2223..438cc6a 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -792,12 +792,15 @@ extern void awatch_command_wrapper (char *, int);
extern void rwatch_command_wrapper (char *, int);
extern void tbreak_command (char *, int);
-extern void set_breakpoint (struct gdbarch *gdbarch,
- char *address, char *condition,
- int hardwareflag, int tempflag,
- int thread, int ignore_count,
- int pending,
- int enabled);
+extern int create_breakpoint (struct gdbarch *gdbarch, char *arg,
+ char *cond_string, int thread,
+ int parse_condition_and_thread,
+ int tempflag, int hardwareflag, int traceflag,
+ int ignore_count,
+ enum auto_boolean pending_break_support,
+ struct breakpoint_ops *ops,
+ int from_tty,
+ int enabled);
extern void insert_breakpoints (void);